Reaktoro
A unified framework for modeling chemically reactive systems
MineralCatalyst Struct Reference
Collaboration diagram for MineralCatalyst:
[legend]

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
    speciesThe name of the species that participates as a catalyst in the mineral reaction
    quantityThe name of the chemical quantity that acts as a catalyser in the mineral reaction
    powerThe 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:

MineralCatalyst catalyst1("a[H+]=1.0"); // "activity[H+]=1.0" is also allowed
MineralCatalyst catalyst2("p[CO2(g)]=1.5"); // "pressure[CO2(g)]=1.0" is also allowed
MineralCatalyst catalyst3("H+", "a", 1.0);
MineralCatalyst catalyst4("CO2(g)", "p", 1.0);
Parameters
catalystThe 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