0ef3b1a195ef7c50813d86eec7dc369356b41be2
The composition object is now a specialization of the abstract base CompositionAbstract. This interface enforces getters but not setters (those are left up to children). The intention here is that other code can specialize particular getters for cases where special handling (like unrestricted amounts of one species) are required.
libcomposition
libcomposition is the chemistry tracking tool used by SERiF and related products.
This has been broken out of the main serif project to allow for more modularity
Building
In order to build libconstants you need meson>=1.5.0. This can be installed with pip
pip install "meson>=1.5.0"
Then from the root libcomposition directory it is as simple as
meson setup build --buildtype=release
meson compile -C build
meson test -C build
this will auto generate a pkg-config file for you so that linking other libraries to libcomposition is easy.
Description
Languages
C++
97.8%
Python
1.3%
Meson
0.9%