Species.hpp
auto molarMass() const -> double
Return the molar mass of the species (in units of kg/mol).
Definition: Species.cpp:112
auto setName(std::string name) -> void
Set the name of the species.
Definition: Species.cpp:75
auto formula() const -> std::string
Return the formula of the species.
Definition: Species.cpp:102
auto setElements(const std::map< Element, double > &elements) -> void
Set the elements of the species.
Definition: Species.cpp:85
auto charge() const -> double
Return the electrical charge of the species.
Definition: Species.cpp:117
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto numElements() const -> unsigned
Return the number of elements of the species.
Definition: Species.cpp:92
auto name() const -> std::string
Return the name of the species.
Definition: Species.cpp:97
auto elementCoefficient(std::string element) const -> double
Return the stoichiometry of an element in the species.
Definition: Species.cpp:122
auto setFormula(std::string formula) -> void
Set the formula of the species.
Definition: Species.cpp:80
auto elements() const -> const std::map< Element, double > &
Return the elements that compose the species and their coefficients.
Definition: Species.cpp:107