Generic GeometricField class. More...


Public Types | |
| typedef Type | Type_ |
| Value type. More... | |
| typedef GeoMesh | GeoMesh_ |
| Geometric mesh type. More... | |
| typedef GeoMesh::Mesh | Mesh |
| Base mesh type from which GeoMesh is constructed. More... | |
| typedef DimensionedField< Type, GeoMesh, PrimitiveField > | Internal |
| Type of the internal field from which this GeometricField is derived. More... | |
| typedef DimensionedField< Type, GeoMesh, PrimitiveField > | Base |
| Type of the field from which this GeometricField is derived. More... | |
| typedef GeoMesh::template PatchField< Type > | Patch |
| Type of the patch field of which the Boundary is composed. More... | |
| typedef GeometricBoundaryField< Type, GeoMesh, PrimitiveField > | Boundary |
| Type of the boundary field. More... | |
| typedef GeoMesh::template FieldSource< Type > | Source |
| Type of the field source of which the Sources is composed. More... | |
| typedef GeometricFieldSources< Type, GeoMesh, PrimitiveField > | Sources |
| Type of the field sources. More... | |
| typedef PrimitiveField< Type >::cmptType | cmptType |
| Component type of the elements of the field. More... | |
Public Types inherited from DimensionedField< Type, GeoMesh, PrimitiveField > | |
| typedef Type | Type_ |
| Value type. More... | |
| typedef GeoMesh | GeoMesh_ |
| Geometric mesh type. More... | |
| typedef GeoMesh::Mesh | Mesh |
| Base mesh type from which GeoMesh is constructed. More... | |
| typedef PrimitiveField< Type > | FieldType |
| Type of the field from which this DimensionedField is derived. More... | |
| typedef PrimitiveField< Type > | Base |
| Type of the field from which this DimensionedField is derived. More... | |
| typedef PrimitiveField< Type >::cmptType | cmptType |
| Component type of the elements of the field. More... | |
Public Types inherited from IOobject | |
| enum | objectState { GOOD , BAD } |
| Enumeration defining the valid states of an IOobject. More... | |
| enum | readOption { MUST_READ , MUST_READ_IF_MODIFIED , READ_IF_PRESENT , NO_READ } |
| Enumeration defining the read options. More... | |
| enum | writeOption { AUTO_WRITE = 0 , NO_WRITE = 1 } |
| Enumeration defining the write options. More... | |
| enum | fileCheckTypes { timeStamp , timeStampMaster , inotify , inotifyMaster } |
| Enumeration defining the file checking options. More... | |
Public Member Functions | |
| TypeName ("GeometricField") | |
| Runtime type information. More... | |
| GeometricField (const IOobject &, const GeoMesh &, const dimensionSet &, const word &patchFieldType) | |
| Constructor given IOobject, mesh, dimensions and patch field type. More... | |
| GeometricField (const IOobject &, const GeoMesh &, const dimensioned< Type > &, const word &patchFieldType=Patch::calculatedType()) | |
| Constructor given IOobject, mesh, dimensioned<Type> More... | |
| GeometricField (const IOobject &, const GeoMesh &, const dimensioned< Type > &, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) | |
| Constructor given IOobject, mesh, dimensioned<Type> More... | |
| GeometricField (const IOobject &, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >()) | |
| Constructor from components. More... | |
| GeometricField (const IOobject &, const GeoMesh &, const dimensionSet &, const PrimitiveField< Type > &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >()) | |
| Constructor from components. More... | |
| GeometricField (const IOobject &, const GeoMesh &, const dimensionSet &dims=dimensions::invalid) | |
| Construct and read given IOobject. More... | |
| GeometricField (const IOobject &, const GeoMesh &, const dictionary &, const dimensionSet &dims=dimensions::invalid) | |
| Construct from dictionary. More... | |
| GeometricField (const GeometricField< Type, GeoMesh, PrimitiveField > &) | |
| Copy constructor. More... | |
| template<template< class > class PrimitiveField2> | |
| GeometricField (const GeometricField< Type, GeoMesh, PrimitiveField2 > &) | |
| Copy constructor. More... | |
| GeometricField (GeometricField< Type, GeoMesh, PrimitiveField > &&) | |
| Move constructor. More... | |
| GeometricField (const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) | |
| Construct as copy of tmp. More... | |
| template<template< class > class PrimitiveField2> | |
| GeometricField (const IOobject &, const GeometricField< Type, GeoMesh, PrimitiveField2 > &) | |
| Construct as copy resetting IO parameters. More... | |
| GeometricField (const IOobject &, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) | |
| Construct as copy of tmp resetting IO parameters. More... | |
| template<template< class > class PrimitiveField2> | |
| GeometricField (const word &newName, const GeometricField< Type, GeoMesh, PrimitiveField2 > &) | |
| Construct as copy resetting name. More... | |
| GeometricField (const word &newName, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) | |
| Construct as copy of tmp resetting name. More... | |
| template<template< class > class PrimitiveField2> | |
| GeometricField (const IOobject &, const GeometricField< Type, GeoMesh, PrimitiveField2 > &, const word &patchFieldType) | |
| Construct as copy resetting IO parameters and patch field type. More... | |
| GeometricField (const IOobject &, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &, const word &patchFieldType) | |
| Construct as copy of tmp resetting IO parameters. More... | |
| template<template< class > class PrimitiveField2> | |
| GeometricField (const IOobject &, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const word &patchFieldType) | |
| Constructor from internal field and patch field type. More... | |
| GeometricField (const IOobject &, const tmp< Internal > &, const word &patchFieldType) | |
| Constructor from temporary internal field and patch field type. More... | |
| template<template< class > class PrimitiveField2> | |
| GeometricField (const IOobject &, const GeometricField< Type, GeoMesh, PrimitiveField2 > &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) | |
| Construct as copy resetting IO parameters and patch field types. More... | |
| GeometricField (const IOobject &, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) | |
| Construct as copy of tmp resetting IO parameters. More... | |
| template<template< class > class PrimitiveField2> | |
| GeometricField (const IOobject &, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) | |
| Construct from IOobject, internal field and patch field types. More... | |
| GeometricField (const IOobject &, const tmp< Internal > &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) | |
| Construct from IOobject, tmp internal field and patch field types. More... | |
| tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | clone () const |
| Clone. More... | |
| tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | cloneUnSliced () const |
| Clone un-sliced. More... | |
| virtual | ~GeometricField () |
| Destructor. More... | |
| Internal & | internalFieldRef () |
| Return a reference to the dimensioned internal field. More... | |
| const Internal & | internalField () const |
| Return a const-reference to the dimensioned internal field. More... | |
| const Internal & | v () const |
| Return a const-reference to the dimensioned internal field. More... | |
| Internal::FieldType & | primitiveFieldRef () |
| Return a reference to the primitive field. More... | |
| const Internal::FieldType & | primitiveField () const |
| Return a const-reference to the primitive field. More... | |
| Boundary & | boundaryFieldRef () |
| Return a reference to the boundary field. More... | |
| Boundary & | boundaryFieldRefNoStoreOldTimes () |
| Return a reference to the boundary field without storing old times. More... | |
| const Boundary & | boundaryField () const |
| Return const-reference to the boundary field. More... | |
| Sources & | sourcesRef () |
| Return a reference to the sources. More... | |
| const Sources & | sources () const |
| Return const-reference to the sources. More... | |
| void | storePrevIter () const |
| Store the field as the previous iteration value. More... | |
| void | clearPrevIter () |
| Delete the previous iteration field. More... | |
| const GeometricField< Type, GeoMesh, Field > & | prevIter () const |
| Return previous iteration field. More... | |
| USING_OLD_TIME_FIELD (GeometricField) | |
| Use old-time methods from the base class. More... | |
| void | correctBoundaryConditions () |
| Correct boundary field. More... | |
| template<template< class > class PrimitiveField2> | |
| void | reset (const GeometricField< Type, GeoMesh, PrimitiveField2 > &) |
| Reset the field contents to the given field. More... | |
| void | reset (const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) |
| Reset the field contents to the given tmp-field. More... | |
| template<template< class > class PrimitiveField2> | |
| void | reset (const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> &) |
| Reset the field contents to the given tmp-field. More... | |
| bool | needReference () const |
| Does the field need a reference level for solution. More... | |
| tmp< GeometricField< cmptType, GeoMesh, Field > > | component (const direction) const |
| Return a component of the field. More... | |
| bool | writeData (Ostream &) const |
| WriteData member function required by regIOobject. More... | |
| tmp< GeometricField< Type, GeoMesh, Field > > | T () const |
| Return transpose (only if it is a tensor field) More... | |
| void | relax (const scalar alpha) |
| Relax field (for steady-state solution). More... | |
| scalar | relaxationFactor () const |
| Return the field relaxation factor read from fvSolution. More... | |
| void | relax () |
| Relax current field with respect to the cached previous iteration. More... | |
| template<template< class > class PrimitiveField2> | |
| void | relax (const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> &, const scalar alpha) |
| Relax given field with respect to the current field. More... | |
| template<template< class > class PrimitiveField2> | |
| void | relax (const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> &) |
| Relax given field with respect to the current field. More... | |
| word | select (bool final) const |
| Select the final iteration parameters if `final' is true. More... | |
| void | writeMinMax (Ostream &os) const |
| Helper function to write the min and max to an Ostream. More... | |
| void | negate () |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction, const GeometricField< cmptType, GeoMesh, PrimitiveField2 > &) |
| Replace a component field of the field. More... | |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction, const tmp< GeometricField< cmptType, GeoMesh, PrimitiveField2 >> &) |
| Replace a component field of the field. More... | |
| void | replace (const direction, const dimensioned< cmptType > &) |
| Replace a component field of the field. More... | |
| void | max (const dimensioned< Type > &) |
| void | min (const dimensioned< Type > &) |
| void | maxMin (const dimensioned< Type > &minDt, const dimensioned< Type > &maxDt) |
| const Internal & | operator() () const |
| Return a const-reference to the dimensioned internal field. More... | |
| void | operator= (const GeometricField< Type, GeoMesh, PrimitiveField > &) |
| void | operator= (GeometricField< Type, GeoMesh, PrimitiveField > &&) |
| template<template< class > class PrimitiveField2> | |
| void | operator= (const GeometricField< Type, GeoMesh, PrimitiveField2 > &) |
| void | operator= (const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) |
| template<template< class > class PrimitiveField2> | |
| void | operator= (const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator= (const dimensioned< Type > &) |
| void | operator= (const zero &) |
| template<template< class > class PrimitiveField2> | |
| void | operator== (const GeometricField< Type, GeoMesh, PrimitiveField2 > &) |
| void | operator== (const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) |
| template<template< class > class PrimitiveField2> | |
| void | operator== (const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator== (const dimensioned< Type > &) |
| void | operator== (const zero &) |
| template<template< class > class PrimitiveField2> | |
| void | operator+= (const GeometricField< Type, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator+= (const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator+= (const dimensioned< Type > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator-= (const GeometricField< Type, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator-= (const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator-= (const dimensioned< Type > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator*= (const GeometricField< scalar, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator*= (const tmp< GeometricField< scalar, GeoMesh, PrimitiveField2 >> &) |
| void | operator*= (const dimensioned< scalar > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator/= (const GeometricField< scalar, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator/= (const tmp< GeometricField< scalar, GeoMesh, PrimitiveField2 >> &) |
| void | operator/= (const dimensioned< scalar > &) |
| template<template< class > class PrimitiveField2> | |
| Foam::tmp< Foam::GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf, const word &patchFieldType) |
| template<template< class > class PrimitiveField2> | |
| Foam::tmp< Foam::GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &df, const word &patchFieldType) |
| template<template< class > class PrimitiveField2> | |
| Foam::tmp< Foam::GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf, const wordList &patchFieldTypes, const wordList &actualPatchTypes, const HashTable< word > &fieldSourceTypes, const IOerrorLocation &fieldSourceErrorLocation) |
| template<template< class > class PrimitiveField2> | |
| Foam::tmp< Foam::GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &df, const wordList &patchFieldTypes, const wordList &actualPatchTypes, const HashTable< word > &fieldSourceTypes, const IOerrorLocation &fieldSourceErrorLocation) |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction d, const GeometricField< typename GeometricField< Type, GeoMesh, PrimitiveField >::cmptType, GeoMesh, PrimitiveField2 > &gcf) |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction d, const tmp< GeometricField< typename GeometricField< Type, GeoMesh, PrimitiveField >::cmptType, GeoMesh, PrimitiveField2 > > &gcf) |
| tmp< VolField< scalar > > | component (const direction) const |
| void | replace (const direction, const GeometricField< scalar, fvMesh, PrimitiveField > &sf) |
| Foam::tmp< Foam::GeometricField< Foam::scalar, Foam::fvMesh > > | component (const direction) const |
| void | replace (const direction, const GeometricField< scalar, fvMesh, PrimitiveField > &gsf) |
Public Member Functions inherited from DimensionedField< Type, GeoMesh, PrimitiveField > | |
| TypeName ("DimensionedField") | |
| Runtime type information. More... | |
| DimensionedField (const IOobject &, const GeoMesh &mesh, const dimensionSet &, const PrimitiveField< Type > &) | |
| Construct from components. More... | |
| DimensionedField (const IOobject &, const GeoMesh &mesh, const dimensionSet &, const tmp< PrimitiveField< Type >> &) | |
| Construct from components. More... | |
| DimensionedField (const IOobject &, const GeoMesh &mesh, const dimensionSet &, const bool checkIOFlags) | |
| Construct from components. More... | |
| DimensionedField (const IOobject &, const GeoMesh &mesh, const dimensioned< Type > &, const bool checkIOFlags=true) | |
| Construct from components. More... | |
| DimensionedField (const IOobject &, const GeoMesh &mesh, const dictionary &fieldDict, const dimensionSet &dims=dimensions::invalid, const word &fieldDictEntry="value") | |
| Construct from dictionary. More... | |
| DimensionedField (const IOobject &, const GeoMesh &mesh, const dimensionSet &dims=dimensions::invalid, const word &fieldDictEntry="value") | |
| Construct from dictionary constructed from IOobject. More... | |
| DimensionedField (const DimensionedField< Type, GeoMesh, PrimitiveField > &) | |
| Copy constructor. More... | |
| DimensionedField (DimensionedField< Type, GeoMesh, PrimitiveField > &&) | |
| Move constructor. More... | |
| template<template< class > class PrimitiveField2> | |
| DimensionedField (const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) | |
| Copy constructor. More... | |
| template<template< class > class PrimitiveField2> | |
| DimensionedField (DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const bool reuse) | |
| Copy constructor or reuse as specified. More... | |
| DimensionedField (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField >> &) | |
| Copy constructor of tmp<DimensionedField> deleting argument. More... | |
| template<template< class > class PrimitiveField2> | |
| DimensionedField (const IOobject &, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const bool checkIOFlags=true) | |
| Copy constructor resetting IO parameters. More... | |
| template<template< class > class PrimitiveField2> | |
| DimensionedField (const IOobject &, DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const bool reuse, const bool checkIOFlags=true) | |
| Copy constructor resetting IO parameters and reuse as specified. More... | |
| DimensionedField (const IOobject &, const tmp< DimensionedField< Type, GeoMesh, PrimitiveField >> &, const bool checkIOFlags=true) | |
| Copy constructor from tmp resetting IO parameters. More... | |
| template<template< class > class PrimitiveField2> | |
| DimensionedField (const word &newName, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) | |
| Copy constructor resetting name. More... | |
| template<template< class > class PrimitiveField2> | |
| DimensionedField (const word &newName, DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const bool reuse) | |
| Copy constructor resetting name and reuse as specified. More... | |
| DimensionedField (const word &newName, const tmp< DimensionedField< Type, GeoMesh, PrimitiveField >> &) | |
| Copy constructor from tmp resetting name. More... | |
| tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > | clone () const |
| Clone. More... | |
| virtual | ~DimensionedField () |
| Destructor. More... | |
| void | readField (const dictionary &fieldDict, const word &fieldDictEntry="value") |
| const GeoMesh & | mesh () const |
| Return mesh. More... | |
| const dimensionSet & | dimensions () const |
| Return dimensions. More... | |
| dimensionSet & | dimensions () |
| Return non-const access to dimensions. More... | |
| PrimitiveField< Type > & | primitiveFieldRef () |
| Return a reference to the internal field. More... | |
| const PrimitiveField< Type > & | primitiveField () const |
| Return a const-reference to the primitive field. More... | |
| virtual void | transfer (PrimitiveField< Type > &) |
| Transfer the list pointer from the given PrimitiveField. More... | |
| USING_OLD_TIME_FIELD (DimensionedField) | |
| Use old-time methods from the base class. More... | |
| tmp< DimensionedField< cmptType, GeoMesh, Field > > | component (const direction) const |
| Return a component field of the field. More... | |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction, const DimensionedField< cmptType, GeoMesh, PrimitiveField2 > &) |
| Replace a component field of the field. More... | |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction, const tmp< DimensionedField< cmptType, GeoMesh, PrimitiveField2 >> &) |
| Replace a component field of the field. More... | |
| tmp< DimensionedField< Type, GeoMesh, Field > > | T () const |
| Return the field transpose (only defined for second rank tensors) More... | |
| dimensioned< Type > | average () const |
| Calculate and return arithmetic average. More... | |
| template<template< class > class PrimitiveField2> | |
| dimensioned< Type > | weightedAverage (const DimensionedField< scalar, GeoMesh, PrimitiveField2 > &) const |
| Calculate and return weighted average. More... | |
| template<template< class > class PrimitiveField2> | |
| dimensioned< Type > | weightedAverage (const tmp< DimensionedField< scalar, GeoMesh, PrimitiveField2 >> &) const |
| Calculate and return weighted average. More... | |
| template<template< class > class PrimitiveField2> | |
| void | reset (const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) |
| Reset the field values to the given field. More... | |
| void | reset (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField >> &) |
| Reset the field values to the given tmp-field. More... | |
| template<template< class > class PrimitiveField2> | |
| void | reset (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField2 >> &) |
| Reset the field values to the given tmp-field. More... | |
| void | max (const dimensioned< Type > &) |
| Set the field to the maximum of its value and a given value. More... | |
| void | min (const dimensioned< Type > &) |
| Set the field to the minimum of its value and a given value. More... | |
| void | maxMin (const dimensioned< Type > &minDt, const dimensioned< Type > &maxDt) |
| Clip the field to between two values. More... | |
| bool | writeData (Ostream &, const word &fieldDictEntry) const |
| void | operator= (const DimensionedField< Type, GeoMesh, PrimitiveField > &) |
| void | operator= (DimensionedField< Type, GeoMesh, PrimitiveField > &&) |
| void | operator= (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField >> &) |
| template<template< class > class PrimitiveField2> | |
| void | operator= (const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator= (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator= (const dimensioned< Type > &) |
| void | operator= (const zero &) |
| template<template< class > class PrimitiveField2> | |
| void | operator== (const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator== (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator== (const dimensioned< Type > &) |
| void | operator== (const zero &) |
| template<template< class > class PrimitiveField2> | |
| void | operator+= (const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator+= (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator+= (const dimensioned< Type > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator-= (const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator-= (const tmp< DimensionedField< Type, GeoMesh, PrimitiveField2 >> &) |
| void | operator-= (const dimensioned< Type > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator*= (const DimensionedField< scalar, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator*= (const tmp< DimensionedField< scalar, GeoMesh, PrimitiveField2 >> &) |
| void | operator*= (const dimensioned< scalar > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator/= (const DimensionedField< scalar, GeoMesh, PrimitiveField2 > &) |
| template<template< class > class PrimitiveField2> | |
| void | operator/= (const tmp< DimensionedField< scalar, GeoMesh, PrimitiveField2 >> &) |
| void | operator/= (const dimensioned< scalar > &) |
| template<template< class > class PrimitiveField2> | |
| Foam::tmp< Foam::DimensionedField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &df) |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction d, const DimensionedField< typename DimensionedField< Type, GeoMesh, PrimitiveField >::cmptType, GeoMesh, PrimitiveField2 > &df) |
| template<template< class > class PrimitiveField2> | |
| void | replace (const direction d, const tmp< DimensionedField< typename DimensionedField< Type, GeoMesh, PrimitiveField >::cmptType, GeoMesh, PrimitiveField2 > > &tdf) |
Public Member Functions inherited from regIOobject | |
| TypeName ("regIOobject") | |
| Runtime type information. More... | |
| regIOobject (const IOobject &, const bool isTime=false) | |
| Construct from IOobject. Optional flag for if IOobject is the. More... | |
| regIOobject (const word &newName, const IOobject &, bool registerObject) | |
| Construct from IOobject with new name, and overriding the. More... | |
| regIOobject (const regIOobject &) | |
| Copy constructor. More... | |
| regIOobject (regIOobject &&) | |
| Move constructor. More... | |
| regIOobject (const regIOobject &, bool registerCopy) | |
| Copy constructor, transferring registry registration to copy. More... | |
| virtual | ~regIOobject () |
| Destructor. More... | |
| virtual bool | global () const |
| Return true if object is global, i.e. same for all processors. More... | |
| virtual bool | globalFile () const |
| Return true if object is global, i.e. same for all processors. More... | |
| const fileName & | caseName () const |
| fileName | path () const |
| Return complete path. More... | |
| fileName | objectPath () const |
| Return complete path + object name. More... | |
| fileName | filePath () const |
| Return complete path + object name if the file exists. More... | |
| bool | checkIn () |
| Add object to registry. More... | |
| bool | checkOut () |
| Remove object from registry. More... | |
| void | addWatch () |
| Add file watch on object (if registered and READ_IF_MODIFIED) More... | |
| bool | registered () const |
| Is this object registered with the registry? More... | |
| bool | ownedByRegistry () const |
| Is this object owned by the registry? More... | |
| void | store () |
| Transfer ownership of this object to its registry. More... | |
| void | release () |
| Release ownership of this object from its registry. More... | |
| uint64_t | eventNo () const |
| Event number at last update. More... | |
| uint64_t & | eventNo () |
| Event number at last update. More... | |
| bool | upToDate (const regIOobject &) const |
| Return true if up-to-date with respect to given object. More... | |
| bool | upToDate (const regIOobject &, const regIOobject &) const |
| Return true if up-to-date with respect to given objects. More... | |
| bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
| Return true if up-to-date with respect to given objects. More... | |
| bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
| Return true if up-to-date with respect to given objects. More... | |
| void | setUpToDate () |
| Set up to date (obviously) More... | |
| virtual void | rename (const word &newName) |
| Rename. More... | |
| bool | headerOk () |
| Read and check header info. More... | |
| Istream & | readStream (const word &, const bool read=true) |
| Return Istream and check object type against that given. More... | |
| void | close () |
| Close Istream. More... | |
| virtual bool | readData (Istream &) |
| Virtual readData function. More... | |
| virtual bool | read () |
| Read object. More... | |
| const labelList & | watchIndices () const |
| Return file-monitoring handles. More... | |
| labelList & | watchIndices () |
| Return file-monitoring handles. More... | |
| virtual bool | modified () const |
| Return true if the object's file (or files for objectRegistry) More... | |
| virtual bool | dependenciesModified () const |
| Return true if the object's dependencies have been modified. More... | |
| virtual bool | readIfModified () |
| Read object if modified (as set by call to modified) More... | |
| virtual bool | writeObject (IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool write) const |
| Write using given format, version and compression. More... | |
| virtual bool | write (const bool write=true) const |
| Write using setting from DB. More... | |
| void | operator= (const IOobject &)=delete |
| Assign to IOobject. More... | |
| void | operator= (const regIOobject &)=delete |
| Disallow default assignment. More... | |
| const fileName & | caseName (const bool global) const |
| fileName | path (const bool global) const |
| Return complete path including the processor sub-directory. More... | |
| fileName | objectPath (const bool global) const |
| Return complete path + object name including the processor. More... | |
| fileName | filePath (const bool global) const |
| Return complete path + object name if the file exists. More... | |
Public Member Functions inherited from IOobject | |
| TypeName ("IOobject") | |
| Runtime type information. More... | |
| IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, registry, io options. More... | |
| IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from name, instance, local, registry, io options. More... | |
| IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
| Construct from path, registry, io options. More... | |
| IOobject (const IOobject &io, const objectRegistry ®istry) | |
| Construct from copy resetting registry. More... | |
| IOobject (const IOobject &io, const word &name) | |
| Construct from copy resetting name. More... | |
| IOobject (const IOobject &io)=default | |
| Copy constructor. More... | |
| autoPtr< IOobject > | clone () const |
| Clone. More... | |
| autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
| Clone resetting registry. More... | |
| virtual | ~IOobject () |
| Destructor. More... | |
| const Time & | time () const |
| Return time. More... | |
| const objectRegistry & | db () const |
| Return the local objectRegistry. More... | |
| const word & | name () const |
| Return name. More... | |
| const word & | headerClassName () const |
| Return name of the class name read from header. More... | |
| word & | headerClassName () |
| Return name of the class name read from header. More... | |
| string & | note () |
| Return non-constant access to the optional note. More... | |
| const string & | note () const |
| Return the optional note. More... | |
| bool & | registerObject () |
| Register object created from this IOobject with registry if true. More... | |
| bool | registerObject () const |
| Register object created from this IOobject with registry if true. More... | |
| readOption | readOpt () const |
| readOption & | readOpt () |
| writeOption & | writeOpt () const |
| writeOption & | writeOpt () |
| word | group () const |
| Return group (extension part of name) More... | |
| word | member () const |
| Return member (name without the extension) More... | |
| const fileName & | rootPath () const |
| const fileName & | caseName (const bool global) const |
| fileName & | instance () const |
| Return the instance directory, constant, system, <time> etc. More... | |
| void | updateInstance () const |
| If the instance is a time directory update to the current time. More... | |
| void | updateTimeInstance () const |
| Update instance to the current time. More... | |
| const fileName & | local () const |
| fileName | path (const bool global) const |
| Return complete path including the processor sub-directory. More... | |
| fileName | objectPath (const bool global) const |
| Return complete path + object name including the processor. More... | |
| fileName | relativePath () const |
| Return the path relative to the case directory. More... | |
| fileName | relativeObjectPath () const |
| Return complete relativePath + object name. More... | |
| fileName | filePath (const bool global) const |
| Return complete path + object name if the file exists. More... | |
| bool | readHeader (Istream &) |
| Read header. More... | |
| bool | headerOk () |
| Read header of local object without type-checking. More... | |
| template<class Type > | |
| void | warnNoRereading () const |
| Helper: warn that type does not support re-reading. More... | |
| bool | writeHeader (Ostream &) const |
| Write header. More... | |
| bool | writeHeader (Ostream &, const word &objectType) const |
| Write header. Allow override of type. More... | |
| bool | good () const |
| bool | bad () const |
| InfoProxy< IOobject > | info () const |
| Return info proxy. More... | |
| void | operator= (const IOobject &) |
| template<class Name > | |
| Foam::word | groupName (Name name, const word &group) |
Public Member Functions inherited from OldTimeField< DimensionedField< Type, GeoMesh, PrimitiveField > > | |
| OldTimeField (const label timeIndex) | |
| Construct from a time index. More... | |
| OldTimeField (const OldTimeField< DimensionedField< Type, GeoMesh, PrimitiveField > > &otf) | |
| Copy construct. More... | |
| OldTimeField (OldTimeField< DimensionedField< Type, GeoMesh, PrimitiveField > > &&otf) | |
| Move construct. More... | |
| ~OldTimeField () | |
| Destructor. More... | |
| label | timeIndex () const |
| Return the time index of the field. More... | |
| label & | timeIndex () |
| Return a non-const reference to the time index of the field. More... | |
| bool | isOldTime () const |
| Return whether or not this is an old-time field. More... | |
| bool | hasStoredOldTimes () const |
| Return whether old-time fields have been stored yet. More... | |
| void | storeOldTimes () const |
| Store the old-time fields. More... | |
| void | clearOldTimes () |
| Clear old-time fields. More... | |
| void | nullOldestTime () |
| Set the oldest field pointer to nullObjectPtr. This removes the. More... | |
| label | nOldTimes (const bool includeNull=true) const |
| Return the number of old-time fields stored. More... | |
| const Field0Type & | oldTime () const |
| Return the old-time field. More... | |
| const Field0Type & | oldTime (const label n) const |
| Return the n-th old-time field. More... | |
| Field0Type & | oldTimeRef () |
| Return a non-const reference to the old-time field. More... | |
| Field0Type & | oldTimeRef (const label n) |
| Return a non-const reference to the n-th old time field. More... | |
| void | operator= (const OldTimeField< DimensionedField< Type, GeoMesh, PrimitiveField > > &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from OldTimeField< GeometricField< Type, GeoMesh, PrimitiveField > > | |
| OldTimeField (const label timeIndex) | |
| Construct from a time index. More... | |
| OldTimeField (const OldTimeField< GeometricField< Type, GeoMesh, PrimitiveField > > &otf) | |
| Copy construct. More... | |
| OldTimeField (OldTimeField< GeometricField< Type, GeoMesh, PrimitiveField > > &&otf) | |
| Move construct. More... | |
| ~OldTimeField () | |
| Destructor. More... | |
| label | timeIndex () const |
| Return the time index of the field. More... | |
| label & | timeIndex () |
| Return a non-const reference to the time index of the field. More... | |
| bool | isOldTime () const |
| Return whether or not this is an old-time field. More... | |
| bool | hasStoredOldTimes () const |
| Return whether old-time fields have been stored yet. More... | |
| void | storeOldTimes () const |
| Store the old-time fields. More... | |
| void | clearOldTimes () |
| Clear old-time fields. More... | |
| void | nullOldestTime () |
| Set the oldest field pointer to nullObjectPtr. This removes the. More... | |
| label | nOldTimes (const bool includeNull=true) const |
| Return the number of old-time fields stored. More... | |
| const Field0Type & | oldTime () const |
| Return the old-time field. More... | |
| const Field0Type & | oldTime (const label n) const |
| Return the n-th old-time field. More... | |
| Field0Type & | oldTimeRef () |
| Return a non-const reference to the old-time field. More... | |
| Field0Type & | oldTimeRef (const label n) |
| Return a non-const reference to the n-th old time field. More... | |
| void | operator= (const OldTimeField< GeometricField< Type, GeoMesh, PrimitiveField > > &)=delete |
| Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
| static const GeometricField< Type, GeoMesh, PrimitiveField > & | null () |
| Return a null geometric field. More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >()) |
| Return a temporary field constructed from name,. More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const GeoMesh &, const dimensionSet &, const word &patchFieldType=Patch::calculatedType()) |
| Return a temporary field constructed from name, mesh, dimensionSet. More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const GeoMesh &, const dimensioned< Type > &, const word &patchFieldType=Patch::calculatedType()) |
| Return a temporary field constructed from mesh, dimensioned<Type> More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const GeoMesh &, const dimensioned< Type > &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) |
| Return a temporary field constructed from mesh, dimensioned<Type> More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) |
| Rename temporary field and return. More... | |
| template<template< class > class PrimitiveField2> | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const GeometricField< Type, GeoMesh, PrimitiveField2 > &, const word &patchFieldType) |
| Rename field, reset patch field type and return. More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &, const word &patchFieldType) |
| Rename temporary field, reset patch field type and return. More... | |
| template<template< class > class PrimitiveField2> | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const word &patchFieldType) |
| Return a temporary field constructed from name,. More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const tmp< Internal > &, const word &patchFieldType) |
| Return a temporary field constructed from name,. More... | |
| template<template< class > class PrimitiveField2> | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const GeometricField< Type, GeoMesh, PrimitiveField2 > &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) |
| Rename and reset patch fields types of field and return. More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) |
| Rename and reset patch fields types of temporary field and return. More... | |
| template<template< class > class PrimitiveField2> | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) |
| Return a temporary field constructed from IOobject,. More... | |
| static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const tmp< Internal > &, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList(), const HashTable< word > &fieldSourceTypes=HashTable< word >(), const IOerrorLocation &fieldSourceErrorLocation=IOerrorLocation()) |
| Return a temporary field constructed from IOobject,. More... | |
Static Public Member Functions inherited from DimensionedField< Type, GeoMesh, PrimitiveField > | |
| static const DimensionedField< Type, GeoMesh, PrimitiveField > & | null () |
| Return a null DimensionedField. More... | |
| static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const GeoMesh &mesh, const dimensionSet &, const PrimitiveField< Type > &) |
| Return a temporary field constructed from name, mesh,. More... | |
| static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const GeoMesh &mesh, const dimensionSet &, const tmp< PrimitiveField< Type >> &) |
| Return a temporary field constructed from name, mesh,. More... | |
| static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const GeoMesh &mesh, const dimensionSet &) |
| Return a temporary field constructed from name, mesh. More... | |
| static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > | New (const word &name, const GeoMesh &mesh, const dimensioned< Type > &) |
| Return a temporary field constructed from name, mesh. More... | |
| template<template< class > class PrimitiveField2> | |
| static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const DimensionedField< Type, GeoMesh, PrimitiveField2 > &) |
| Return a temporary field constructed from name and a field. More... | |
| static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > | New (const word &newName, const tmp< DimensionedField< Type, GeoMesh, PrimitiveField >> &) |
| Return renamed temporary field. More... | |
Static Public Member Functions inherited from regIOobject | |
| template<class Type > | |
| static Type & | store (Type *) |
| Transfer ownership of the given object pointer to its registry. More... | |
| template<class Type > | |
| static Type & | store (autoPtr< Type > &) |
| Transfer ownership of the given object pointer to its registry. More... | |
Static Public Member Functions inherited from IOobject | |
| static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
| Split path into instance, local, name components. More... | |
| template<class Name > | |
| static word | groupName (Name name, const word &group) |
| static word | group (const word &name) |
| Return group (extension part of name) More... | |
| static word | member (const word &name) |
| Return member (name without the extension) More... | |
| template<class Stream > | |
| static Stream & | writeBanner (Stream &os, bool noHint=false) |
| Write the standard OpenFOAM file/dictionary banner. More... | |
| template<class Stream > | |
| static Stream & | writeDivider (Stream &os) |
| Write the standard file section divider. More... | |
| template<class Stream > | |
| static Stream & | writeEndDivider (Stream &os) |
| Write the standard end file divider. More... | |
| static bool | writeHeader (Ostream &os, const IOstream::versionNumber version, const IOstream::streamFormat format, const word &type, const string ¬e, const fileName &location, const word &name) |
| Write header. More... | |
| static bool | writeHeader (Ostream &, const dictionary &foamFileDict) |
| Write header. More... | |
Friends | |
| template<class Type2 , class GeoMesh2 , template< class > class PrimitiveField2> | |
| class | GeometricField |
| Declare friendship with other geometric fields. More... | |
| Ostream & | operator (Ostream &, const GeometricField< Type, GeoMesh, PrimitiveField > &) |
| Ostream & | operator (Ostream &, const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> &) |
Additional Inherited Members | |
Static Public Attributes inherited from regIOobject | |
| static float | fileModificationSkew |
Static Public Attributes inherited from IOobject | |
| static constexpr const char * | foamFile = "FoamFile" |
| Keyword for the FoamFile header sub-dictionary. More... | |
| static const NamedEnum< fileCheckTypes, 4 > | fileCheckTypesNames |
| static fileCheckTypes | fileModificationChecking |
| Type of file modification checking. More... | |
Protected Member Functions inherited from regIOobject | |
| bool | readHeaderOk (const IOstream::streamFormat defaultFormat, const word &typeName) |
| Read header, check readOpt flags and read data if necessary. More... | |
Protected Member Functions inherited from IOobject | |
| template<class Type > | |
| bool | typeHeaderOk (const bool checkType) |
| Read header using typeGlobalFile to find file. More... | |
Protected Member Functions inherited from OldTimeField< DimensionedField< Type, GeoMesh, PrimitiveField > > | |
| bool | readOldTimeIfPresent () |
| Read old-time field from file if it is present. More... | |
| void | copyOldTimes (const IOobject &io, const OtherOldTime< OtherPrimitiveField > &) |
| Copy the old-times from the given field. More... | |
| void | copyOldTimes (const word &newName, const OtherOldTime< OtherPrimitiveField > &) |
| Copy the old-times from the given field. More... | |
Protected Member Functions inherited from OldTimeField< GeometricField< Type, GeoMesh, PrimitiveField > > | |
| bool | readOldTimeIfPresent () |
| Read old-time field from file if it is present. More... | |
| void | copyOldTimes (const IOobject &io, const OtherOldTime< OtherPrimitiveField > &) |
| Copy the old-times from the given field. More... | |
| void | copyOldTimes (const word &newName, const OtherOldTime< OtherPrimitiveField > &) |
| Copy the old-times from the given field. More... | |
Generic GeometricField class.
Definition at line 73 of file GeometricField.H.
| typedef Type Type_ |
Value type.
Definition at line 84 of file GeometricField.H.
| typedef GeoMesh GeoMesh_ |
Geometric mesh type.
Definition at line 87 of file GeometricField.H.
| typedef GeoMesh::Mesh Mesh |
Base mesh type from which GeoMesh is constructed.
Definition at line 90 of file GeometricField.H.
| typedef DimensionedField<Type, GeoMesh, PrimitiveField> Internal |
Type of the internal field from which this GeometricField is derived.
Definition at line 93 of file GeometricField.H.
| typedef DimensionedField<Type, GeoMesh, PrimitiveField> Base |
Type of the field from which this GeometricField is derived.
Definition at line 96 of file GeometricField.H.
| typedef GeoMesh::template PatchField<Type> Patch |
Type of the patch field of which the Boundary is composed.
Definition at line 99 of file GeometricField.H.
| typedef GeometricBoundaryField<Type, GeoMesh, PrimitiveField> Boundary |
Type of the boundary field.
Definition at line 102 of file GeometricField.H.
| typedef GeoMesh::template FieldSource<Type> Source |
Type of the field source of which the Sources is composed.
Definition at line 105 of file GeometricField.H.
| typedef GeometricFieldSources<Type, GeoMesh, PrimitiveField> Sources |
Type of the field sources.
Definition at line 108 of file GeometricField.H.
Component type of the elements of the field.
Definition at line 111 of file GeometricField.H.
| GeometricField | ( | const IOobject & | io, |
| const GeoMesh & | mesh, | ||
| const dimensionSet & | ds, | ||
| const word & | patchFieldType | ||
| ) |
Constructor given IOobject, mesh, dimensions and patch field type.
Warning: this allocates storage but does not set field values!
Definition at line 158 of file GeometricField.C.
References InfoInFunction.
| GeometricField | ( | const IOobject & | io, |
| const GeoMesh & | mesh, | ||
| const dimensioned< Type > & | dt, | ||
| const word & | patchFieldType = Patch::calculatedType() |
||
| ) |
Constructor given IOobject, mesh, dimensioned<Type>
and optional patch field type.
Definition at line 211 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const GeoMesh & | mesh, | ||
| const dimensioned< Type > & | dt, | ||
| const wordList & | wantedPatchTypes, | ||
| const wordList & | actualPatchTypes = wordList(), |
||
| const HashTable< word > & | fieldSourceTypes = HashTable<word>(), |
||
| const IOerrorLocation & | fieldSourceErrorLocation = IOerrorLocation() |
||
| ) |
Constructor given IOobject, mesh, dimensioned<Type>
and patch field types.
Definition at line 238 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const Internal & | diField, | ||
| const PtrList< Patch > & | ptfl, | ||
| const HashPtrTable< Source > & | stft = HashPtrTable<Source>() |
||
| ) |
Constructor from components.
Definition at line 268 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const GeoMesh & | mesh, | ||
| const dimensionSet & | ds, | ||
| const PrimitiveField< Type > & | iField, | ||
| const PtrList< Patch > & | ptfl, | ||
| const HashPtrTable< Source > & | stft = HashPtrTable<Source>() |
||
| ) |
Constructor from components.
Definition at line 294 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const GeoMesh & | mesh, | ||
| const dimensionSet & | dims = dimensions::invalid |
||
| ) |
Construct and read given IOobject.
Definition at line 320 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const GeoMesh & | mesh, | ||
| const dictionary & | dict, | ||
| const dimensionSet & | dims = dimensions::invalid |
||
| ) |
Construct from dictionary.
Definition at line 356 of file GeometricField.C.
| GeometricField | ( | const GeometricField< Type, GeoMesh, PrimitiveField > & | gf | ) |
Copy constructor.
Definition at line 392 of file GeometricField.C.
|
explicit |
Copy constructor.
Definition at line 415 of file GeometricField.C.
| GeometricField | ( | GeometricField< Type, GeoMesh, PrimitiveField > && | gf | ) |
Move constructor.
Definition at line 437 of file GeometricField.C.
| GeometricField | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf | ) |
Construct as copy of tmp.
Definition at line 459 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf | ||
| ) |
Construct as copy resetting IO parameters.
Definition at line 488 of file GeometricField.C.
References Foam::endl(), IOobject::info(), and InfoInFunction.

| GeometricField | ( | const IOobject & | io, |
| const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf | ||
| ) |
Construct as copy of tmp resetting IO parameters.
Definition at line 515 of file GeometricField.C.
| GeometricField | ( | const word & | newName, |
| const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf | ||
| ) |
Construct as copy resetting name.
Definition at line 548 of file GeometricField.C.
| GeometricField | ( | const word & | newName, |
| const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf | ||
| ) |
Construct as copy of tmp resetting name.
Definition at line 572 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf, | ||
| const word & | patchFieldType | ||
| ) |
Construct as copy resetting IO parameters and patch field type.
Definition at line 602 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf, | ||
| const word & | patchFieldType | ||
| ) |
Construct as copy of tmp resetting IO parameters.
and patch field type
Definition at line 632 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const DimensionedField< Type, GeoMesh, PrimitiveField2 > & | df, | ||
| const word & | patchFieldType | ||
| ) |
Constructor from internal field and patch field type.
Definition at line 668 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const tmp< Internal > & | tdf, | ||
| const word & | patchFieldType | ||
| ) |
Constructor from temporary internal field and patch field type.
Definition at line 696 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf, | ||
| const wordList & | patchFieldTypes, | ||
| const wordList & | actualPatchTypes = wordList(), |
||
| const HashTable< word > & | fieldSourceTypes = HashTable<word>(), |
||
| const IOerrorLocation & | fieldSourceErrorLocation = IOerrorLocation() |
||
| ) |
Construct as copy resetting IO parameters and patch field types.
Definition at line 725 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf, | ||
| const wordList & | patchFieldTypes, | ||
| const wordList & | actualPatchTypes = wordList(), |
||
| const HashTable< word > & | fieldSourceTypes = HashTable<word>(), |
||
| const IOerrorLocation & | fieldSourceErrorLocation = IOerrorLocation() |
||
| ) |
Construct as copy of tmp resetting IO parameters.
and patch field types
Definition at line 764 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, |
| const DimensionedField< Type, GeoMesh, PrimitiveField2 > & | df, | ||
| const wordList & | patchFieldTypes, | ||
| const wordList & | actualPatchTypes = wordList(), |
||
| const HashTable< word > & | fieldSourceTypes = HashTable<word>(), |
||
| const IOerrorLocation & | fieldSourceErrorLocation = IOerrorLocation() |
||
| ) |
Construct from IOobject, internal field and patch field types.
Definition at line 809 of file GeometricField.C.
References Foam::endl(), IOobject::info(), and InfoInFunction.

| GeometricField | ( | const IOobject & | io, |
| const tmp< Internal > & | tdf, | ||
| const wordList & | patchFieldTypes, | ||
| const wordList & | actualPatchTypes = wordList(), |
||
| const HashTable< word > & | fieldSourceTypes = HashTable<word>(), |
||
| const IOerrorLocation & | fieldSourceErrorLocation = IOerrorLocation() |
||
| ) |
Construct from IOobject, tmp internal field and patch field types.
Definition at line 843 of file GeometricField.C.
References tmp< T >::clear(), Foam::endl(), IOobject::info(), and InfoInFunction.

|
virtual |
Destructor.
Definition at line 1382 of file GeometricField.C.
| TypeName | ( | "GeometricField< Type, GeoMesh, PrimitiveField >" | ) |
Runtime type information.
|
inlinestatic |
Return a null geometric field.
Definition at line 32 of file GeometricFieldI.H.
Referenced by StationaryPhaseModel< BasePhaseModel >::alphaPhi(), StationaryPhaseModel< BasePhaseModel >::alphaPhiRef(), StationaryPhaseModel< BasePhaseModel >::alphaRhoPhi(), StationaryPhaseModel< BasePhaseModel >::alphaRhoPhiRef(), StationaryPhaseModel< BasePhaseModel >::continuityError(), advectionDiffusion::correct(), Poisson::correct(), forcesBase::devTau(), ddtScheme< Type >::fvcDdt(), boundedDdtScheme< Type >::fvcDdtPhiCorr(), CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtPhiCorr(), SLTSDdtScheme< Type >::fvcDdtPhiCorr(), steadyStateDdtScheme< Type >::fvcDdtPhiCorr(), boundedDdtScheme< Type >::fvcDdtUfCorr(), CoEulerDdtScheme< Type >::fvcDdtUfCorr(), CrankNicolsonDdtScheme< Type >::fvcDdtUfCorr(), SLTSDdtScheme< Type >::fvcDdtUfCorr(), steadyStateDdtScheme< Type >::fvcDdtUfCorr(), StationaryPhaseModel< BasePhaseModel >::K(), constSolidThermo::Kappa(), forcesBase::mu(), fvMesh::ownerBf(), StationaryPhaseModel< BasePhaseModel >::phi(), StationaryPhaseModel< BasePhaseModel >::phiRef(), fvMesh::polyFacesBf(), StationaryPhaseModel< BasePhaseModel >::pPrimef(), domainDecomposition::procFaceAddressingBf(), constSolidThermo::readProperty(), fvMeshStitcher::reconnect(), StationaryPhaseModel< BasePhaseModel >::U(), MovingPhaseModel< BasePhaseModel >::UfRef(), StationaryPhaseModel< BasePhaseModel >::UfRef(), and StationaryPhaseModel< BasePhaseModel >::URef().

| Foam::tmp< Foam::GeometricField< Type, GeoMesh, PrimitiveField > > clone |
Clone.
Definition at line 880 of file GeometricField.C.
Referenced by ParticleTracks< CloudType >::preFace().

| Foam::tmp< Foam::GeometricField< Type, GeoMesh, PrimitiveField > > cloneUnSliced |
Clone un-sliced.
Definition at line 891 of file GeometricField.C.
References mesh, Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, and Foam::dimensions::time.

|
static |
Return a temporary field constructed from name,.
internal field and list of patch fields
Definition at line 915 of file GeometricField.C.
References DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), Foam::name(), IOobject::NO_READ, and IOobject::NO_WRITE.
Referenced by fvMatrix< Type >::A(), spherical::a(), absorptionEmissionModel::aCont(), constant::aCont(), greyMean::aCont(), wideBand::aCont(), interRegionHeatTransfer::addSup(), cloud::aDisp(), absorptionEmissionModel::aDisp(), forcesBase::alpha(), parcelCloudList::alpha(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), twoPhaseSolver::alphaPredictor(), ThermoCloud< CloudType >::ap(), ParcelCloudBase< ParticleType >::ap(), parcelCloudList::ap(), populationBalance::Av(), heatTransferAv::Av(), blended< Type >::blendingFactor(), cellCoBlended< Type >::blendingFactor(), CoBlended< Type >::blendingFactor(), Implicit< CloudType >::cacheFields(), energyFluxBase::calcPhihs(), XiEqModel::calculateSchelkinEffect(), MRFZoneList::centrifugalAcceleration(), SpalartAllmarasDES< BasicMomentumTransportModel >::chi(), SpalartAllmaras< BasicMomentumTransportModel >::chi(), constantLiftCoefficient::Cl(), blendingMethod::constant(), kineticTheoryModel::correct(), populationBalance::correct(), populationBalanceModel::correct(), Poisson::correct(), phaseSystem::correctContinuityError(), deferred< Type >::correction(), multicomponentThermo::implementation::correctMassFractions(), phaseSystem::correctPhi(), IsothermalPhaseModel< BasePhaseModel >::correctThermo(), noSwarm::Cs(), constantVirtualMassCoefficient::Cvm(), constant::d(), fixedInterfacialArea::d(), noTurbulentDispersion::D(), spherical::d(), Fickian< BasicThermophysicalTransportModel >::D(), MaxwellStefan< BasicThermophysicalTransportModel >::D(), interfaceCompositionModel::D(), XiGModel::Db(), XiModel::Db(), uniformConstant::Db(), XiEqModel::Db(), basic::Dcu(), none::Dd(), MRFZoneList::DDt(), Fickian< BasicThermophysicalTransportModel >::DEff(), MaxwellStefan< BasicThermophysicalTransportModel >::DEff(), FickianEddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff(), fvMesh::delta(), blackBodyEmission::deltaLambdaT(), kEpsilonLopesdaCosta< BasicMomentumTransportModel >::DepsilonEff(), LamBremhorstKE::DepsilonEff(), LienCubicKE::DepsilonEff(), LienLeschziner::DepsilonEff(), ShihQuadraticKE::DepsilonEff(), kEpsilon< BasicMomentumTransportModel >::DepsilonEff(), LaunderSharmaKE< BasicMomentumTransportModel >::DepsilonEff(), LRR< BasicMomentumTransportModel >::DepsilonEff(), realizableKE< BasicMomentumTransportModel >::DepsilonEff(), RNGkEpsilon< BasicMomentumTransportModel >::DepsilonEff(), SSG< BasicMomentumTransportModel >::DepsilonEff(), v2f< BasicMomentumTransportModel >::DepsilonEff(), mixtureKEpsilon< BasicMomentumTransportModel >::DepsilonEff(), kineticTheoryModel::devTau(), phasePressureModel::devTau(), Maxwell< BasicMomentumTransportModel >::devTau(), simplifiedViscousStress< BasicMomentumTransportModel >::devTau(), kOmegaSSTLM< BasicMomentumTransportModel >::DgammaIntEff(), Foam::fvc::div(), Fickian< BasicThermophysicalTransportModel >::divq(), MaxwellStefan< BasicThermophysicalTransportModel >::divq(), unityLewisFourier< BasicThermophysicalTransportModel >::divq(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq(), kEpsilonLopesdaCosta< BasicMomentumTransportModel >::DkEff(), LamBremhorstKE::DkEff(), LienCubicKE::DkEff(), LienLeschziner::DkEff(), ShihQuadraticKE::DkEff(), dynamicKEqn< BasicMomentumTransportModel >::DkEff(), dynamicLagrangian< BasicMomentumTransportModel >::DkEff(), kEqn< BasicMomentumTransportModel >::DkEff(), kEpsilon< BasicMomentumTransportModel >::DkEff(), kOmega< BasicMomentumTransportModel >::DkEff(), kOmega2006< BasicMomentumTransportModel >::DkEff(), LaunderSharmaKE< BasicMomentumTransportModel >::DkEff(), realizableKE< BasicMomentumTransportModel >::DkEff(), RNGkEpsilon< BasicMomentumTransportModel >::DkEff(), v2f< BasicMomentumTransportModel >::DkEff(), kkLOmega::DkEff(), kOmegaSST< MomentumTransportModel, BasicMomentumTransportModel >::DkEff(), mixtureKEpsilon< BasicMomentumTransportModel >::DkEff(), SpalartAllmarasDES< BasicMomentumTransportModel >::DnuTildaEff(), SpalartAllmaras< BasicMomentumTransportModel >::DnuTildaEff(), kOmega< BasicMomentumTransportModel >::DomegaEff(), kOmega2006< BasicMomentumTransportModel >::DomegaEff(), kkLOmega::DomegaEff(), kOmegaSST< MomentumTransportModel, BasicMomentumTransportModel >::DomegaEff(), qZeta::DqEff(), LRR< BasicMomentumTransportModel >::DREff(), SSG< BasicMomentumTransportModel >::DREff(), qZeta::DzetaEff(), constantAspectRatio::E(), blackBodyEmission::EbDeltaLambdaT(), absorptionEmissionModel::eCont(), absorptionEmissionModel::ECont(), constant::eCont(), constant::ECont(), cloud::eDisp(), cloud::EDisp(), absorptionEmissionModel::eDisp(), absorptionEmissionModel::EDisp(), ThermoCloud< CloudType >::Ep(), ParcelCloudBase< ParticleType >::Ep(), parcelCloudList::Ep(), kOmegaSST< MomentumTransportModel, BasicMomentumTransportModel >::epsilon(), laminarModel< BasicMomentumTransportModel >::epsilon(), DeardorffDiffStress< BasicMomentumTransportModel >::epsilon(), dynamicKEqn< BasicMomentumTransportModel >::epsilon(), kEqn< BasicMomentumTransportModel >::epsilon(), LESeddyViscosity< BasicMomentumTransportModel >::epsilon(), WALE< BasicMomentumTransportModel >::epsilon(), kOmega< BasicMomentumTransportModel >::epsilon(), kOmega2006< BasicMomentumTransportModel >::epsilon(), SpalartAllmaras< BasicMomentumTransportModel >::epsilon(), Foam::saturationModels::evaluate(), comfort::execute(), processorField::execute(), cloudMass::execute(), cloudSurfaceArea::execute(), cloudVolume::execute(), noLift::F(), noWallLubrication::F(), noLift::Ff(), noWallLubrication::Ff(), SpalartAllmarasDES< BasicMomentumTransportModel >::fv1(), SpalartAllmaras< BasicMomentumTransportModel >::fv1(), EulerD2dt2Scheme< Type >::fvcD2dt2(), steadyStateD2dt2Scheme< Type >::fvcD2dt2(), backwardDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), steadyStateDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), basicThermo::gamma(), basic::Gk(), fvMatrix< Type >::H(), fvMatrix< Type >::H1(), constant::htc(), function1::htc(), kappaEff::htcByRhoCp(), ReynoldsAnalogy::htcByRhoCp(), momentumTransferSystem::invADVfs(), momentumTransferSystem::invADVs(), MaxwellStefan< BasicThermophysicalTransportModel >::j(), unityLewisFourier< BasicThermophysicalTransportModel >::j(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::j(), MaxwellStefan< unityLewisFourier< laminarThermophysicalTransportModel > >::j(), segregated::K(), noVirtualMass::K(), StationaryPhaseModel< BasePhaseModel >::k(), kkLOmega::k(), laminarModel< BasicMomentumTransportModel >::k(), SpalartAllmarasDES< BasicMomentumTransportModel >::k(), SpalartAllmaras< BasicMomentumTransportModel >::k(), Smagorinsky< BasicMomentumTransportModel >::k(), WALE< BasicMomentumTransportModel >::k(), blended< Type >::limiter(), upwind< Type >::limiter(), backwardDdtScheme< Type >::meshPhi(), CoEulerDdtScheme< Type >::meshPhi(), CrankNicolsonDdtScheme< Type >::meshPhi(), localEulerDdtScheme< Type >::meshPhi(), SLTSDdtScheme< Type >::meshPhi(), steadyStateDdtScheme< Type >::meshPhi(), interfaceProperties::n(), phaseSystem::nearInterface(), multiphaseVoFMixture::nearInterface(), nearWallDist::nearWallDist(), reuseTmpGeometricField< TypeR, Type1, GeoMesh, PrimitiveField >::New(), reuseTmpTmpGeometricField< TypeR, Type1, Type2, GeoMesh, PrimitiveField1, PrimitiveField2 >::New(), reuseTmpTmpGeometricField< TypeR, Type1, TypeR, GeoMesh, PrimitiveField1, Field >::New(), reuseTmpTmpGeometricField< TypeR, TypeR, Type2, GeoMesh, Field, PrimitiveField2 >::New(), reuseTmpTmpGeometricField< TypeR, TypeR, TypeR, GeoMesh, Field, Field >::New(), reuseTmpGeometricField< TypeR, TypeR, GeoMesh, Field >::New(), fvMesh::nf(), multicomponentThermo::implementation::normaliseY(), JohnsonJackson::nu(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), Gidaspow::nu(), HrenyaSinclair::nu(), none::nu(), Syamlal::nu(), strainRateFunction::nu(), ubMomentumTransportModel::nuEff(), generalisedNewtonian< BasicMomentumTransportModel >::nuEff(), lambdaThixotropic< BasicMomentumTransportModel, ViscousStress >::nuEff(), Maxwell< BasicMomentumTransportModel >::nuEff(), Stokes< BasicMomentumTransportModel, ViscousStress >::nuEff(), LESModel< BasicMomentumTransportModel >::nuEff(), RASModel< BasicMomentumTransportModel >::nuEff(), continuousGasKEpsilon< BasicMomentumTransportModel >::nuEff(), laminarModel< BasicMomentumTransportModel >::nut(), kEpsilonLopesdaCosta< BasicMomentumTransportModel >::omega(), LamBremhorstKE::omega(), LienCubicKE::omega(), LienLeschziner::omega(), qZeta::omega(), ShihQuadraticKE::omega(), laminarModel< BasicMomentumTransportModel >::omega(), DeardorffDiffStress< BasicMomentumTransportModel >::omega(), LESeddyViscosity< BasicMomentumTransportModel >::omega(), kEpsilon< BasicMomentumTransportModel >::omega(), LaunderSharmaKE< BasicMomentumTransportModel >::omega(), LRR< BasicMomentumTransportModel >::omega(), realizableKE< BasicMomentumTransportModel >::omega(), RNGkEpsilon< BasicMomentumTransportModel >::omega(), SpalartAllmaras< BasicMomentumTransportModel >::omega(), SSG< BasicMomentumTransportModel >::omega(), v2f< BasicMomentumTransportModel >::omega(), mixtureKEpsilon< BasicMomentumTransportModel >::omega(), consumptionSpeed::omega0Sigma(), constant::operator()(), RaviPetersen::operator()(), directionalDiffusivity::operator()(), inverseDistanceDiffusivity::operator()(), inverseFaceDistanceDiffusivity::operator()(), inverseVolumeDiffusivity::operator()(), motionDirectionalDiffusivity::operator()(), CarrierFieldBase< Type >::Function< Type >::operator()(), phaseCompressibleMomentumTransportModel::pPrime(), phaseIncompressibleMomentumTransportModel::pPrime(), kineticTheoryModel::pPrimef(), phasePressureModel::pPrimef(), phaseCompressibleMomentumTransportModel::pPrimef(), phaseIncompressibleMomentumTransportModel::pPrimef(), uniform::profile(), compressibleInterPhaseThermophysicalTransportModel::q(), Fickian< BasicThermophysicalTransportModel >::q(), Fourier< BasicThermophysicalTransportModel >::q(), MaxwellStefan< BasicThermophysicalTransportModel >::q(), unityLewisFourier< BasicThermophysicalTransportModel >::q(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::q(), anisotropic< SolidThermophysicalTransportModel >::q(), isotropic< SolidThermophysicalTransportModel >::q(), InertPhaseModel< BasePhaseModel >::Qdot(), EDC::Qdot(), noReaction::Qdot(), PaSR::Qdot(), Standard< ThermoType >::Qdot(), kineticTheoryModel::R(), phasePressureModel::R(), eddyViscosity< BasicMomentumTransportModel >::R(), laminarModel< BasicMomentumTransportModel >::R(), continuousGasKEpsilon< BasicMomentumTransportModel >::R(), Foam::fvc::reconstructMag(), forcesBase::rho(), continuousGasKEpsilon< BasicMomentumTransportModel >::rhoEff(), fvDOM::Rp(), noRadiation::Rp(), opaqueSolid::Rp(), P1::Rp(), viewFactor::Rp(), constantSurfaceTensionCoefficient::sigma(), constant::sigma(), temperatureDependent::sigma(), phaseSystem::sigma(), cloud::sigmaEff(), constant::sigmaEff(), noScatter::sigmaEff(), ThermoCloud< CloudType >::sigmap(), ParcelCloudBase< ParticleType >::sigmap(), parcelCloudList::sigmap(), phaseSystem::solve(), fvMeshToFvMesh::srcToTgt(), constant::Su(), Gulder::Su(), RaviPetersen::Su(), subCycleField< GeometricField >::subCycleField(), phaseSystem::sumAlphaMoving(), MPLIC::surfaceAlpha(), phaseSystem::surfaceTension(), incompressibleDriftFlux::surfaceTensionForce(), multiphaseVoFMixture::surfaceTensionForce(), relativeVelocityModel::tauDm(), Standard< ThermoType >::tc(), clippedLinear< Type >::weights(), midPoint< Type >::weights(), reverseLinear< Type >::weights(), populationBalanceSetSizeDistribution::write(), SCOPEXiEq::XiEq(), constant::XiEq(), and Henry::YfPrime().

|
static |
Return a temporary field constructed from name, mesh, dimensionSet.
and patch field type
Definition at line 949 of file GeometricField.C.
References fvMesh::db(), mesh, dimensioned< Type >::name(), Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::patchFieldType(), objectRegistry::temporaryObjectCached(), and objectRegistry::time().

|
static |
Return a temporary field constructed from mesh, dimensioned<Type>
and patch field type
Definition at line 983 of file GeometricField.C.
References fvMesh::db(), mesh, dimensioned< Type >::name(), Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::patchFieldType(), objectRegistry::temporaryObjectCached(), and objectRegistry::time().

|
static |
Return a temporary field constructed from mesh, dimensioned<Type>
and patch field types
Definition at line 1018 of file GeometricField.C.
References fvMesh::db(), mesh, dimensioned< Type >::name(), Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, objectRegistry::temporaryObjectCached(), and objectRegistry::time().

|
static |
Rename temporary field and return.
Definition at line 1058 of file GeometricField.C.
References IOobject::NO_READ, and IOobject::NO_WRITE.
|
static |
Rename field, reset patch field type and return.
|
static |
Rename temporary field, reset patch field type and return.
Definition at line 1123 of file GeometricField.C.
References IOobject::NO_READ, IOobject::NO_WRITE, and Foam::patchFieldType().

|
static |
Return a temporary field constructed from name,.
internal field and patch field type
|
static |
Return a temporary field constructed from name,.
temporary internal field and patch field type
Definition at line 1190 of file GeometricField.C.
References IOobject::NO_READ, IOobject::NO_WRITE, and Foam::patchFieldType().

|
static |
Rename and reset patch fields types of field and return.
|
static |
Rename and reset patch fields types of temporary field and return.
Definition at line 1263 of file GeometricField.C.
References IOobject::NO_READ, and IOobject::NO_WRITE.
|
static |
Return a temporary field constructed from IOobject,.
internal field and patch field types
|
static |
Return a temporary field constructed from IOobject,.
temporary internal field and patch field types
Definition at line 1342 of file GeometricField.C.
References IOobject::NO_READ, and IOobject::NO_WRITE.
| Foam::GeometricField< Type, GeoMesh, PrimitiveField >::Internal & internalFieldRef |
Return a reference to the dimensioned internal field.
Note: this increments the event counter and checks the old-time fields; avoid in loops.
Definition at line 1394 of file GeometricField.C.
Referenced by phaseSystem::correctContinuityError(), SpalartAllmarasDES< BasicMomentumTransportModel >::k(), laplaceFilter::laplaceFilter(), Foam::MapGeometricFields(), shockFluid::pressureCorrector(), multiphaseVoFSolver::setInterfaceRDeltaT(), twoPhaseVoFSolver::setInterfaceRDeltaT(), incompressibleFluid::setRDeltaT(), and writeCellVolumes::write().

|
inline |
Return a const-reference to the dimensioned internal field.
Definition at line 41 of file GeometricFieldI.H.
Referenced by fvMeshSubset::interpolate(), GeometricField< Type, GeoMesh, PrimitiveField >::operator=(), GeometricField< Type, GeoMesh, PrimitiveField >::operator==(), and fvMeshToFvMesh::srcToTgt().

|
inline |
Return a const-reference to the dimensioned internal field.
of a "vol" field. Useful in the formulation of source-terms for FV equations
Definition at line 29 of file volFieldsI.H.
Referenced by kOmega2006< BasicMomentumTransportModel >::correct(), realizableKE< BasicMomentumTransportModel >::correct(), phaseSystem::solve(), and fvMeshToFvMesh::srcToTgt().

| Foam::GeometricField< Type, GeoMesh, PrimitiveField >::Internal::FieldType & primitiveFieldRef |
Return a reference to the primitive field.
Note: this increments the event counter and checks the old-time fields; avoid in loops.
Definition at line 1405 of file GeometricField.C.
Referenced by MRFZone::addCentrifugalAcceleration(), MRFZone::addCoriolis(), anisotropicFilter::anisotropicFilter(), Foam::atan2(), Foam::fvc::average(), cellCoBlended< Type >::blendingFactor(), Foam::bound(), Implicit< CloudType >::cacheFields(), faceLimitedGrad< Type >::calcGrad(), multiValveEngine::movingObject::calcScale(), XiEqModel::calculateSchelkinEffect(), pointConstraints::constrain(), limitTemperature::constrain(), pointConstraints::constrainDisplacement(), wideBand::correct(), Foam::saturationModels::evaluate(), Foam::evaluate(), fvMatrix< Type >::flux(), fvMatrix< Type >::H(), fvMatrix< Type >::H1(), Foam::levelSetFraction(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::mag(), Foam::magSqr(), fvMesh::movePoints(), inverseVolumeDiffusivity::operator()(), Foam::pow(), Foam::stabilise(), Foam::fvc::surfaceIntegrateExtrapolate(), ReactingCloud< CloudType >::SYi(), Foam::T(), Foam::transform(), MomentumCloud< CloudType >::vDotSweep(), clippedLinear< Type >::weights(), reverseLinear< Type >::weights(), limitedSurfaceInterpolationScheme< Type >::weights(), basicSubGrid::XiEq(), SCOPEXiEq::XiEq(), and MRFZone::zero().

|
inline |
Return a const-reference to the primitive field.
Definition at line 50 of file GeometricFieldI.H.
Referenced by Foam::atan2(), cellMDLimitedGrad< Type >::calcGrad(), faceLimitedGrad< Type >::calcGrad(), multiValveEngine::movingObject::calcScale(), Foam::cmptAv(), Foam::component(), function2::correct(), motionSmootherAlgo::curPoints(), pointFieldDecomposer::decomposeField(), fvFieldDecomposer::decomposeFvSurfaceField(), fvFieldDecomposer::decomposeVolField(), faceAreaPairGAMGAgglomeration::faceAreaPairGAMGAgglomeration(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), ddtScheme< Type >::fvcDdtPhiCoeff(), gaussConvectionScheme< Type >::fvmDiv(), gaussLaplacianScheme< Type, GType >::fvmLaplacianUncorrected(), multicomponentLagrangianThermo::implementation::implementation(), fvMeshSubset::interpolate(), sampledIsoSurfaceSurface::interpolateField(), Kmesh::Kmesh(), Foam::levelSetFraction(), Foam::mag(), Foam::magSqr(), main(), GeometricField< Type, GeoMesh, PrimitiveField >::operator=(), GeometricField< Type, GeoMesh, PrimitiveField >::operator==(), displacement::points(), Foam::pow(), pointFieldReconstructor::reconstructField(), fvFieldReconstructor::reconstructFvSurfaceField(), fvFieldReconstructor::reconstructVolField(), GeometricField< Type, GeoMesh, PrimitiveField >::reset(), sampledIsoSurfaceSurface::sampleField(), patchInternalField::sampleField(), multiphaseVoFSolver::setInterfaceRDeltaT(), twoPhaseVoFSolver::setInterfaceRDeltaT(), incompressibleFluid::setRDeltaT(), SlicedGeometricField< Type, GeoMesh >::SlicedGeometricField(), phaseSystem::solve(), Foam::sqr(), Foam::stabilise(), Foam::T(), Foam::transform(), Foam::fvc::volumeIntegrate(), clippedLinear< Type >::weights(), and reverseLinear< Type >::weights().

| Foam::GeometricField< Type, GeoMesh, PrimitiveField >::Boundary & boundaryFieldRef |
Return a reference to the boundary field.
Note: this increments the event counter and checks the old-time fields; avoid in loops.
Definition at line 1416 of file GeometricField.C.
Referenced by MRFZone::addCentrifugalAcceleration(), Foam::adjustPhi(), Foam::atan2(), Foam::fvc::average(), Foam::bound(), limitTemperature::constrain(), Foam::constrainPhid(), PDRkEpsilon::correct(), mixtureKEpsilon< BasicMomentumTransportModel >::correct(), advectionDiffusion::correct(), gaussGrad< Type >::correctBoundaryConditions(), motionSmootherAlgo::correctBoundaryConditions(), phaseSystem::correctBoundaryFlux(), Foam::correctFixedFluxBCs(), phaseModel::correctInflowOutflow(), linearUpwindV< Type >::correction(), cubic< Type >::correction(), linearUpwind< Type >::correction(), phaseSystem::correctPhi(), Foam::correctUphiBCs(), fvFieldDecomposer::decomposeFvSurfaceField(), fvFieldDecomposer::decomposeVolField(), Foam::saturationModels::evaluate(), Foam::evaluate(), wallBoilingProperty::execute(), fvMatrix< Type >::flux(), ddtScheme< Type >::fvcDdtPhiCoeff(), fvMatrix< Type >::fvMatrix(), psiuMulticomponentThermo::heuBoundaryCorrection(), wallCellWallFunctionFvPatchScalarField::initMaster(), singleCellFvMesh::interpolate(), localMax< Type >::interpolate(), localMin< Type >::interpolate(), fvMeshSubset::interpolate(), interfaceCompressionNew::interpolate(), momentumTransferSystem::invADVs(), Foam::levelSetFraction(), Foam::MULES::limit(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::mag(), Foam::magSqr(), makeMomentumTransportModelTypes(), Foam::MapGeometricFields(), fvMesh::movePoints(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), consumptionSpeed::omega0Sigma(), RaviPetersen::operator()(), inversePointDistanceDiffusivity::operator()(), fvPatch::patchField(), Foam::pow(), shockFluid::pressureCorrector(), constSolidThermo::readProperty(), nearWallFields::sampleBoundaryField(), motionSmootherAlgo::setDisplacementPatchFields(), pointConstraints::setPatchFields(), snGradScheme< Type >::snGrad(), Foam::stabilise(), Gulder::Su(), RaviPetersen::Su(), MPLIC::surfaceAlpha(), Foam::T(), Foam::transform(), waveSurfacePressureFvPatchScalarField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), extendedCellToFaceStencil::weightedSum(), clippedLinear< Type >::weights(), reverseLinear< Type >::weights(), limitedSurfaceInterpolationScheme< Type >::weights(), Foam::patchCutPlot::writeLayers(), SCOPEXiEq::XiEq(), MRFZone::zero(), and wallLubricationModel::zeroGradWalls().

| Foam::GeometricField< Type, GeoMesh, PrimitiveField >::Boundary & boundaryFieldRefNoStoreOldTimes |
Return a reference to the boundary field without storing old times.
Note: this increments the event counter; avoid in loops.
Definition at line 1427 of file GeometricField.C.
|
inline |
Return const-reference to the boundary field.
Definition at line 59 of file GeometricFieldI.H.
Referenced by sectionalForcesBase::addFluid(), effectivenessHeatExchanger::addSup(), alphatJayatillekeWallFunctionFvPatchScalarField::alphat(), solidDisplacementThermo::alphav(), anisotropic< SolidThermophysicalTransportModel >::anisotropic(), Foam::atan2(), Foam::fvc::average(), CentredFitSnGradData< Polynomial >::calcFit(), forcesBase::calcForcesMoments(), cellMDLimitedGrad< Type >::calcGrad(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), adsorptionMassFractionFvPatchScalarField::calcPhiYp(), semiPermeableBaffleMassFractionFvPatchScalarField::calcPhiYp(), P1::calculate(), nutUSpaldingWallFunctionFvPatchScalarField::calcUTau(), fvPatch::Cf(), Foam::cmptAv(), Foam::component(), Foam::constrainPressure(), filmVoFTransfer::correct(), VoFFilmTransfer::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::correctContactAngle(), linearUpwindV< Type >::correction(), outletStabilised< Type >::correction(), pointLinear< Type >::correction(), linearUpwind< Type >::correction(), Foam::correctUphiBCs(), constSolidThermo::Cp(), constSolidThermo::Cpv(), constSolidThermo::Cv(), KocamustafaogullariIshiiDepartureDiameter::dDeparture(), pointFieldDecomposer::decomposeField(), fvFieldDecomposer::decomposeFvSurfaceField(), fvFieldDecomposer::decomposeVolField(), processorFvPatch::delta(), filmFvPatch::deltaCoeffs(), fvPatch::deltaCoeffs(), solidDisplacementThermo::E(), basicLagrangianThermo::eBoundaryTypes(), Foam::saturationModels::evaluate(), wallBoilingProperty::execute(), FacePostProcessing< CloudType >::FacePostProcessing(), KocamustafaogullariIshiiDepartureFrequency::fDeparture(), surfaceFieldValue::filterField(), EulerD2dt2Scheme< Type >::fvcD2dt2(), backwardDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), gaussConvectionScheme< Type >::fvmDiv(), gaussLaplacianScheme< Type, GType >::fvmLaplacianUncorrected(), multiphaseExternalTemperatureFvPatchScalarField::getKappa(), multiphaseCoupledTemperatureFvPatchScalarField::getNbr(), ubCoupledTemperatureFvPatchScalarField::getNbr(), multiphaseCoupledTemperatureFvPatchScalarField::getThis(), ubCoupledTemperatureFvPatchScalarField::getThis(), constSolidThermo::he(), psiuMulticomponentThermo::heuBoundaryTypes(), SurfaceFilmModel< CloudType >::inject(), twoPhaseMixture::interfaceFraction(), surfaceInterpolationScheme< scalar >::interpolate(), singleCellFvMesh::interpolate(), localMax< Type >::interpolate(), localMin< Type >::interpolate(), fvMeshSubset::interpolate(), interfaceCompressionNew::interpolate(), volPointInterpolation::interpolateUnconstrained(), momentumTransferSystem::invADVs(), Fickian< BasicThermophysicalTransportModel >::j(), MaxwellStefan< BasicThermophysicalTransportModel >::j(), unityLewisFourier< BasicThermophysicalTransportModel >::j(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::j(), phaseSolidThermophysicalTransportModel::kappa(), solidThermophysicalTransportModel::kappa(), compressibleInterPhaseThermophysicalTransportModel::kappaEff(), IsothermalPhaseModel< BasePhaseModel >::kappaEff(), SolidIsothermalPhaseModel< BasePhaseModel >::kappaEff(), Foam::levelSetFraction(), Foam::MULES::limit(), Foam::MULES::limiter(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::MULES::limitSumCorr(), fvPatch::lookupField(), Foam::mag(), fvPatch::magSf(), Foam::magSqr(), PatchFlowRateInjection< CloudType >::massFlowRate(), backwardDdtScheme< Type >::meshPhi(), EulerDdtScheme< Type >::meshPhi(), mappedValueFvPatchField< Type >::nbrPatchField(), compressibleMultiphaseVoFMixture::nu(), compressibleTwoPhaseVoFMixture::nu(), incompressibleDriftFluxMixture::nu(), incompressibleMultiphaseVoFMixture::nu(), incompressibleTwoPhaseVoFMixture::nu(), solidDisplacementThermo::nu(), strainRateViscosityModel::nu(), constant::nu(), fluidThermo::nu(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), strainRateFunction::nu(), KocamustafaogullariIshiiNucleationSite::nucleationSiteDensity(), nutURoughWallFunctionFvPatchScalarField::nut(), nutUSpaldingWallFunctionFvPatchScalarField::nut(), nutUWallFunctionFvPatchScalarField::nut(), eddyViscosity< BasicMomentumTransportModel >::nut(), ReynoldsStress< BasicMomentumTransportModel >::nut(), RaviPetersen::operator()(), GeometricField< Type, GeoMesh, PrimitiveField >::operator/=(), GeometricField< Type, GeoMesh, PrimitiveField >::operator=(), GeometricField< Type, GeoMesh, PrimitiveField >::operator==(), Foam::fvMeshStitcherTools::origNcMagSfb(), PatchCollisionDensity< CloudType >::PatchCollisionDensity(), fvPatch::patchField(), wallCellWallFunctionFvPatchScalarField::patchFieldsToWallCellField(), cyclicFvsPatchField< Type >::patchNeighbourField(), specieTransferTemperatureFvPatchScalarField::phiHep(), cloudBoundaryCollisionFlux::postCrossFaces(), Foam::pow(), shockFluid::pressureCorrector(), Fickian< BasicThermophysicalTransportModel >::q(), pointFieldReconstructor::reconstructField(), fvFieldReconstructor::reconstructFvSurfaceField(), Foam::fvc::reconstructMag(), fvFieldReconstructor::reconstructVolField(), GeometricField< Type, GeoMesh, PrimitiveField >::reset(), psiThermo::implementation::rho(), patchProbes::sample(), patch::sampleField(), triSurface::sampleField(), fvPatch::Sf(), snGradScheme< Type >::snGrad(), phaseSystem::solve(), CloudFilmTransfer< CloudType >::splashInteraction(), Foam::sqr(), fvMeshToFvMesh::srcToTgt(), Foam::stabilise(), Gulder::Su(), RaviPetersen::Su(), MPLIC::surfaceAlpha(), Foam::fvc::surfaceIntegrate(), Foam::fvc::surfaceSum(), Foam::fvc::sweep(), Foam::T(), Foam::transform(), fvMesh::unconform(), maxwellSlipUFvPatchVectorField::updateCoeffs(), advectiveFvPatchField< Type >::updateCoeffs(), mappedVelocityFluxFvPatchField::updateCoeffs(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), plenumPressureFvPatchScalarField::updateCoeffs(), prghCyclicPressureFvPatchScalarField::updateCoeffs(), waveSurfacePressureFvPatchScalarField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), specieTransferTemperatureFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), fixedEnergyFvPatchScalarField::updateCoeffs(), gradientEnergyFvPatchScalarField::updateCoeffs(), mixedEnergyFvPatchScalarField::updateCoeffs(), convectiveHeatTransferFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), FvWallInfo< WallLocation >::updateFace(), sweepData::updateFace(), PatchFlowRateInjection< CloudType >::volumetricFlowRate(), extendedUpwindCellToFaceStencil::weightedSum(), fvPatch::weights(), clippedLinear< Type >::weights(), reverseLinear< Type >::weights(), limitedSurfaceInterpolationScheme< Type >::weights(), outletStabilised< Type >::weights(), wallHeatTransferCoeff::write(), externalCoupledMixedFvPatchField< Type >::writeData(), ensightParts::writeField(), externalCoupledMixedFvPatchField< Type >::writeGeometry(), SCOPEXiEq::XiEq(), nutLowReWallFunctionFvPatchScalarField::yPlus(), nutUSpaldingWallFunctionFvPatchScalarField::yPlus(), and nutUWallFunctionFvPatchScalarField::yPlus().

| Foam::GeometricField< Type, GeoMesh, PrimitiveField >::Sources & sourcesRef |
Return a reference to the sources.
Note: this increments the event counter and checks the old-time fields; avoid in loops.
Definition at line 1438 of file GeometricField.C.
|
inline |
Return const-reference to the sources.
Definition at line 68 of file GeometricFieldI.H.
Referenced by fvSpecificSource::addSupType(), fvTotalSource::addSupType(), fvFieldDecomposer::decomposeVolField(), fvFieldSource< Type >::fieldSource(), LagrangianFieldSourceBase::fieldSource(), growthSecondaryPropertyFvScalarFieldSource::internalCoeff(), energyFvScalarFieldSource::internalCoeff(), GeometricField< Type, GeoMesh, PrimitiveField >::operator/=(), GeometricField< Type, GeoMesh, PrimitiveField >::reset(), cloud::Sfield(), growthSecondaryPropertyFvScalarFieldSource::sourceCoeffs(), basicLagrangianThermo::sourcesTypes(), energyFvScalarFieldSource::sourceValue(), compressibilityLagrangianScalarFieldSource::value(), densityLagrangianScalarFieldSource::value(), dynamicViscosityLagrangianScalarFieldSource::value(), energyLagrangianScalarFieldSource::value(), specificHeatCapacityLagrangianScalarFieldSource::value(), and thermalConductivityLagrangianScalarFieldSource::value().

| void storePrevIter |
Store the field as the previous iteration value.
Definition at line 1447 of file GeometricField.C.
References Foam::endl(), InfoInFunction, and Foam::name().
Referenced by singleRegionSolutionControl::storePrevIterTypeFields().


| void clearPrevIter |
Delete the previous iteration field.
Definition at line 1473 of file GeometricField.C.
References Foam::deleteDemandDrivenData().

| const Foam::GeometricField< Type, GeoMesh, Foam::Field > & prevIter |
Return previous iteration field.
Definition at line 1481 of file GeometricField.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.

| USING_OLD_TIME_FIELD | ( | GeometricField< Type, GeoMesh, PrimitiveField > | ) |
Use old-time methods from the base class.
| void correctBoundaryConditions |
Correct boundary field.
Definition at line 1497 of file GeometricField.C.
Referenced by porosityModel::addResistance(), MomentumCloud< CloudType >::alpha(), Foam::fvc::average(), cellCoBlended< Type >::blendingFactor(), XiFluid::bSolve(), Implicit< CloudType >::cacheFields(), cellMDLimitedGrad< Type >::calcGrad(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), pointConstraints::constrain(), pointConstraints::constrainDisplacement(), PDRkEpsilon::correct(), mixtureKEpsilon< BasicMomentumTransportModel >::correct(), SlicedGeometricField< Type, GeoMesh >::correctBoundaryConditions(), SpalartAllmarasDES< BasicMomentumTransportModel >::correctNut(), SpalartAllmaras< BasicMomentumTransportModel >::correctNut(), incompressibleDenseParticleFluid::correctPressure(), incompressibleFluid::correctPressure(), fvMatrix< Type >::H(), fvMatrix< Type >::H1(), incompressibleDenseParticleFluid::incompressibleDenseParticleFluid(), twoPhaseSolver::incompressiblePressureCorrector(), SpalartAllmarasDES< BasicMomentumTransportModel >::k(), makeMomentumTransportModelTypes(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), inverseVolumeDiffusivity::operator()(), compressibleMultiphaseVoF::pressureCorrector(), compressibleVoF::pressureCorrector(), incompressibleMultiphaseVoF::pressureCorrector(), shockFluid::pressureCorrector(), constSolidThermo::readProperty(), multiphaseVoFSolver::setInterfaceRDeltaT(), twoPhaseVoFSolver::setInterfaceRDeltaT(), incompressibleFluid::setRDeltaT(), Foam::fvc::smooth(), Foam::fvc::spread(), Foam::fvc::surfaceIntegrateExtrapolate(), Foam::fvc::sweep(), multicomponentFluid::thermophysicalPredictor(), XiFluid::uSolve(), and MomentumCloud< CloudType >::vDotSweep().

| void reset | ( | const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf | ) |
Reset the field contents to the given field.
Used for mesh to mesh mapping
Definition at line 1508 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), and GeometricField< Type, GeoMesh, PrimitiveField >::sources().
Referenced by Foam::MeshToMeshMapVolFields(), and FunctionalGeometricField< Type, GeoMesh >::reset().


| void reset | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf | ) |
Reset the field contents to the given tmp-field.
Used for mesh to mesh mapping
Definition at line 1521 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldAssignment, DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField(), and GeometricField< Type, GeoMesh, PrimitiveField >::sources().

| void reset | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Reset the field contents to the given tmp-field.
Used for mesh to mesh mapping
Definition at line 1550 of file GeometricField.C.
| bool needReference |
Does the field need a reference level for solution.
Definition at line 1562 of file GeometricField.C.
References forAll, patchi, and Foam::reduce().
Referenced by Foam::fv::CorrectPhi(), incompressibleDenseParticleFluid::correctPressure(), incompressibleFluid::correctPressure(), twoPhaseSolver::incompressiblePressureCorrector(), incompressibleMultiphaseVoF::pressureCorrector(), and Foam::setRefCell().


| tmp<GeometricField<cmptType, GeoMesh, Field> > component | ( | const | direction | ) | const |
Return a component of the field.
Referenced by anisotropicFilter::anisotropicFilter(), correctedSnGrad< Type >::correction(), faceCorrectedSnGrad< Type >::correction(), linearUpwind< Type >::correction(), cubic< Type >::correction(), Foam::fvc::magSqrGradGrad(), skewCorrected< Type >::skewCorrection(), and fvMatrix< Type >::solveCoupled().

|
virtual |
WriteData member function required by regIOobject.
Reimplemented from DimensionedField< Type, GeoMesh, PrimitiveField >.
Definition at line 1705 of file GeometricField.C.
References IOstream::good().
Referenced by GeometricField< Type, GeoMesh, PrimitiveField >::operator/=().


| Foam::tmp< Foam::GeometricField< Type, GeoMesh, Foam::Field > > T |
Return transpose (only if it is a tensor field)
Definition at line 1719 of file GeometricField.C.
References mesh, Foam::name(), tmp< T >::ref(), and Foam::T().
Referenced by compressibleVoFphase::compressibleVoFphase(), IsothermalPhaseModel< BasePhaseModel >::correctThermo(), flowType::execute(), displacementSBRStress::newPoints(), and ReynoldsStress< BasicMomentumTransportModel >::Refff().


| void relax | ( | const scalar | alpha | ) |
Relax field (for steady-state solution).
alpha >= 1 : no relaxation alpha < 1 : relaxation
Definition at line 1585 of file GeometricField.C.
References alpha(), Foam::endl(), InfoInFunction, and Foam::operator==().
Referenced by incompressibleDenseParticleFluid::correctPressure(), incompressibleFluid::correctPressure(), twoPhaseSolver::incompressiblePressureCorrector(), main(), and incompressibleMultiphaseVoF::pressureCorrector().


| Foam::scalar relaxationFactor |
Return the field relaxation factor read from fvSolution.
or 1 if not specified
Definition at line 1606 of file GeometricField.C.
References solution::fieldRelaxationFactor(), solutionControl::finalIteration(), mesh, Foam::name(), and fvMesh::solution().

| void relax |
Relax current field with respect to the cached previous iteration.
Relaxation factor is read from fvSolution
Definition at line 1631 of file GeometricField.C.
References relax().

| void relax | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> & | tgf, |
| const scalar | alpha | ||
| ) |
Relax given field with respect to the current field.
and reset the field to the result
Definition at line 1639 of file GeometricField.C.
References alpha(), Foam::endl(), InfoInFunction, and Foam::operator==().

| void relax | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Relax given field with respect to the current field.
and reset the field to the result Relaxation factor is read from fvSolution
Definition at line 1665 of file GeometricField.C.
References relax().

| Foam::word select | ( | bool | final | ) | const |
Select the final iteration parameters if `final' is true.
by returning the field name + "Final" otherwise the standard parameters by returning the field name
Definition at line 1675 of file GeometricField.C.
References Foam::name().

| void writeMinMax | ( | Ostream & | os | ) | const |
Helper function to write the min and max to an Ostream.
Definition at line 1692 of file GeometricField.C.
References Foam::endl(), Foam::max(), Foam::min(), and Foam::name().

| void negate |
Definition at line 1858 of file GeometricField.C.
References primitiveFieldRef().

| void replace | ( | const | direction, |
| const GeometricField< cmptType, GeoMesh, PrimitiveField2 > & | |||
| ) |
Replace a component field of the field.
Referenced by correctedSnGrad< Type >::correction(), faceCorrectedSnGrad< Type >::correction(), cubic< Type >::correction(), fvMatrix< Type >::H(), and fvMatrix< Type >::solveSegregated().

| void replace | ( | const | direction, |
| const tmp< GeometricField< cmptType, GeoMesh, PrimitiveField2 >> & | |||
| ) |
Replace a component field of the field.
| void replace | ( | const direction | d, |
| const dimensioned< cmptType > & | ds | ||
| ) |
Replace a component field of the field.
Definition at line 1810 of file GeometricField.C.
References primitiveFieldRef(), and dimensioned< Type >::value().

| void max | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1822 of file GeometricField.C.
References Foam::max(), primitiveFieldRef(), and dimensioned< Type >::value().
Referenced by Moraga::Cl(), Foam::combine(), and incompressibleFluid::setRDeltaT().


| void min | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1833 of file GeometricField.C.
References Foam::min(), primitiveFieldRef(), and dimensioned< Type >::value().
Referenced by Moraga::Cl(), Foam::combine(), and incompressibleFluid::setRDeltaT().


| void maxMin | ( | const dimensioned< Type > & | minDt, |
| const dimensioned< Type > & | maxDt | ||
| ) |
Definition at line 1844 of file GeometricField.C.
References Foam::max(), Foam::min(), primitiveFieldRef(), and dimensioned< Type >::value().
Referenced by comfort::execute(), and phaseSystem::solve().


|
inline |
Return a const-reference to the dimensioned internal field.
Useful in the formulation of source-terms for FV equations
Definition at line 79 of file GeometricFieldI.H.
| void operator= | ( | const GeometricField< Type, GeoMesh, PrimitiveField > & | gf | ) |
Definition at line 1868 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldAssignment, checkFieldOperation, and GeometricField< Type, GeoMesh, PrimitiveField >::internalField().

| void operator= | ( | GeometricField< Type, GeoMesh, PrimitiveField > && | gf | ) |
Definition at line 1882 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldAssignment, checkFieldOperation, and GeometricField< Type, GeoMesh, PrimitiveField >::internalField().

| void operator= | ( | const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf | ) |
Definition at line 1897 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldOperation, and GeometricField< Type, GeoMesh, PrimitiveField >::internalField().

| void operator= | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf | ) |
Definition at line 1910 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldAssignment, checkFieldOperation, PtrList< T >::clear(), DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField(), and primitiveFieldRef().

| void operator= | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Definition at line 1939 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldOperation, PtrList< T >::clear(), and GeometricField< Type, GeoMesh, PrimitiveField >::internalField().

| void operator= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1956 of file GeometricField.C.
References dimensioned< Type >::value().

Definition at line 1967 of file GeometricField.C.
References Foam::Zero.
| void operator== | ( | const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf | ) |
Definition at line 1979 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldOperation, and GeometricField< Type, GeoMesh, PrimitiveField >::internalField().

| void operator== | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField >> & | tgf | ) |
Definition at line 1992 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldOperation, PtrList< T >::clear(), DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), GeometricField< Type, GeoMesh, PrimitiveField >::primitiveField(), and primitiveFieldRef().

| void operator== | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Definition at line 2020 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), checkFieldOperation, PtrList< T >::clear(), and GeometricField< Type, GeoMesh, PrimitiveField >::internalField().

| void operator== | ( | const dimensioned< Type > & | dt | ) |
Definition at line 2037 of file GeometricField.C.
References dimensioned< Type >::value().

Definition at line 2048 of file GeometricField.C.
References Foam::Zero.
| void operator+= | ( | const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf | ) |
Definition at line 2094 of file GeometricField.C.
| void operator+= | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Definition at line 2094 of file GeometricField.C.
| void operator+= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 2094 of file GeometricField.C.
| void operator-= | ( | const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf | ) |
Definition at line 2095 of file GeometricField.C.
| void operator-= | ( | const tmp< GeometricField< Type, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Definition at line 2095 of file GeometricField.C.
| void operator-= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 2095 of file GeometricField.C.
| void operator*= | ( | const GeometricField< scalar, GeoMesh, PrimitiveField2 > & | gf | ) |
Definition at line 2096 of file GeometricField.C.
| void operator*= | ( | const tmp< GeometricField< scalar, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Definition at line 2096 of file GeometricField.C.
| void operator*= | ( | const dimensioned< scalar > & | dt | ) |
Definition at line 2096 of file GeometricField.C.
| void operator/= | ( | const GeometricField< scalar, GeoMesh, PrimitiveField2 > & | gf | ) |
Definition at line 2097 of file GeometricField.C.
References GeometricField< Type, GeoMesh, PrimitiveField >::boundaryField(), Foam::nl, GeometricField< Type, GeoMesh, PrimitiveField >::sources(), GeometricField< Type, GeoMesh, PrimitiveField >::writeData(), GeometricBoundaryField< Type, GeoMesh, PrimitiveField >::writeEntry(), and GeometricFieldSources< Type, GeoMesh, PrimitiveField >::writeEntry().

| void operator/= | ( | const tmp< GeometricField< scalar, GeoMesh, PrimitiveField2 >> & | tgf | ) |
Definition at line 2097 of file GeometricField.C.
| void operator/= | ( | const dimensioned< scalar > & | dt | ) |
Definition at line 2097 of file GeometricField.C.
| Foam::tmp<Foam::GeometricField<Type, GeoMesh, PrimitiveField> > New | ( | const word & | newName, |
| const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf, | ||
| const word & | patchFieldType | ||
| ) |
Definition at line 1090 of file GeometricField.C.
References IOobject::db(), IOobject::instance(), IOobject::local(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::patchFieldType(), and objectRegistry::temporaryObjectCached().

| Foam::tmp<Foam::GeometricField<Type, GeoMesh, PrimitiveField> > New | ( | const word & | newName, |
| const DimensionedField< Type, GeoMesh, PrimitiveField2 > & | df, | ||
| const word & | patchFieldType | ||
| ) |
Definition at line 1157 of file GeometricField.C.
References IOobject::db(), IOobject::instance(), IOobject::local(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::patchFieldType(), and objectRegistry::temporaryObjectCached().

| Foam::tmp<Foam::GeometricField<Type, GeoMesh, PrimitiveField> > New | ( | const word & | newName, |
| const GeometricField< Type, GeoMesh, PrimitiveField2 > & | gf, | ||
| const wordList & | patchFieldTypes, | ||
| const wordList & | actualPatchTypes, | ||
| const HashTable< word > & | fieldSourceTypes, | ||
| const IOerrorLocation & | fieldSourceErrorLocation | ||
| ) |
Definition at line 1224 of file GeometricField.C.
References IOobject::db(), IOobject::instance(), IOobject::local(), IOobject::NO_READ, IOobject::NO_WRITE, and objectRegistry::temporaryObjectCached().

| Foam::tmp<Foam::GeometricField<Type, GeoMesh, PrimitiveField> > New | ( | const word & | newName, |
| const DimensionedField< Type, GeoMesh, PrimitiveField2 > & | df, | ||
| const wordList & | patchFieldTypes, | ||
| const wordList & | actualPatchTypes, | ||
| const HashTable< word > & | fieldSourceTypes, | ||
| const IOerrorLocation & | fieldSourceErrorLocation | ||
| ) |
Definition at line 1303 of file GeometricField.C.
References IOobject::db(), IOobject::instance(), IOobject::local(), IOobject::NO_READ, IOobject::NO_WRITE, and objectRegistry::temporaryObjectCached().

| void replace | ( | const direction | d, |
| const GeometricField< typename GeometricField< Type, GeoMesh, PrimitiveField >::cmptType, GeoMesh, PrimitiveField2 > & | gcf | ||
| ) |
Definition at line 1772 of file GeometricField.C.
References primitiveFieldRef().

| void replace | ( | const direction | d, |
| const tmp< GeometricField< typename GeometricField< Type, GeoMesh, PrimitiveField >::cmptType, GeoMesh, PrimitiveField2 > > & | gcf | ||
| ) |
Definition at line 1790 of file GeometricField.C.
|
inline |
|
inline |
Definition at line 38 of file volFieldsI.H.
|
inline |
Definition at line 49 of file volFieldsI.H.
|
friend |
Declare friendship with other geometric fields.
Definition at line 161 of file GeometricField.H.
|
friend |
|
friend |