DimensionedField Class Template ReferenceInheritance diagram for DimensionedField:
[legend]Collaboration diagram for DimensionedField:
[legend]List of all members.
Detailed Description
template<class Type, class GeoMesh>
class Foam::DimensionedField< Type, GeoMesh >
Definition at line 80 of file DimensionedField.H.
|
Public Types |
| typedef GeoMesh::Mesh | Mesh |
| typedef Field< Type >::cmptType | cmptType |
| | Component type.
|
Public Member Functions |
| | TypeName ("DimensionedField") |
| | Runtime type information.
|
| | DimensionedField (const IOobject &, const Mesh &mesh, const dimensionSet &, const Field< Type > &) |
| | Construct from components.
|
| | DimensionedField (const IOobject &, const Mesh &mesh, const dimensionSet &) |
| | Construct from components.
|
| | DimensionedField (const IOobject &, const Mesh &mesh, const dimensioned< Type > &) |
| | Construct from components.
|
| | DimensionedField (const IOobject &, const Mesh &mesh, const word &fieldDictEntry="value") |
| | Construct from Istream.
|
| void | readField (const dictionary &fieldDict, const word &fieldDictEntry="value") |
| | DimensionedField (const DimensionedField< Type, GeoMesh > &) |
| | Construct as copy.
|
| | DimensionedField (DimensionedField< Type, GeoMesh > &, bool reUse) |
| | Construct as copy or re-use as specified.
|
| | DimensionedField (const IOobject &, const DimensionedField< Type, GeoMesh > &) |
| | Construct as copy resetting IO parameters.
|
| | DimensionedField (const word &newName, const DimensionedField< Type, GeoMesh > &) |
| | Construct as copy resetting name.
|
| | DimensionedField (const word &newName, DimensionedField< Type, GeoMesh > &, bool reUse) |
| | Construct as copy resetting name and re-use as specified.
|
tmp< DimensionedField< Type,
GeoMesh > > | clone () const |
| | Clone.
|
| | ~DimensionedField () |
| const Mesh & | mesh () const |
| | Return mesh.
|
| const dimensionSet & | dimensions () const |
| | Return dimensions.
|
| dimensionSet & | dimensions () |
| | Return non-const access to dimensions.
|
| const Field< Type > & | field () const |
| Field< Type > & | field () |
tmp< DimensionedField< cmptType,
GeoMesh > > | component (const direction) const |
| | Return a component field of the field.
|
| void | replace (const direction, const DimensionedField< cmptType, GeoMesh > &) |
| | Replace a component field of the field.
|
| void | replace (const direction, const tmp< DimensionedField< cmptType, GeoMesh > > &) |
| | Replace a component field of the field.
|
tmp< DimensionedField< Type,
GeoMesh > > | T () const |
| | Return the field transpose (only defined for second rank tensors).
|
| dimensioned< Type > | average () const |
| | Calculate and return arithmetic average.
|
| dimensioned< Type > | weightedAverage (const DimensionedField< scalar, GeoMesh > &) const |
| | Calculate and return weighted average.
|
| dimensioned< Type > | weightedAverage (const tmp< DimensionedField< scalar, GeoMesh > > &) const |
| | Calculate and return weighted average.
|
| bool | writeData (Ostream &, const word &fieldDictEntry) const |
| bool | writeData (Ostream &) const |
| | Pure virtual writaData function.
|
| void | operator= (const DimensionedField< Type, GeoMesh > &) |
| void | operator= (const tmp< DimensionedField< Type, GeoMesh > > &) |
| void | operator= (const dimensioned< Type > &) |
| void | operator+= (const DimensionedField< Type, GeoMesh > &) |
| void | operator+= (const tmp< DimensionedField< Type, GeoMesh > > &) |
| void | operator-= (const DimensionedField< Type, GeoMesh > &) |
| void | operator-= (const tmp< DimensionedField< Type, GeoMesh > > &) |
| void | operator *= (const DimensionedField< scalar, GeoMesh > &) |
| void | operator *= (const tmp< DimensionedField< scalar, GeoMesh > > &) |
| void | operator/= (const DimensionedField< scalar, GeoMesh > &) |
| void | operator/= (const tmp< DimensionedField< scalar, GeoMesh > > &) |
| void | operator+= (const dimensioned< Type > &) |
| void | operator-= (const dimensioned< Type > &) |
| void | operator *= (const dimensioned< scalar > &) |
| void | operator/= (const dimensioned< scalar > &) |
Static Public Member Functions |
static DimensionedField< Type,
GeoMesh > & | null () |
| | Return a null DimensionedField.
|
Friends |
| Ostream & | operator (Ostream &, const DimensionedField< Type, GeoMesh > &) |
| Ostream & | operator (Ostream &, const tmp< DimensionedField< Type, GeoMesh > > &) |
Member Typedef Documentation
Reimplemented in GeometricField, SlicedGeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Definition at line 90 of file DimensionedField.H.
Component type.
Reimplemented from Field.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Definition at line 91 of file DimensionedField.H.
Constructor & Destructor Documentation
Construct from components.
Construct from components.
Used for temporary fields which are initialised after construction
Construct from components.
Construct as copy or re-use as specified.
Construct as copy resetting IO parameters.
Construct as copy resetting name.
Construct as copy resetting name and re-use as specified.
Member Function Documentation
| TypeName |
( |
"DimensionedField< Type, GeoMesh >" |
|
) |
|
Runtime type information.
| void readField |
( |
const dictionary & |
fieldDict, |
|
|
const word & |
fieldDictEntry = "value" | |
|
) |
| | |
Clone.
Reimplemented from Field.
Return mesh.
Definition at line 41 of file DimensionedFieldI.H.
Referenced by reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, TypeR, PatchField, GeoMesh >::New(), reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, Type2, PatchField, GeoMesh >::New(), reuseTmpTmpGeometricField< TypeR, Type1, Type12, TypeR, PatchField, GeoMesh >::New(), reuseTmpTmpGeometricField::New(), reuseTmpGeometricField< TypeR, TypeR, PatchField, GeoMesh >::New(), reuseTmpGeometricField::New(), reuseTmpTmpDimensionedField< TypeR, TypeR, TypeR, TypeR, GeoMesh >::New(), reuseTmpTmpDimensionedField< TypeR, TypeR, TypeR, Type2, GeoMesh >::New(), reuseTmpTmpDimensionedField< TypeR, Type1, Type12, TypeR, GeoMesh >::New(), reuseTmpTmpDimensionedField::New(), reuseTmpDimensionedField< TypeR, TypeR, GeoMesh >::New(), reuseTmpDimensionedField::New(), and linear::weights().
Here is the caller graph for this function:
Return dimensions.
Definition at line 48 of file DimensionedFieldI.H.
Referenced by reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, TypeR, PatchField, GeoMesh >::New(), reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, Type2, PatchField, GeoMesh >::New(), reuseTmpTmpGeometricField< TypeR, Type1, Type12, TypeR, PatchField, GeoMesh >::New(), reuseTmpGeometricField< TypeR, TypeR, PatchField, GeoMesh >::New(), reuseTmpTmpDimensionedField< TypeR, TypeR, TypeR, TypeR, GeoMesh >::New(), reuseTmpTmpDimensionedField< TypeR, TypeR, TypeR, Type2, GeoMesh >::New(), reuseTmpTmpDimensionedField< TypeR, Type1, Type12, TypeR, GeoMesh >::New(), and reuseTmpDimensionedField< TypeR, TypeR, GeoMesh >::New().
Here is the caller graph for this function:
| const Field< Type > & field |
( |
|
) |
const [inline] |
| Field< Type > & field |
( |
|
) |
[inline] |
Return a null DimensionedField.
Reimplemented from Field.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Return a component field of the field.
Reimplemented from Field.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField.
Replace a component field of the field.
Replace a component field of the field.
Return the field transpose (only defined for second rank tensors).
Reimplemented from Field.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Calculate and return arithmetic average.
Calculate and return weighted average.
Calculate and return weighted average.
| bool writeData |
( |
Ostream & |
, |
|
|
const word & |
fieldDictEntry | |
|
) |
| | const |
| bool writeData |
( |
Ostream & |
|
) |
const [virtual] |
Pure virtual writaData function.
Must be defined in derived types
Implements regIOobject.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Reimplemented in GeometricField, GeometricField< Type, Foam::fvsPatchField< Type >, Foam::surfaceMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< TransferType::dataType, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, PatchField, Foam::GeoMesh< MESH > >, GeometricField< scalar, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Type, Foam::pointPatchField< Type >, Foam::pointMesh >, GeometricField< Foam::Vectorector< scalar >, Foam::fvPatchField< Type >, Foam::volMesh >, GeometricField< Type, Foam::fvPatchField< Type >, Foam::volMesh >, and GeometricField< scalar, Foam::fvPatchField< Type >, Foam::volMesh >.
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
Copyright © 2000-2007 OpenCFD Ltd
|