Reaktoro  v2.6.0 A unified framework for modeling chemically reactive systems
ChemicalPropsPhaseBaseData< TypeOp > Struct Template Reference

The base type for primary chemical property data of a phase from which others are computed. More...

#include <ChemicalPropsPhase.hpp>

## Public Member Functions

template<template< typename > typename OtherTypeOp>
auto operator= (const ChemicalPropsPhaseBaseData< OtherTypeOp > &other)
Assign a ChemicalPropsPhaseBaseData object to this.

template<template< typename > typename OtherTypeOp>
operator ChemicalPropsPhaseBaseData< OtherTypeOp > ()
Convert this ChemicalPropsPhaseBaseData object into another.

template<template< typename > typename OtherTypeOp>
operator ChemicalPropsPhaseBaseData< OtherTypeOp > () const
Convert this ChemicalPropsPhaseBaseData object into another.

auto operator= (const ArrayStream< real > &array)
Assign the given array data to this ChemicalPropsPhaseBaseData object.

operator ArrayStream< real > () const
Convert this ChemicalPropsPhaseBaseData object into an array.

## Public Attributes

TypeOp< realT
The temperature of the phase (in K).

TypeOp< realP
The pressure of the phase (in Pa).

TypeOp< ArrayXrn
The amounts of each species in the phase (in mol).

TypeOp< realnsum
The amount of the phase as the sum of species amounts (in mol).

TypeOp< realmsum
The mass of the phase as the sum of species masses (in kg).

TypeOp< ArrayXrx
The mole fractions of the species in the phase (in mol/mol).

TypeOp< ArrayXrG0
The standard molar Gibbs energies of formation of the species in the phase (in J/mol)

TypeOp< ArrayXrH0
The standard molar enthalpies of formation of the species in the phase (in J/mol)

TypeOp< ArrayXrV0
The standard molar volumes of the species in the phase (in m³/mol)

TypeOp< ArrayXrVT0
The temperature derivative of the standard molar volumes of the species in the phase (in m³/(mol·K)).

TypeOp< ArrayXrVP0
The pressure derivative of the standard molar volumes of the species in the phase (in m³/(mol·Pa)).

TypeOp< ArrayXrCp0
The standard molar isobaric heat capacities of the species in the phase (in J/(mol·K))

TypeOp< realVx
The corrective molar volume of the phase (in m³/mol).

TypeOp< realVxT
The temperature derivative of the corrective molar volume at constant pressure (in m³/(mol·K)).

TypeOp< realVxP
The pressure derivative of the corrective molar volume at constant temperature (in m³/(mol·Pa)).

TypeOp< realGx
The corrective molar Gibbs energy of the phase (in units of J/mol).

TypeOp< realHx
The corrective molar enthalpy of the phase (in units of J/mol).

TypeOp< realCpx
The corrective molar isobaric heat capacity of the phase (in units of J/(mol·K)).

TypeOp< ArrayXrln_g
The activity coefficients (natural log) of the species in the phase.

TypeOp< ArrayXrln_a
The activities (natural log) of the species in the phase.

TypeOp< ArrayXru
The chemical potentials of the species in the phase.

TypeOp< StateOfMattersom
The state of matter of the phase.

## Detailed Description

### template<template< typename > typename TypeOp> struct Reaktoro::ChemicalPropsPhaseBaseData< TypeOp >

The base type for primary chemical property data of a phase from which others are computed.

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