Database.hpp
161 auto aqueousSpeciesWithElements(const std::vector<std::string>& elements) const -> std::vector<AqueousSpecies>;
164 auto gaseousSpeciesWithElements(const std::vector<std::string>& elements) const -> std::vector<GaseousSpecies>;
167 auto liquidSpeciesWithElements(const std::vector<std::string>& elements) const->std::vector<LiquidSpecies>;
170 auto mineralSpeciesWithElements(const std::vector<std::string>& elements) const -> std::vector<MineralSpecies>;
auto containsLiquidSpecies(std::string species) const -> bool
Check if the database contains a given liquid species.
Definition: Database.cpp:995
Provides operations to retrieve physical and thermodynamic data of chemical species.
Definition: Database.hpp:78
auto mineralSpecies() -> std::vector< MineralSpecies >
Return all mineral species in the database.
Definition: Database.cpp:975
auto containsMineralSpecies(std::string species) const -> bool
Check if the database contains a given mineral species.
Definition: Database.cpp:1000
A type to describe the attributes of a mineral species.
Definition: MineralSpecies.hpp:28
auto containsGaseousSpecies(std::string species) const -> bool
Check if the database contains a given gaseous species.
Definition: Database.cpp:990
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
Database()
Construct a default Database instance.
Definition: Database.cpp:903
auto addAqueousSpecies(const AqueousSpecies &species) -> void
Add an AqueousSpecies instance in the database.
Definition: Database.cpp:920
auto addMineralSpecies(const MineralSpecies &species) -> void
Add a MineralSpecies instance in the database.
Definition: Database.cpp:935
auto addLiquidSpecies(const LiquidSpecies &species) -> void
Add a LiquidSpecies instance in the database.
Definition: Database.cpp:930
auto addElement(const Element &element) -> void
Add an Element instance in the database.
Definition: Database.cpp:915
auto aqueousSpeciesWithElements(const std::vector< std::string > &elements) const -> std::vector< AqueousSpecies >
Return the aqueous species that contains at least one of the specified elements.
Definition: Database.cpp:1005
auto addGaseousSpecies(const GaseousSpecies &species) -> void
Add a GaseousSpecies instance in the database.
Definition: Database.cpp:925
A type used to define a chemical element and its attributes.
Definition: Element.hpp:28
auto gaseousSpeciesWithElements(const std::vector< std::string > &elements) const -> std::vector< GaseousSpecies >
Return the gaseous species that contains at least one of the specified elements.
Definition: Database.cpp:1010
auto gaseousSpecies() -> std::vector< GaseousSpecies >
Return all gaseous species in the database.
Definition: Database.cpp:955
auto containsAqueousSpecies(std::string species) const -> bool
Check if the database contains a given aqueous species.
Definition: Database.cpp:985
auto liquidSpecies() -> std::vector< LiquidSpecies >
Return all liquid species in the database.
Definition: Database.cpp:965
auto liquidSpeciesWithElements(const std::vector< std::string > &elements) const -> std::vector< LiquidSpecies >
Return the liquid species that contains at least one of the specified elements.
Definition: Database.cpp:1015
auto elements() const -> std::vector< Element >
Return all elements in the database.
Definition: Database.cpp:940
A type to describe the attributes of a fluids (gaseous or liquid) species.
Definition: FluidSpecies.hpp:31
auto aqueousSpecies() -> std::vector< AqueousSpecies >
Return all aqueous species in the database.
Definition: Database.cpp:945
auto mineralSpeciesWithElements(const std::vector< std::string > &elements) const -> std::vector< MineralSpecies >
Return the mineral species that contains at least one of the specified elements.
Definition: Database.cpp:1020