5 releases (3 breaking)
0.4.0 | Dec 19, 2023 |
---|---|
0.3.0 | Oct 20, 2023 |
0.2.0 | Jan 27, 2023 |
0.1.1 | Oct 13, 2022 |
0.1.0 | Sep 14, 2022 |
#6 in #phase-equilibria
43 downloads per month
Used in 2 crates
(via feos)
27KB
695 lines
FeOs-derive
feos-derive
is part of the FeOs project.
FeOs - A Framework for Equations of State and Classical Density Functional Theory
What it does
The feos-derive
crate contains two macros that provide boilerplate for the implementation of the EquationOfState
and the HelmholtzEnergyFunctional
trait for the EosVariant
and FunctionalVariant
enums of the feos
crate. With these macros, new equations of state and functionals can be added to the variants without any further implementations needed.
lib.rs
:
This crate provides derive macros used for the EosVariant and FunctionalVariant enums in FeOs. The macros implement the boilerplate for the EquationOfState and HelmholtzEnergyFunctional traits.
Dependencies
~1.5MB
~34K SLoC