Repository navigation
v0.11.0 #412
prehner
announced in
Announcements
v0.11.0
#412
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Added
PoreSpecificationenum to specify the state of the fluid in the pore (currently chemical potential or moles). #371GridandPoreProfileclasses as entry points to DFT in various coordinate systems in Python. #376PoreProfile.solver_lognow stores a timing profile of the different solver steps. #385Interface::curvedto calculate cylindrical and spherical interfaces from a planar interface. #387drho_dnanddrho_dt_nto DFT profiles to calculate derivatives of density profiles at constant number of particles. #403AssociationVersion(default iSAFT). #403non_bonded_fractionsto DFT profiles to access the fractions of non-bonded association sites. #403experimental-inspectfeature topy-feos, which embeds introspection data for automatic type stub generation (e.g. viapyo3-introspectionormaturin generate-stubs). #410ThreePhaseEquilibriumclass (returned byPhaseEquilibrium.heteroazeotrope) from the Python module. #410Changed
ResidualDyn::for_each_contributionandResidual::for_each_contribution, which pass each Helmholtz energy contribution to a closure, are now the only methods a model has to implement to evaluate the Helmholtz energy.Residual::reduced_residual_helmholtz_energy_densityandResidual::reduced_helmholtz_energy_density_contributionsare provided methods built on top of it, and both methods were removed fromResidualDyn. #397HelmholtzEnergyFunctional::evaluate_bulkpasses each contribution to a closure instead of returning aVec. #397MonomerShape::NonSphericalholds a reference&DVector<f64>to the segment numbers instead of an ownedDVector<D>. #397StateHD::new_densitytakes the partial densities by value. #397TemperatureOrPressure::Other) fromDtof64. #369Adsorption1DandAdsorption3Dclasses in Python intoAdsorptionusing dynamically dimensioned arrays. #376rayonfeature is activated (default for the released Python wheels), the evaluation of the helmholtz energy density and its derivatives will now be run in parallel. The number of CPUs can be set via the global rayon threadpool (see changelog for0.9.5) #385PlanarInterfacetoInterfaceand its constructorsfrom_tanhandfrom_pdgttoplanar_from_tanhandplanar_from_pdgt. #387PlanarInterface.from_density_profilein Python with theInterface(grid, vle, density)constructor in analogy toPoreProfile. #387drho_dp,dn_dp,drho_dt, anddn_dtof DFT profiles now take the bulk state as an argument (methods instead of properties in Python). #387drho_dtanddn_dtof DFT profiles todrho_dt_panddn_dt_p(derivatives at constant pressure and bulk composition). #403logargument ofDFTSolver.newtonis removed. Jacobian-vector products are calculated exactly from the linearized residual, and the step size is controlled by a line search. #403Verbosity::NonetoVerbosity::Silent(Verbosity.NonetoVerbosity.Silentin Python), becauseNoneis not a valid attribute name in Python syntax or type stubs, and is easily confused withOption::Nonein Rust. #410text_signatures, which were partly outdated, in favor of the signatures generated by PyO3. #410State.critical_point_binaryraises aValueErrorinstead of aRuntimeErroriftemperature_or_pressurehas the wrong units, consistent with all other functions that accept a temperature or a pressure. #410Removed
DFTSpecificationtrait in favor of only using theDFTSpecificationenum (renamed fromDFTSpecifications). #371Pore2DandPore3Dinterfaces including the (limited) calculation of external potentials for complex pore grometries. #376Interface::planar_from_pdgt. Interfaces are initialized withInterface::planar_from_tanh. #403YuWuAssociationFunctional). Association in DFT is now handled bySaftAssociationFunctionalwith the fractions of non-bonded sites as additional variables. #403Fixed
Packaging
gauss-quaddependency which was only used in the FEA potential calculation. #376pyo3,pythonizeandnumpydependencies to 0.30. #410quantityandnum-dualdependencies to 0.16. #380, #410convdependency ofpy-feos. #411csvan optional dependency offeos-corethat is only activated with thendarrayfeature (required for thead::datasetmodule). #411rusqlitedependency to 0.43. #411This discussion was created from the release v0.11.0.
All reactions