FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

TimeActivatedExplicitSourceList< Type > Class Template Reference

List of time activeted explict sources. More...

#include <finiteVolume/TimeActivatedExplicitSourceList.H>


Detailed Description

template<class Type>
class Foam::TimeActivatedExplicitSourceList< Type >

List of time activeted explict sources.

Source files

Definition at line 69 of file TimeActivatedExplicitSourceList.H.

Inheritance diagram for TimeActivatedExplicitSourceList< Type >:
Collaboration diagram for TimeActivatedExplicitSourceList< Type >:

List of all members.

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.

Constructor & Destructor Documentation

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.


Member Function Documentation

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().

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.


Friends And Related Function Documentation

Ostream& operator ( Ostream &   os,
const TimeActivatedExplicitSourceList< Type > &   sources  
) [friend]

Ostream operator.


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