|
|
|
GeometricField Class Template ReferenceInheritance diagram for GeometricField:![]() ![]() Detailed Descriptiontemplate<class Type, template< class > class PatchField, class GeoMesh>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| typedef GeoMesh::Mesh | Mesh |
| typedef GeoMesh::BoundaryMesh | BoundaryMesh |
| typedef DimensionedField< Type, GeoMesh > | DimensionedInternalField |
| typedef Field< Type > | InternalField |
| typedef PatchField< Type > | PatchFieldType |
| typedef Field< Type >::cmptType | cmptType |
| Component type. | |
Public Member Functions | |
| TypeName ("GeometricField") | |
| Runtime type information. | |
| GeometricField (const IOobject &, const Mesh &, const dimensionSet &, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
| Constructor given IOobject, mesh, dimensions and patch type. | |
| GeometricField (const IOobject &, const Mesh &, const dimensionSet &, const wordList &patchFieldTypes) | |
| Constructor given IOobject, mesh, dimensions and patch types. | |
| GeometricField (const IOobject &, const Mesh &, const dimensioned< Type > &, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
| Constructor given IOobject, mesh, dimensioned<Type> and patch type. | |
| GeometricField (const IOobject &, const Mesh &, const dimensioned< Type > &, const wordList &patchFieldTypes) | |
| Constructor given IOobject, mesh, dimensioned<Type> and patch types. | |
| GeometricField (const IOobject &, const Mesh &, const dimensionSet &, const Field< Type > &, const PtrList< PatchField< Type > > &) | |
| Constructor from components. | |
| GeometricField (const IOobject &, const Mesh &) | |
| Construct and read given IOobject. | |
| GeometricField (const IOobject &, const Mesh &, Istream &) | |
| Construct and read from given stream. | |
| GeometricField (const GeometricField< Type, PatchField, GeoMesh > &) | |
| Construct as copy. | |
| GeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &) | |
| Construct as copy resetting IO parameters. | |
| GeometricField (const word &newName, const GeometricField< Type, PatchField, GeoMesh > &) | |
| Construct as copy resetting name. | |
| GeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &, const word &patchFieldType) | |
| Construct as copy resetting IO parameters and patch type. | |
| GeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &, const wordList &patchFieldTypes) | |
| Construct as copy resetting IO parameters and boundary types. | |
| virtual | ~GeometricField () |
| DimensionedInternalField & | dimensionedInternalField () |
| Return dimensioned internal field. | |
| const DimensionedInternalField & | dimensionedInternalField () const |
| Return dimensioned internal field. | |
| InternalField & | internalField () |
| Return internal field. | |
| const InternalField & | internalField () const |
| Return internal field. | |
| GeometricBoundaryField & | boundaryField () |
| Return reference to GeometricBoundaryField. | |
| const GeometricBoundaryField & | boundaryField () const |
| Return reference to GeometricBoundaryField for const field. | |
| label | timeIndex () const |
| Return the time index of the field. | |
| label & | timeIndex () |
| Return the time index of the field. | |
| void | storeOldTimes () const |
| Store the old-time fields. | |
| void | storeOldTime () const |
| Store the old-time field. | |
| label | nOldTimes () const |
| Return the number of old time fields stored. | |
| const GeometricField< Type, PatchField, GeoMesh > & | oldTime () const |
| Return old time field. | |
| GeometricField< Type, PatchField, GeoMesh > & | oldTime () |
| Return non-const old time field. | |
| void | storePrevIter () const |
| Store the field as the previous iteration value. | |
| const GeometricField< Type, PatchField, GeoMesh > & | prevIter () const |
| Return previous iteration field. | |
| void | correctBoundaryConditions () |
| Correct boundary field. | |
| bool | needReference () const |
| Does the field need a reference level for solution. | |
| tmp< GeometricField< cmptType, PatchField, GeoMesh > > | component (const direction) const |
| Return a component of the field. | |
| bool | writeData (Ostream &) const |
| WriteData member function required by regIOobject. | |
| tmp< GeometricField< Type, PatchField, GeoMesh > > | T () const |
| Return transpose (only if it is a tensor field). | |
| void | relax (const scalar alpha) |
| Relax field (for steady-state solution). | |
| void | relax () |
| Relax field (for steady-state solution). | |
| void | negate () |
| Negate this field. | |
| void | replace (const direction, const GeometricField< cmptType, PatchField, GeoMesh > &) |
| void | replace (const direction, const dimensioned< cmptType > &) |
| void | max (const dimensioned< Type > &) |
| void | min (const dimensioned< Type > &) |
| void | max (const GeometricField< Type, PatchField, GeoMesh > &, const dimensioned< Type > &) |
| void | min (const GeometricField< Type, PatchField, GeoMesh > &, const dimensioned< Type > &) |
| void | scale (const GeometricField< Type, PatchField, GeoMesh > &, const GeometricField< Type, PatchField, GeoMesh > &) |
| void | scale (const GeometricField< Type, PatchField, GeoMesh > &, const dimensioned< Type > &) |
| void | operator= (const GeometricField< Type, PatchField, GeoMesh > &) |
| void | operator= (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
| void | operator= (const dimensioned< Type > &) |
| void | operator== (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
| void | operator== (const dimensioned< Type > &) |
| void | operator+= (const GeometricField< Type, PatchField, GeoMesh > &) |
| void | operator+= (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
| void | operator-= (const GeometricField< Type, PatchField, GeoMesh > &) |
| void | operator-= (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
| void | operator *= (const GeometricField< scalar, PatchField, GeoMesh > &) |
| void | operator *= (const tmp< GeometricField< scalar, PatchField, GeoMesh > > &) |
| void | operator/= (const GeometricField< scalar, PatchField, GeoMesh > &) |
| void | operator/= (const tmp< GeometricField< scalar, PatchField, GeoMesh > > &) |
| void | operator+= (const dimensioned< Type > &) |
| void | operator-= (const dimensioned< Type > &) |
| void | operator *= (const dimensioned< scalar > &) |
| void | operator/= (const dimensioned< scalar > &) |
| template<> | |
| tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
| Return a component field of the field. | |
| template<> | |
| void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &sf) |
Static Public Member Functions | |
| static GeometricField< Type, PatchField, GeoMesh > & | null () |
| Return a null geometric field. | |
Friends | |
| Ostream & | operator (Ostream &, const GeometricField< Type, PatchField, GeoMesh > &) |
| Ostream & | operator (Ostream &, const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
Classes | |
| class | GeometricBoundaryField |
| typedef GeoMesh::Mesh Mesh |
Reimplemented from DimensionedField.
Reimplemented in SlicedGeometricField.
Definition at line 105 of file GeometricField.H.
| typedef GeoMesh::BoundaryMesh BoundaryMesh |
| typedef DimensionedField<Type, GeoMesh> DimensionedInternalField |
Definition at line 108 of file GeometricField.H.
| typedef Field<Type> InternalField |
Definition at line 109 of file GeometricField.H.
| typedef PatchField<Type> PatchFieldType |
Definition at line 110 of file GeometricField.H.
Component type.
Reimplemented from DimensionedField.
Definition at line 278 of file GeometricField.H.
| GeometricField | ( | const IOobject & | , | |
| const Mesh & | , | |||
| const dimensionSet & | , | |||
| const word & | patchFieldType = PatchField< Type >::calculatedType() | |||
| ) |
Constructor given IOobject, mesh, dimensions and patch type.
This allocates storage for the field but not values. Used only within this class to create TEMPORARY variables
| GeometricField | ( | const IOobject & | , | |
| const Mesh & | , | |||
| const dimensionSet & | , | |||
| const wordList & | patchFieldTypes | |||
| ) |
Constructor given IOobject, mesh, dimensions and patch types.
This allocates storage for the field but not values. Used only within this class to create TEMPORARY variables
| GeometricField | ( | const IOobject & | , | |
| const Mesh & | , | |||
| const dimensioned< Type > & | , | |||
| const word & | patchFieldType = PatchField< Type >::calculatedType() | |||
| ) |
Constructor given IOobject, mesh, dimensioned<Type> and patch type.
| GeometricField | ( | const IOobject & | , | |
| const Mesh & | , | |||
| const dimensioned< Type > & | , | |||
| const wordList & | patchFieldTypes | |||
| ) |
Constructor given IOobject, mesh, dimensioned<Type> and patch types.
| GeometricField | ( | const IOobject & | , | |
| const Mesh & | , | |||
| const dimensionSet & | , | |||
| const Field< Type > & | , | |||
| const PtrList< PatchField< Type > > & | ||||
| ) |
Constructor from components.
| GeometricField | ( | const IOobject & | , | |
| const Mesh & | ||||
| ) |
Construct and read given IOobject.
| GeometricField | ( | const IOobject & | , | |
| const Mesh & | , | |||
| Istream & | ||||
| ) |
Construct and read from given stream.
| GeometricField | ( | const GeometricField< Type, PatchField, GeoMesh > & | ) |
Construct as copy.
| GeometricField | ( | const IOobject & | , | |
| const GeometricField< Type, PatchField, GeoMesh > & | ||||
| ) |
Construct as copy resetting IO parameters.
| GeometricField | ( | const word & | newName, | |
| const GeometricField< Type, PatchField, GeoMesh > & | ||||
| ) |
Construct as copy resetting name.
| GeometricField | ( | const IOobject & | , | |
| const GeometricField< Type, PatchField, GeoMesh > & | , | |||
| const word & | patchFieldType | |||
| ) |
Construct as copy resetting IO parameters and patch type.
| GeometricField | ( | const IOobject & | , | |
| const GeometricField< Type, PatchField, GeoMesh > & | , | |||
| const wordList & | patchFieldTypes | |||
| ) |
Construct as copy resetting IO parameters and boundary types.
| virtual ~GeometricField | ( | ) | [virtual] |
| TypeName | ( | "GeometricField< Type, PatchField, GeoMesh >" | ) |
Runtime type information.
| DimensionedInternalField& dimensionedInternalField | ( | ) |
Return dimensioned internal field.
| const Foam::GeometricField< Type, PatchField, GeoMesh >::DimensionedInternalField & dimensionedInternalField | ( | ) | const [inline] |
| InternalField& internalField | ( | ) |
Return internal field.
| const Foam::GeometricField< Type, PatchField, GeoMesh >::InternalField & internalField | ( | ) | const [inline] |
| GeometricBoundaryField& boundaryField | ( | ) |
Return reference to GeometricBoundaryField.
Referenced by homogeneousMixture::cellMixture(), veryInhomogeneousMixture::cellProducts(), and dieselMixture::cellProducts().
Here is the caller graph for this function:

| const Foam::GeometricField< Type, PatchField, GeoMesh >::GeometricBoundaryField & boundaryField | ( | ) | const [inline] |
Return reference to GeometricBoundaryField for const field.
Definition at line 57 of file GeometricFieldI.H.
| Foam::label timeIndex | ( | ) | const [inline] |
| Foam::label & timeIndex | ( | ) | [inline] |
| void storeOldTimes | ( | ) | const |
Store the old-time fields.
| void storeOldTime | ( | ) | const |
Store the old-time field.
| label nOldTimes | ( | ) | const |
Return the number of old time fields stored.
| const GeometricField<Type, PatchField, GeoMesh>& oldTime | ( | ) | const |
Return old time field.
| GeometricField<Type, PatchField, GeoMesh>& oldTime | ( | ) |
Return non-const old time field.
(Not a good idea but it is used for sub-cycling)
| void storePrevIter | ( | ) | const |
Store the field as the previous iteration value.
| const GeometricField<Type, PatchField, GeoMesh>& prevIter | ( | ) | const |
Return previous iteration field.
| void correctBoundaryConditions | ( | ) |
Correct boundary field.
| bool needReference | ( | ) | const |
Does the field need a reference level for solution.
| static GeometricField<Type, PatchField, GeoMesh>& null | ( | ) | [static] |
Return a null geometric field.
Reimplemented from DimensionedField.
Referenced by basicThermo::Cp().
Here is the caller graph for this function:

| tmp<GeometricField<cmptType, PatchField, GeoMesh> > component | ( | const | direction | ) | const |
Return a component of the field.
Reimplemented from DimensionedField.
Referenced by skewCorrected::skewCorrection().
Here is the caller graph for this function:

| bool writeData | ( | Ostream & | ) | const [virtual] |
| tmp<GeometricField<Type, PatchField, GeoMesh> > T | ( | ) | const |
| void relax | ( | const scalar | alpha | ) |
Relax field (for steady-state solution).
alpha = 1 : no relaxation alpha < 1 : relaxation alpha = 0 : do nothing
| void relax | ( | ) |
Relax field (for steady-state solution).
alpha is read from controlDict
| void negate | ( | ) |
| void replace | ( | const | direction, | |
| const GeometricField< cmptType, PatchField, GeoMesh > & | ||||
| ) |
| void replace | ( | const | direction, | |
| const dimensioned< cmptType > & | ||||
| ) |
| void max | ( | const dimensioned< Type > & | ) |
| void min | ( | const dimensioned< Type > & | ) |
| void max | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const dimensioned< Type > & | ||||
| ) |
| void min | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const dimensioned< Type > & | ||||
| ) |
| void scale | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const GeometricField< Type, PatchField, GeoMesh > & | ||||
| ) |
| void scale | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const dimensioned< Type > & | ||||
| ) |
| void operator= | ( | const GeometricField< Type, PatchField, GeoMesh > & | ) |
| void operator= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | ) |
| void operator= | ( | const dimensioned< Type > & | ) |
Reimplemented from DimensionedField.
| void operator== | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | ) |
| void operator== | ( | const dimensioned< Type > & | ) |
| void operator+= | ( | const GeometricField< Type, PatchField, GeoMesh > & | ) |
| void operator+= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | ) |
| void operator-= | ( | const GeometricField< Type, PatchField, GeoMesh > & | ) |
| void operator-= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | ) |
| void operator *= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | ) |
| void operator *= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh > > & | ) |
| void operator/= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | ) |
| void operator/= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh > > & | ) |
| void operator+= | ( | const dimensioned< Type > & | ) |
Reimplemented from DimensionedField.
| void operator-= | ( | const dimensioned< Type > & | ) |
Reimplemented from DimensionedField.
| void operator *= | ( | const dimensioned< scalar > & | ) |
Reimplemented from DimensionedField.
| void operator/= | ( | const dimensioned< scalar > & | ) |
Reimplemented from DimensionedField.
| tmp< GeometricField< scalar, fvPatchField, volMesh > > component | ( | const | direction | ) | const |
| void replace | ( | const | direction, | |
| const GeometricField< scalar, fvPatchField, volMesh > & | sf | |||
| ) |
| Ostream& operator | ( | Ostream & | , | |
| const GeometricField< Type, PatchField, GeoMesh > & | ||||
| ) | [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const tmp< GeometricField< Type, PatchField, GeoMesh > > & | ||||
| ) | [friend] |