MineralCatalyst Struct Reference
Collaboration diagram for MineralCatalyst:
Public Member Functions | |
MineralCatalyst () | |
Construct a default MineralCatalyst instance. | |
MineralCatalyst (std::string species, std::string quantity, double power) | |
Construct a MineralCatalyst instance The options for the chemical quantities are: More... | |
MineralCatalyst (std::string catalyst) | |
Construct a MineralCatalyst instance This constructor offers a convenient way to create a MineralCatalyst instance from a string. More... | |
Public Attributes | |
std::string | species |
The name of the species that participates as a catalyst in the mineral reaction. | |
std::string | quantity = "activity" |
The name of the chemical quantity that acts as a catalyser in the mineral reaction. | |
double | power = 0.0 |
The power of the quantity that affects the rate of mineral reaction. | |
Constructor & Destructor Documentation
◆ MineralCatalyst() [1/2]
MineralCatalyst | ( | std::string | species, |
std::string | quantity, | ||
double | power | ||
) |
Construct a MineralCatalyst instance The options for the chemical quantities are:
"a"
or"activity"
for activity of a species;"p"
or"pressure"
for partial pressure of a gaseous species.- Parameters
-
species The name of the species that participates as a catalyst in the mineral reaction quantity The name of the chemical quantity that acts as a catalyser in the mineral reaction power The power of the quantity that affects the rate of mineral reaction
◆ MineralCatalyst() [2/2]
MineralCatalyst | ( | std::string | catalyst | ) |
Construct a MineralCatalyst instance This constructor offers a convenient way to create a MineralCatalyst instance from a string.
For example, in the code bellow, catalyst1
and catalyst2
are equivalent to catalyst3
and catalyst4
respectively:
- Parameters
-
catalyst The catalyst definition as a string
The documentation for this struct was generated from the following files:
- Reaktoro/Thermodynamics/Reactions/MineralCatalyst.hpp
- Reaktoro/Thermodynamics/Reactions/MineralCatalyst.cpp
MineralCatalyst()
Construct a default MineralCatalyst instance.
Definition: MineralCatalyst.cpp:48