Reaktoro
A unified framework for modeling chemically reactive systems
Core

This is the main module in Reaktoro, in which the essential classes are defined. More...

Classes

class  ChemicalState
 Provides a computational representation of the state of a multiphase chemical system. More...
 
class  ChemicalSystem
 A class to represent a system and its attributes and properties. More...
 
class  Connectivity
 A type to describe the connectivity of elements, species, and phases in a chemical system. More...
 
class  Partition
 Provide a computational representation of the Partition of a chemical system. More...
 
class  Phase
 A type used to define a phase and its attributes. More...
 
class  Reaction
 Provide a computational representation of a chemical reaction. More...
 
class  ReactionSystem
 A class that represents a system of chemical reactions. More...
 
class  Species
 A type used to describe a species and its attributes. More...
 
class  ChemicalEditor
 Provides convenient operations to initialize ChemicalSystem and ReactionSystem instances. More...
 
class  Database
 Provides operations to retrieve physical and thermodynamic data of chemical species. More...
 

Typedefs

using ReactionRateFunction = std::function< ChemicalScalar(const ChemicalProperties &)>
 The function signature of the rate of a reaction (in units of mol/s). More...
 
using ReactionRateVectorFunction = std::function< ChemicalVector(const ChemicalProperties &)>
 The function signature of the rates of a collection of reactions (in units of mol/s). More...
 

Detailed Description

This is the main module in Reaktoro, in which the essential classes are defined.

Typedef Documentation

◆ ReactionRateFunction

using ReactionRateFunction = std::function<ChemicalScalar(const ChemicalProperties&)>

The function signature of the rate of a reaction (in units of mol/s).

Parameters
propertiesThe thermodynamic properties of the chemical system at (T, P, n)
Returns
The rate of the reaction and its partial derivatives (in units of mol/s)
See also
Reaction

◆ ReactionRateVectorFunction

The function signature of the rates of a collection of reactions (in units of mol/s).

Parameters
propertiesThe thermodynamic properties of the chemical system at (T, P, n)
See also
Reaction