List of explict sources. More...
#include <finiteVolume/basicSourceList.H>
List of explict sources.
SourceFile basicSourceList.C
Definition at line 51 of file basicSourceList.H.
Public Member Functions | |
basicSourceList (const fvMesh &mesh, const dictionary &dict) | |
Construct from components with list of field names.
| |
virtual | ~basicSourceList () |
Destructor.
| |
void | addExplicitSources () |
Add all explicit sources.
| |
void | addSu (DimensionedField< scalar, volMesh > &field) |
Add source to scalar field.
| |
void | addSu (DimensionedField< vector, volMesh > &field) |
Add source to vector field.
| |
void | addSu (fvMatrix< scalar > &Eq) |
Add source terms to scalar fvMatrix.
| |
void | addSu (fvMatrix< vector > &Eq) |
Add source terms to vector fvMatrix.
| |
virtual bool | read (const dictionary &dict) |
Read dictionary.
| |
virtual bool | writeData (Ostream &os) const |
Write data to Istream.
| |
Friends | |
Ostream & | operator<< (Ostream &os, const basicSourceList &sources) |
Ostream operator.
|
basicSourceList | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from components with list of field names.
Definition at line 31 of file basicSourceList.C.
References forAllConstIter, name(), and setSize().
virtual ~basicSourceList | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 81 of file basicSourceList.H.
void addExplicitSources | ( | ) |
void addSu | ( | DimensionedField< scalar, volMesh > & | field ) |
void addSu | ( | DimensionedField< vector, volMesh > & | field ) |
void addSu | ( | fvMatrix< scalar > & | Eq ) |
Add source terms to scalar fvMatrix.
Definition at line 68 of file basicSourceList.C.
References basicSource::addSu(), forAll, and PtrList< basicSource >::operator[]().
Add source terms to vector fvMatrix.
Definition at line 80 of file basicSourceList.C.
References forAll.
bool read | ( | const dictionary & | dict ) | [virtual]
|
bool writeData | ( | Ostream & | os ) | const [virtual]
|
Write data to Istream.
Definition at line 146 of file basicSourceList.C.
References token::BEGIN_LIST, token::END_LIST, token::END_STATEMENT, forAll, IOstream::good(), and Foam::nl.
Ostream& operator<< | ( | Ostream & | os, |
const basicSourceList & | sources | ||
) | [friend]
|
Ostream operator.