List of time activeted explict sources. More...
#include <finiteVolume/TimeActivatedExplicitSourceList.H>
List of time activeted explict sources.
Definition at line 69 of file TimeActivatedExplicitSourceList.H.
Public Member Functions | |
TimeActivatedExplicitSourceList (const word &name, const fvMesh &mesh, const dimensionSet &dimensions, const wordList &fieldNames) | |
Construct from components with list of field names.
| |
TimeActivatedExplicitSourceList (const word &name, const fvMesh &mesh, const dimensionSet &dimensions, const word &fieldName) | |
Construct from components with single field name.
| |
tmp< DimensionedField< Type, volMesh > > | Su (const label fieldI=0) |
Return the source for field, fieldI.
| |
tmp< DimensionedField< Type, volMesh > > | SuTot () |
Return the total source for all fields.
| |
bool | readData (Istream &is) |
Read data from Istream.
| |
bool | writeData (Ostream &os) const |
Write data to Istream.
| |
Friends | |
Ostream & | operator (Ostream &os, const TimeActivatedExplicitSourceList &sources) |
Ostream operator.
|
TimeActivatedExplicitSourceList | ( | const word & | name, |
const fvMesh & | mesh, | ||
const dimensionSet & | dimensions, | ||
const wordList & | fieldNames | ||
) |
Construct from components with list of field names.
Definition at line 32 of file TimeActivatedExplicitSourceList.C.
TimeActivatedExplicitSourceList | ( | const word & | name, |
const fvMesh & | mesh, | ||
const dimensionSet & | dimensions, | ||
const word & | fieldName | ||
) |
Construct from components with single field name.
Definition at line 60 of file TimeActivatedExplicitSourceList.C.
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > Su | ( | const label | fieldI = 0
) |
Return the source for field, fieldI.
Definition at line 94 of file TimeActivatedExplicitSourceList.C.
References forAll, and Foam::fvc::Su().
Foam::tmp< Foam::DimensionedField< Type, Foam::volMesh > > SuTot | ( | ) |
Return the total source for all fields.
Definition at line 126 of file TimeActivatedExplicitSourceList.C.
References forAll.
bool readData | ( | Istream & | is ) | [virtual]
|
Read data from Istream.
Reimplemented from regIOobject.
Definition at line 160 of file TimeActivatedExplicitSourceList.C.
References clear(), and IOstream::good().
bool writeData | ( | Ostream & | os ) | const [virtual]
|
Write data to Istream.
Reimplemented from IOPtrList< TimeActivatedExplicitSource< Type > >.
Definition at line 185 of file TimeActivatedExplicitSourceList.C.
References forAll, IOstream::good(), and Foam::nl.
Ostream& operator | ( | Ostream & | os, |
const TimeActivatedExplicitSourceList< Type > & | sources | ||
) | [friend]
|
Ostream operator.