antioch-0.4.0
|
Class to encapsulate data relevant for transport for each chemical species. More...
#include <transport_species.h>
Public Member Functions | |
TransportSpecies (const Species name, const CoeffType LJ_depth, const CoeffType LJ_diameter, const CoeffType dipole_moment, const CoeffType polarizability, const CoeffType rot_relax, const CoeffType mass) | |
Constructor. More... | |
TransportSpecies () | |
Default constructor. More... | |
~TransportSpecies () | |
Destructor. More... | |
Species | species () const |
returns a descriptive name for this species. More... | |
CoeffType | LJ_depth () const |
returns the Lennard-Jones depth in (K), this is . More... | |
CoeffType | LJ_diameter () const |
returns the Lennard-Jones diameter in (Angström). More... | |
LennardJonesPotential < CoeffType > & | LJ () const |
return Lennard-Jones potential More... | |
CoeffType | dipole_moment () const |
returns dipole moment in units of [D] More... | |
CoeffType | polarizability () const |
Returns polarizability in units of [Angström^3]. More... | |
CoeffType | rotational_relaxation () const |
Returns rotational relaxation collision number at 298 K, no unit. More... | |
CoeffType | M () const |
Returns molecular mass in kg. More... | |
bool | polar () const |
boolean testing polarity More... | |
void | print (std::ostream &os=std::cout) const |
Formatted print. More... | |
Protected Attributes | |
const Species | _name |
chemical species More... | |
LennardJonesPotential< CoeffType > | _LJ |
Lennard-Jones potential. More... | |
CoeffType | _dipole_moment |
Dipole moment in units of [D]. More... | |
CoeffType | _polarizability |
Polarizability in units of [Angström^3]. More... | |
CoeffType | _rotational_relaxation |
Rotational relaxation. More... | |
CoeffType | _mass |
molar mass in kg/mol More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TransportSpecies< CoeffType > &species) |
Formatted print. More... | |
Class to encapsulate data relevant for transport for each chemical species.
This class is designed to store information relevant to the transport of a chemical species. All the data stored is constant for each species, so we store const for each variable. The idea is that this will be placed inside TransportMixture, which will be a singleton, dependant of ChemicalMixture.
Definition at line 58 of file transport_species.h.
|
inline |
Constructor.
Definition at line 207 of file transport_species.h.
|
inline |
Default constructor.
This is technically required for any std::map value type (or operator[] breaks, at least). But, we never actually want to create a SpeciesChemistry implicitly, so we throw an error if this is ever used.
Definition at line 227 of file transport_species.h.
References antioch_error.
|
inline |
|
inline |
returns dipole moment in units of [D]
Definition at line 180 of file transport_species.h.
|
inline |
return Lennard-Jones potential
Definition at line 173 of file transport_species.h.
|
inline |
returns the Lennard-Jones depth in (K), this is .
Definition at line 163 of file transport_species.h.
|
inline |
returns the Lennard-Jones diameter in (Angström).
Definition at line 168 of file transport_species.h.
|
inline |
Returns molecular mass in kg.
Definition at line 195 of file transport_species.h.
|
inline |
boolean testing polarity
Definition at line 200 of file transport_species.h.
|
inline |
Returns polarizability in units of [Angström^3].
Definition at line 185 of file transport_species.h.
|
inline |
Formatted print.
Defaults to std::cout
.
Definition at line 248 of file transport_species.h.
|
inline |
Returns rotational relaxation collision number at 298 K, no unit.
Definition at line 190 of file transport_species.h.
|
inline |
returns a descriptive name for this species.
Definition at line 158 of file transport_species.h.
|
friend |
Formatted print.
Allows you to do std::cout << object << std::endl;
Definition at line 120 of file transport_species.h.
|
protected |
Dipole moment in units of [D].
Definition at line 136 of file transport_species.h.
|
protected |
Lennard-Jones potential.
Definition at line 133 of file transport_species.h.
|
protected |
molar mass in kg/mol
Definition at line 145 of file transport_species.h.
|
protected |
chemical species
Definition at line 130 of file transport_species.h.
|
protected |
Polarizability in units of [Angström^3].
Definition at line 139 of file transport_species.h.
|
protected |
Rotational relaxation.
Definition at line 142 of file transport_species.h.