6 releases (breaking)
0.5.0 | May 21, 2024 |
---|---|
0.4.0 | Dec 19, 2023 |
0.3.0 | Oct 20, 2023 |
0.2.0 | Jan 27, 2023 |
0.1.0 | Sep 14, 2022 |
#10 in #thermodynamics
414 downloads per month
Used in 2 crates
(via feos)
32KB
829 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
~36K SLoC