18 std::optional<BaseLib::ConfigTree>
const& config,
MeshLib::Mesh& mesh)
25 std::vector<KineticReactant> kinetic_reactants;
27 auto const& reactant_config :
29 config->getConfigSubtreeList(
"kinetic_reactant"))
32 auto name = reactant_config.getConfigParameter<std::string>(
"name");
34 auto chemical_formula =
36 reactant_config.getConfigParameter<std::string>(
"chemical_formula",
41 reactant_config.getConfigParameter<std::vector<double>>(
44 bool const fix_amount =
46 reactant_config.getConfigParameter<
bool>(
"fix_amount",
false);
59 "phi_" + name +
"_prev",
67 kinetic_reactants.emplace_back(std::move(name),
68 std::move(chemical_formula),
74 std::move(parameters),
78 return kinetic_reactants;