specieElement Class Reference

Public Member Functions

 specieElement ()
 Default construct. More...
 
 specieElement (const word &name, const label nAtoms)
 Construct from components. More...
 
 specieElement (Istream &is)
 Construct from Istream. More...
 
const wordname () const
 Return the name of the element. More...
 
wordname ()
 Return non-const access to the name of the element. More...
 
label nAtoms () const
 Return the number of atoms of this element in the specie. More...
 
label & nAtoms ()
 Return non-const access to the number of atoms of this element. More...
 
bool operator== (const specieElement &) const
 Equality comparison. More...
 
bool operator!= (const specieElement &) const
 Inequality comparison. More...
 

Friends

Ostreamoperator<< (Ostream &, const specieElement &)
 

Detailed Description

Source files

Definition at line 55 of file specieElement.H.

Constructor & Destructor Documentation

◆ specieElement() [1/3]

specieElement ( )
inline

Default construct.

Definition at line 33 of file specieElementI.H.

◆ specieElement() [2/3]

specieElement ( const word name,
const label  nAtoms 
)
inline

Construct from components.

Definition at line 40 of file specieElementI.H.

◆ specieElement() [3/3]

specieElement ( Istream is)
inlineexplicit

Construct from Istream.

Definition at line 47 of file specieElementI.H.

Member Function Documentation

◆ name() [1/2]

const Foam::word & name ( ) const
inline

Return the name of the element.

Definition at line 56 of file specieElementI.H.

Referenced by DAC< CompType, ThermoType >::DAC(), EFA< CompType, ThermoType >::EFA(), and Foam::operator<<().

Here is the caller graph for this function:

◆ name() [2/2]

Foam::word & name ( )
inline

Return non-const access to the name of the element.

Definition at line 62 of file specieElementI.H.

◆ nAtoms() [1/2]

Foam::label nAtoms ( ) const
inline

Return the number of atoms of this element in the specie.

Definition at line 68 of file specieElementI.H.

Referenced by DAC< CompType, ThermoType >::DAC(), EFA< CompType, ThermoType >::EFA(), and Foam::operator<<().

Here is the caller graph for this function:

◆ nAtoms() [2/2]

Foam::label & nAtoms ( )
inline

Return non-const access to the number of atoms of this element.

in the specie

Definition at line 74 of file specieElementI.H.

◆ operator==()

bool operator== ( const specieElement se) const
inline

Equality comparison.

Definition at line 82 of file specieElementI.H.

◆ operator!=()

bool operator!= ( const specieElement se) const
inline

Inequality comparison.

Definition at line 92 of file specieElementI.H.

References Foam::operator==().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const specieElement  
)
friend

The documentation for this class was generated from the following files: