Reaktoro  A unified framework for modeling chemically reactive systems
Reaktoro::GaseousSpecies Class Reference

## Detailed Description

A type to describe the attributes of a gaseous species.

#include <GaseousSpecies.hpp>

Inheritance diagram for Reaktoro::GaseousSpecies:
Collaboration diagram for Reaktoro::GaseousSpecies:

## Public Member Functions

GaseousSpecies ()
Construct a default GaseousSpecies instance.

GaseousSpecies (const Species &species)
Construct an GaseousSpecies instance from a Species instance.

auto setCriticalTemperature (double val) -> void
Set the critical temperature of the gaseous species (in units of K)

auto setCriticalPressure (double val) -> void
Set the critical pressure of the gaseous species (in units of Pa)

auto setAcentricFactor (double val) -> void
Set the acentric factor of the gaseous species.

auto setThermoData (const GaseousSpeciesThermoData &thermo) -> void
Set the thermodynamic data of the gaseous species.

auto criticalTemperature () const -> double
Return the critical temperature of the gaseous species (in units of K)

auto criticalPressure () const -> double
Return the critical pressure of the gaseous species (in units of Pa)

auto acentricFactor () const -> double
Return the acentric factor of the gaseous species.

auto thermoData () const -> const GaseousSpeciesThermoData &
Return the thermodynamic data of the gaseous species.

Public Member Functions inherited from Reaktoro::Species
Species ()
Construct a default Species instance.

auto setName (std::string name) -> void
Set the name of the species.

auto setFormula (std::string formula) -> void
Set the formula of the species.

auto setElements (const std::map< Element, double > &elements) -> void
Set the elements of the species.

auto numElements () const -> unsigned
Return the number of elements of the species.

auto name () const -> std::string
Return the name of the species.

auto formula () const -> std::string
Return the formula of the species.

auto elements () const -> const std::map< Element, double > &
Return the elements that compose the species and their coefficients.

auto molarMass () const -> double
Return the molar mass of the species (in units of kg/mol).

auto charge () const -> double
Return the electrical charge of the species.

auto elementCoefficient (std::string element) const -> double
Return the stoichiometry of an element in the species.

The documentation for this class was generated from the following files:
• Reaktoro/Thermodynamics/Species/GaseousSpecies.hpp
• Reaktoro/Thermodynamics/Species/GaseousSpecies.cpp