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

#include <system.h>

Collaboration diagram for chemmisol::ComponentReagent:
Collaboration graph
[legend]

Public Member Functions

 ComponentReagent (double coefficient, ChemicalComponent *component)
 

Public Attributes

double coefficient
 
ChemicalComponentcomponent
 

Detailed Description

Compiled reagent corresponding to a ChemicalComponent.

The ComponentReagent is bound to a concrete ChemicalComponent instance within a ChemicalSystem.

Constructor & Destructor Documentation

◆ ComponentReagent()

chemmisol::ComponentReagent::ComponentReagent ( double  coefficient,
ChemicalComponent component 
)
inline

Defines a ComponentReagent.

Parameters
coefficientStoichiometric coefficient
componentAssociated component

Member Data Documentation

◆ coefficient

double chemmisol::ComponentReagent::coefficient

Stoichiometric coefficient associated to the reagent in the reaction.

◆ component

ChemicalComponent* chemmisol::ComponentReagent::component

Component associated to this reagent within a ChemicalSystem.


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