OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

speciesTable Class Reference

Inheritance diagram for speciesTable:

Inheritance graph
[legend]
Collaboration diagram for speciesTable:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 58 of file speciesTable.H.


Public Member Functions

 speciesTable (const wordList &specieNames)
 Construct from list of specie names.
 speciesTable (const label nSpecies, const char **specieNames)
 Construct from number of species and list of specie names.
 speciesTable (Istream &)
 Construct from Istream.
bool contains (const word &specieName) const
 Does the table contain the given specie.
const word & operator[] (const label) const
 Return a specie's name.
label operator[] (const word &) const
 Lookup a specie's name and return it's index.

Friends

Istream & operator>> (Istream &, speciesTable &)

Constructor & Destructor Documentation

speciesTable ( const wordList &  specieNames  ) 

Construct from list of specie names.

speciesTable ( const label  nSpecies,
const char **  specieNames 
)

Construct from number of species and list of specie names.

speciesTable ( Istream &   ) 

Construct from Istream.


Member Function Documentation

bool contains ( const word &  specieName  )  const [inline]

Does the table contain the given specie.

Definition at line 39 of file speciesTableI.H.

References UList::operator.

Referenced by combustionMixture::Y().

Here is the caller graph for this function:

const Foam::word & operator[] ( const   label  )  const [inline]

Return a specie's name.

Reimplemented from UList.

Definition at line 48 of file speciesTableI.H.

Foam::label operator[] ( const word &   )  const [inline]

Lookup a specie's name and return it's index.

Definition at line 56 of file speciesTableI.H.


Friends And Related Function Documentation

Istream& operator>> ( Istream &  ,
speciesTable &   
) [friend]


The documentation for this class was generated from the following files: Copyright © 2000-2007 OpenCFD Ltd