Utils.hxx
auto names(const NamedValues &values) -> std::vector< std::string >
Return the names of the entries in a container.
Definition: Utils.hxx:22
auto molarMasses(const SpeciesValues &species) -> Vector
Return the molar masses of all species in a list of species (in units of kg/mol)
Definition: Utils.hxx:41
auto molarMass(const std::map< std::string, double > &elements) -> double
Calculate the molar mass of a chemical compound (in units of kg/mol).
Definition: ElementUtils.cpp:184
auto charge(const std::string &formula) -> double
Extract the electrical charge of a chemical formula.
Definition: ElementUtils.cpp:197
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto charges(const ChargedValues &values) -> Vector
Return the electrical charges of all species in a list of species.