Writes scalar fields corresponding to each component of the supplied field (name) for each time. More...
#include <foamCalcFunctions/components.H>
Writes scalar fields corresponding to each component of the supplied field (name) for each time.
Definition at line 53 of file components.H.
Public Member Functions | |
TypeName ("components") | |
Runtime type information. | |
components () | |
Construct null. | |
virtual | ~components () |
![]() | |
TypeName ("calcType") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, calcType, dictionary,(),()) | |
calcType () | |
Construct null. | |
virtual | ~calcType () |
void | tryInit () |
Initialise - typically setting static variables,. | |
void | tryPreCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Pre-time loop calculations. | |
void | tryCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Time loop calculations. | |
void | tryPostCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Post-time loop calculations. |
Protected Member Functions | |
virtual void | init () |
Initialise - typically setting static variables,. | |
virtual void | preCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Pre-time loop calculations. | |
virtual void | calc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Time loop calculations. | |
template<class Type > | |
void | writeComponentFields (const IOobject &header, const fvMesh &mesh, bool &processed) |
Write component fields. | |
![]() | |
virtual void | postCalc (const argList &args, const Time &runTime, const fvMesh &mesh) |
Post-time loop calculations. |
Additional Inherited Members | |
![]() | |
static autoPtr< calcType > | New (const word &calcTypeName) |
components | ( | ) |
Construct null.
Definition at line 43 of file components.C.
|
virtual |
Definition at line 51 of file components.C.
|
protectedvirtual |
Initialise - typically setting static variables,.
e.g. command line arguments
Reimplemented from calcType.
Definition at line 57 of file components.C.
References LList< LListBase, T >::append(), and argList::validArgs.
Pre-time loop calculations.
Reimplemented from calcType.
Definition at line 65 of file components.C.
Time loop calculations.
Reimplemented from calcType.
Definition at line 74 of file components.C.
References argList::additionalArgs(), Foam::endl(), Foam::exit(), Foam::FatalError, Foam::Info, mesh, IOobject::MUST_READ, Foam::nl, and Time::timeName().
|
protected |
Write component fields.
Definition at line 28 of file writeComponentFields.C.
References Foam::endl(), IOobject::headerClassName(), Foam::Info, mesh, IOobject::name(), fvMesh::time(), Time::timeName(), and regIOobject::write().
TypeName | ( | "components" | ) |
Runtime type information.