chemmisol 0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
chemmisol::Reagent Struct Reference

#include <reaction.h>

Public Member Functions

 Reagent (const std::string &name, Phase phase, double coefficient)
 
 Reagent (const std::string &name, double coefficient)
 

Public Attributes

std::string name
 
Phase phase
 
double coefficient
 

Detailed Description

Describes a reagent of a reaction.

Constructor & Destructor Documentation

◆ Reagent() [1/2]

chemmisol::Reagent::Reagent ( const std::string &  name,
Phase  phase,
double  coefficient 
)
inline

Defines a Reagent.

Parameters
nameName of the reagent.
phasePhase of the reagent.
coefficientStoichiometric coefficient associated to the reagent in the described reaction.

◆ Reagent() [2/2]

chemmisol::Reagent::Reagent ( const std::string &  name,
double  coefficient 
)
inline

Defines a Reagent.

The phase is set to AQUEOUS by default, or to SOLVENT if the reagent name is H2O.

Parameters
nameName of the reagent.
coefficientStoichiometric coefficient associated to the reagent in the described reaction.

Member Data Documentation

◆ name

std::string chemmisol::Reagent::name

Name of the reagent.

◆ phase

Phase chemmisol::Reagent::phase

Phase of the reagent.

◆ coefficient

double chemmisol::Reagent::coefficient

Stoichiometric coefficient associated to the reagent in the described reaction.


The documentation for this struct was generated from the following file: