Generic GeometricField class. More...
#include <OpenFOAM/GeometricField.H>
Generic GeometricField class.
Definition at line 80 of file GeometricField.H.
Classes | |
class | GeometricBoundaryField |
Public Types | |
typedef GeoMesh::Mesh | Mesh |
typedef GeoMesh::BoundaryMesh | BoundaryMesh |
typedef DimensionedField< Type, GeoMesh > | DimensionedInternalField |
typedef Field< Type > | InternalField |
typedef PatchField< Type > | PatchFieldType |
typedef Field< Type >::cmptType | cmptType |
Component type. | |
![]() | |
![]() | |
typedef SubField< Type > | subField |
Declare type of subField. | |
![]() | |
typedef SubList< Type > | subList |
Declare type of subList. | |
![]() | |
typedef Type | value_type |
Type of values the UList contains. | |
typedef Type & | reference |
Type that can be used for storing into. | |
typedef const Type & | const_reference |
Type that can be used for storing into. | |
typedef label | difference_type |
The type that can represent the difference between any two. | |
typedef label | size_type |
The type that can represent the size of a UList. | |
typedef Type * | iterator |
Random access iterator for traversing UList. | |
typedef const Type * | const_iterator |
Random access iterator for traversing UList. | |
typedef Type * | reverse_iterator |
Reverse iterator for reverse traversal of UList. | |
typedef const Type * | const_reverse_iterator |
Reverse iterator for reverse traversal of constant UList. |
Public Member Functions | |
TypeName ("GeometricField") | |
Runtime type information. | |
GeometricField (const IOobject &, const Mesh &, const dimensionSet &, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
Constructor given IOobject, mesh, dimensions and patch type. | |
GeometricField (const IOobject &, const Mesh &, const dimensionSet &, const wordList &patchFieldTypes) | |
Constructor given IOobject, mesh, dimensions and patch types. | |
GeometricField (const IOobject &, const Mesh &, const dimensioned< Type > &, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
Constructor given IOobject, mesh, dimensioned<Type> and patch type. | |
GeometricField (const IOobject &, const Mesh &, const dimensioned< Type > &, const wordList &patchFieldTypes) | |
Constructor given IOobject, mesh, dimensioned<Type> and patch types. | |
GeometricField (const IOobject &, const Mesh &, const dimensionSet &, const Field< Type > &, const PtrList< PatchField< Type > > &) | |
Constructor from components. | |
GeometricField (const IOobject &, const Mesh &) | |
Construct and read given IOobject. | |
GeometricField (const IOobject &, const Mesh &, Istream &) | |
Construct and read from given stream. | |
GeometricField (const IOobject &, const Mesh &, const dictionary &) | |
Construct from dictionary. | |
GeometricField (const GeometricField< Type, PatchField, GeoMesh > &) | |
Construct as copy. | |
GeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &) | |
Construct as copy of tmp<GeometricField> deleting argument. | |
GeometricField (const word &newName, const GeometricField< Type, PatchField, GeoMesh > &) | |
Construct as copy resetting name. | |
GeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &, const word &patchFieldType) | |
Construct as copy resetting name. | |
GeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &, const wordList &patchFieldTypes) | |
Construct as copy resetting IO parameters and boundary types. | |
virtual | ~GeometricField () |
Destructor. | |
DimensionedInternalField & | dimensionedInternalField () |
Return dimensioned internal field. | |
const DimensionedInternalField & | dimensionedInternalField () const |
Return dimensioned internal field. | |
InternalField & | internalField () |
Return internal field. | |
const InternalField & | internalField () const |
Return internal field. | |
GeometricBoundaryField & | boundaryField () |
Return reference to GeometricBoundaryField. | |
const GeometricBoundaryField & | boundaryField () const |
Return reference to GeometricBoundaryField for const field. | |
label | timeIndex () const |
Return the time index of the field. | |
label & | timeIndex () |
Return the time index of the field. | |
void | storeOldTimes () const |
Store the old-time fields. | |
void | storeOldTime () const |
Store the old-time field. | |
label | nOldTimes () const |
Return the number of old time fields stored. | |
const GeometricField< Type, PatchField, GeoMesh > & | oldTime () const |
Return old time field. | |
GeometricField< Type, PatchField, GeoMesh > & | oldTime () |
Return non-const old time field. | |
void | storePrevIter () const |
Store the field as the previous iteration value. | |
const GeometricField< Type, PatchField, GeoMesh > & | prevIter () const |
Return previous iteration field. | |
void | correctBoundaryConditions () |
Correct boundary field. | |
bool | needReference () const |
Does the field need a reference level for solution. | |
tmp< GeometricField< cmptType, PatchField, GeoMesh > > | component (const direction) const |
Return a component of the field. | |
bool | writeData (Ostream &) const |
WriteData member function required by regIOobject. | |
tmp< GeometricField< Type, PatchField, GeoMesh > > | T () const |
Return transpose (only if it is a tensor field) | |
void | relax (const scalar alpha) |
Relax field (for steady-state solution). | |
void | relax () |
Relax field (for steady-state solution). | |
word | select (bool final) const |
Select the final iteration parameters if `final' is true. | |
void | negate () |
Negate this field. | |
void | replace (const direction, const GeometricField< cmptType, PatchField, GeoMesh > &) |
void | replace (const direction, const dimensioned< cmptType > &) |
void | max (const dimensioned< Type > &) |
void | min (const dimensioned< Type > &) |
void | max (const GeometricField< Type, PatchField, GeoMesh > &, const dimensioned< Type > &) |
void | min (const GeometricField< Type, PatchField, GeoMesh > &, const dimensioned< Type > &) |
void | scale (const GeometricField< Type, PatchField, GeoMesh > &, const GeometricField< Type, PatchField, GeoMesh > &) |
void | scale (const GeometricField< Type, PatchField, GeoMesh > &, const dimensioned< Type > &) |
void | operator= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator= (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
void | operator= (const dimensioned< Type > &) |
void | operator== (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
void | operator== (const dimensioned< Type > &) |
void | operator+= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator+= (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
void | operator-= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator-= (const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
void | operator*= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator*= (const tmp< GeometricField< scalar, PatchField, GeoMesh > > &) |
void | operator/= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator/= (const tmp< GeometricField< scalar, PatchField, GeoMesh > > &) |
void | operator+= (const dimensioned< Type > &) |
void | operator-= (const dimensioned< Type > &) |
void | operator*= (const dimensioned< scalar > &) |
void | operator/= (const dimensioned< scalar > &) |
template<> | |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
Return a component field of the field. | |
template<> | |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &gsf) |
template<> | |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
Return a component field of the field. | |
template<> | |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &sf) |
![]() | |
TypeName ("DimensionedField") | |
Runtime type information. | |
DimensionedField (const IOobject &, const Mesh &mesh, const dimensionSet &, const Field< Type > &) | |
Construct from components. | |
DimensionedField (const IOobject &, const Mesh &mesh, const dimensionSet &) | |
Construct from components. | |
DimensionedField (const IOobject &, const Mesh &mesh, const dimensioned< Type > &) | |
Construct from components. | |
DimensionedField (const IOobject &, const Mesh &mesh, const word &fieldDictEntry="value") | |
Construct from Istream. | |
void | readField (const dictionary &fieldDict, const word &fieldDictEntry="value") |
DimensionedField (const DimensionedField< Type, GeoMesh > &) | |
Construct as copy. | |
DimensionedField (DimensionedField< Type, GeoMesh > &, bool reUse) | |
Construct as copy or re-use as specified. | |
DimensionedField (const Xfer< DimensionedField< Type, GeoMesh > > &) | |
Construct by transferring the DimensionedField. | |
DimensionedField (const IOobject &, const DimensionedField< Type, GeoMesh > &) | |
Construct as copy of tmp<DimensionedField> deleting argument. | |
DimensionedField (const word &newName, const DimensionedField< Type, GeoMesh > &) | |
Construct as copy resetting name. | |
DimensionedField (const word &newName, DimensionedField< Type, GeoMesh > &, bool reUse) | |
Construct as copy resetting name and re-use as specified. | |
DimensionedField (const word &newName, const Xfer< DimensionedField< Type, GeoMesh > > &) | |
Construct by transferring the DimensionedField with a new name. | |
tmp< DimensionedField< Type, GeoMesh > > | clone () const |
Construct as copy resetting name. | |
virtual | ~DimensionedField () |
Destructor. | |
const Mesh & | mesh () const |
Return mesh. | |
const dimensionSet & | dimensions () const |
Return dimensions. | |
dimensionSet & | dimensions () |
Return non-const access to dimensions. | |
const Field< Type > & | field () const |
Field< Type > & | field () |
void | replace (const direction, const DimensionedField< cmptType, GeoMesh > &) |
Replace a component field of the field. | |
void | replace (const direction, const tmp< DimensionedField< cmptType, GeoMesh > > &) |
Replace a component field of the field. | |
dimensioned< Type > | average () const |
Calculate and return arithmetic average. | |
dimensioned< Type > | weightedAverage (const DimensionedField< scalar, GeoMesh > &) const |
Calculate and return weighted average. | |
dimensioned< Type > | weightedAverage (const tmp< DimensionedField< scalar, GeoMesh > > &) const |
Calculate and return weighted average. | |
bool | writeData (Ostream &, const word &fieldDictEntry) const |
void | operator= (const DimensionedField< Type, GeoMesh > &) |
void | operator= (const tmp< DimensionedField< Type, GeoMesh > > &) |
void | operator+= (const DimensionedField< Type, GeoMesh > &) |
void | operator+= (const tmp< DimensionedField< Type, GeoMesh > > &) |
void | operator-= (const DimensionedField< Type, GeoMesh > &) |
void | operator-= (const tmp< DimensionedField< Type, GeoMesh > > &) |
void | operator*= (const DimensionedField< scalar, GeoMesh > &) |
void | operator*= (const tmp< DimensionedField< scalar, GeoMesh > > &) |
void | operator/= (const DimensionedField< scalar, GeoMesh > &) |
void | operator/= (const tmp< DimensionedField< scalar, GeoMesh > > &) |
![]() | |
TypeName ("regIOobject") | |
Runtime type information. | |
regIOobject (const IOobject &, const bool isTime=false) | |
Construct from IOobject. Optional flag for if IOobject is the. | |
regIOobject (const regIOobject &) | |
Construct as copy. | |
regIOobject (const regIOobject &, bool registerCopy) | |
Construct as copy, and transferring registry registration to copy. | |
virtual | ~regIOobject () |
bool | checkIn () |
Add object to registry. | |
bool | checkOut () |
Remove object from registry. | |
bool | ownedByRegistry () const |
Is this object owned by the registry? | |
void | store () |
Transfer ownership of this object to its registry. | |
void | release () |
Release ownership of this object from its registry. | |
label | eventNo () const |
Event number at last update. | |
label & | eventNo () |
Event number at last update. | |
bool | upToDate (const word &) const |
Am I uptodate with respect to other regIOobjects. | |
bool | upToDate (const word &, const word &) const |
bool | upToDate (const word &, const word &, const word &) const |
bool | upToDate (const word &, const word &, const word &, const word &) const |
void | setUpToDate () |
Flag me as up to date. | |
virtual void | rename (const word &newName) |
Rename. | |
Istream & | readStream (const word &) |
Return Istream and check object type against that given. | |
void | close () |
Close Istream. | |
virtual bool | readData (Istream &) |
Virtual readData function. | |
virtual bool | read () |
Read object. | |
virtual bool | modified () const |
Return true if the object's file has been modified. | |
virtual bool | readIfModified () |
Read object if modified. | |
virtual bool | writeObject (IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType) const |
Write using given format, version and compression. | |
virtual bool | write () const |
Write using setting from DB. | |
void | operator= (const IOobject &) |
![]() | |
TypeName ("IOobject") | |
Runtime type information. | |
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. | |
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. | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from path, registry, io options. | |
virtual | ~IOobject () |
const Time & | time () const |
Return time. | |
const objectRegistry & | db () const |
Return the local objectRegistry. | |
const word & | name () const |
Return name. | |
const word & | headerClassName () const |
Return name of the class name read from header. | |
string & | note () |
Return non-constant access to the optional note. | |
const string & | note () const |
Return the optional note. | |
bool | registerObject () const |
Register object created from this IOobject with registry if true. | |
readOption | readOpt () const |
readOption & | readOpt () |
writeOption | writeOpt () const |
writeOption & | writeOpt () |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const |
fileName & | instance () |
const fileName & | local () const |
fileName | path () const |
Return complete path. | |
fileName | path (const word &instance, const fileName &local="") const |
Return complete path with alternative instance and local. | |
fileName | objectPath () const |
Return complete path + object name. | |
fileName | filePath () const |
Return complete path + object name if the file exists. | |
bool | readHeader (Istream &) |
Read header. | |
bool | headerOk () |
Read and check header info. | |
bool | writeHeader (Ostream &) const |
Write header. | |
bool | good () const |
bool | bad () const |
InfoProxy< IOobject > | info () const |
Return info proxy. | |
![]() | |
Field () | |
Construct null. | |
Field (const label) | |
Construct given size. | |
Field (const label, const Type &) | |
Construct given size and initial value. | |
Field (const UList< Type > &) | |
Construct as copy of a UList<Type> | |
Field (const Xfer< List< Type > > &) | |
Construct by transferring the List contents. | |
Field (const UList< Type > &mapF, const unallocLabelList &mapAddressing) | |
Construct by 1 to 1 mapping from the given field. | |
Field (const tmp< Field< Type > > &tmapF, const unallocLabelList &mapAddressing) | |
Construct by 1 to 1 mapping from the given tmp field. | |
Field (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &weights) | |
Construct by interpolative mapping from the given field. | |
Field (const tmp< Field< Type > > &tmapF, const labelListList &mapAddressing, const scalarListList &weights) | |
Construct by interpolative mapping from the given tmp field. | |
Field (const UList< Type > &mapF, const FieldMapper &map) | |
Construct by mapping from the given field. | |
Field (const tmp< Field< Type > > &tmapF, const FieldMapper &map) | |
Construct by mapping from the given tmp field. | |
Field (const Field< Type > &) | |
Construct as copy. | |
Field (Field< Type > &, bool reUse) | |
Construct as copy or re-use as specified. | |
Field (const Xfer< Field< Type > > &) | |
Construct by transferring the Field contents. | |
Field (const typename Field< Type >::subField &) | |
Construct as copy of subField. | |
Field (Istream &) | |
Construct as copy of tmp<Field> | |
Field (const word &keyword, const dictionary &dict, const label size) | |
Construct from a dictionary entry. | |
void | map (const UList< Type > &mapF, const unallocLabelList &mapAddressing) |
1 to 1 map from the given field | |
void | map (const tmp< Field< Type > > &tmapF, const unallocLabelList &mapAddressing) |
1 to 1 map from the given tmp field | |
void | map (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &weights) |
Interpolative map from the given field. | |
void | map (const tmp< Field< Type > > &tmapF, const labelListList &mapAddressing, const scalarListList &weights) |
Interpolative map from the given tmp field. | |
void | map (const UList< Type > &mapF, const FieldMapper &map) |
Map from the given field. | |
void | map (const tmp< Field< Type > > &tmapF, const FieldMapper &map) |
Map from the given tmp field. | |
void | autoMap (const FieldMapper &map) |
Map from self. | |
void | rmap (const UList< Type > &mapF, const unallocLabelList &mapAddressing) |
1 to 1 reverse-map from the given field | |
void | rmap (const tmp< Field< Type > > &tmapF, const unallocLabelList &mapAddressing) |
1 to 1 reverse-map from the given tmp field | |
void | rmap (const UList< Type > &mapF, const unallocLabelList &mapAddressing, const scalarList &weights) |
Interpolative reverse map from the given field. | |
void | rmap (const tmp< Field< Type > > &tmapF, const unallocLabelList &mapAddressing, const scalarList &weights) |
Interpolative reverse map from the given tmp field. | |
void | replace (const direction, const UList< cmptType > &) |
Replace a component field of the field. | |
void | replace (const direction, const tmp< Field< cmptType > > &) |
Replace a component field of the field. | |
void | replace (const direction, const cmptType &) |
Replace a component field of the field. | |
void | writeEntry (const word &keyword, Ostream &os) const |
Write the field as a dictionary entry. | |
void | operator= (const Field< Type > &) |
void | operator= (const UList< Type > &) |
Assignment from UList operator. Takes linear time. | |
void | operator= (const SubField< Type > &) |
void | operator= (const tmp< Field< Type > > &) |
void | operator= (const Type &) |
Assignment of all entries to the given value. | |
template<class Form , class Cmpt , int nCmpt> | |
void | operator= (const VectorSpace< Form, Cmpt, nCmpt > &) |
void | operator+= (const UList< Type > &) |
void | operator+= (const tmp< Field< Type > > &) |
void | operator-= (const UList< Type > &) |
void | operator-= (const tmp< Field< Type > > &) |
void | operator*= (const UList< scalar > &) |
void | operator*= (const tmp< Field< scalar > > &) |
void | operator/= (const UList< scalar > &) |
void | operator/= (const tmp< Field< scalar > > &) |
void | operator+= (const Type &) |
void | operator-= (const Type &) |
void | operator*= (const scalar &) |
void | operator/= (const scalar &) |
template<class Type> | |
void | operator= (const tmp< Field > &rhs) |
![]() | |
refCount () | |
Construct null with zero count. | |
int | count () const |
Return the reference count. | |
bool | okToDelete () const |
Return true if the reference count is zero. | |
void | resetRefCount () |
Reset the reference count to zero. | |
void | operator++ () |
Increment the reference count. | |
void | operator++ (int) |
Increment the reference count. | |
void | operator-- () |
Decrement the reference count. | |
void | operator-- (int) |
Decrement the reference count. | |
![]() | |
label | size () const |
Return the number of elements in the UList. | |
List () | |
Null constructor. | |
List (const label) | |
Construct with given size. | |
List (const label, const Type &) | |
Construct with given size and value for all elements. | |
List (const List< Type > &) | |
Copy constructor. | |
List (const Xfer< List< Type > > &) | |
Construct by transferring the parameter contents. | |
List (List< Type > &, bool reUse) | |
Construct as copy or re-use as specified. | |
List (const UList< Type > &, const unallocLabelList &mapAddressing) | |
Construct as subset. | |
List (InputIterator first, InputIterator last) | |
Construct given start and end iterators. | |
List (const FixedList< Type, Size > &) | |
Construct as copy of FixedList<T, Size> | |
List (const PtrList< Type > &) | |
Construct as copy of PtrList<T> | |
List (const SLList< Type > &) | |
Construct as copy of SLList<T> | |
List (const IndirectList< Type > &) | |
Construct as copy of IndirectList<T> | |
List (const UIndirectList< Type > &) | |
Construct as copy of UIndirectList<T> | |
List (const BiIndirectList< Type > &) | |
Construct as copy of BiIndirectList<T> | |
List (Istream &) | |
Construct from Istream. | |
~List () | |
void | resize (const label) |
Reset size of List. | |
void | resize (const label, const Type &) |
Reset size of List and value for new elements. | |
void | setSize (const label) |
Reset size of List. | |
void | setSize (const label, const Type &) |
Reset size of List and value for new elements. | |
void | clear () |
Clear the list, i.e. set size to zero. | |
void | append (const UList< Type > &) |
Append a List at the end of this list. | |
void | append (const UIndirectList< Type > &) |
Append a UIndirectList at the end of this list. | |
void | transfer (List< Type > &) |
Transfer the contents of the argument List into this list. | |
void | transfer (DynamicList< Type, SizeInc, SizeMult, SizeDiv > &) |
Transfer the contents of the argument List into this list. | |
void | transfer (SortableList< Type > &) |
Transfer the contents of the argument List into this list. | |
Xfer< List< Type > > | xfer () |
Transfer contents to the Xfer container. | |
Type & | newElmt (const label) |
Return subscript-checked element of UList. | |
void | operator= (const List< Type > &) |
Assignment operator. Takes linear time. | |
void | operator= (const SLList< Type > &) |
Assignment from SLList operator. Takes linear time. | |
void | operator= (const IndirectList< Type > &) |
Assignment from IndirectList operator. Takes linear time. | |
void | operator= (const UIndirectList< Type > &) |
Assignment from UIndirectList operator. Takes linear time. | |
void | operator= (const BiIndirectList< Type > &) |
Assignment from BiIndirectList operator. Takes linear time. | |
![]() | |
UList () | |
Null constructor. | |
UList (Type *__restrict__ v, label size) | |
Construct from components. | |
label | fcIndex (const label i) const |
Return the forward circular index, i.e. the next index. | |
label | rcIndex (const label i) const |
Return the reverse circular index, i.e. the previous index. | |
label | byteSize () const |
Return the binary size in number of characters of the UList. | |
const Type * | cdata () const |
Return a const pointer to the first data element,. | |
Type * | data () |
Return a pointer to the first data element,. | |
void | checkStart (const label start) const |
Check start is within valid range (0 ... size-1). | |
void | checkSize (const label size) const |
Check size is within valid range (0 ... size). | |
void | checkIndex (const label i) const |
Check index i is within valid range (0 ... size-1). | |
void | writeEntry (Ostream &) const |
Write the UList as a dictionary entry. | |
void | assign (const UList< Type > &) |
Assign elements to those from UList. | |
Type & | operator[] (const label) |
Return element of UList. | |
const Type & | operator[] (const label) const |
Return element of constant UList. | |
operator const Foam::List< Type > & () const | |
Allow cast to a const List<T>&. | |
iterator | begin () |
Return an iterator to begin traversing the UList. | |
const_iterator | begin () const |
Return const_iterator to begin traversing the constant UList. | |
iterator | end () |
Return an iterator to end traversing the UList. | |
const_iterator | end () const |
Return const_iterator to end traversing the constant UList. | |
const_iterator | cbegin () const |
Return const_iterator to begin traversing the constant UList. | |
const_iterator | cend () const |
Return const_iterator to end traversing the constant UList. | |
reverse_iterator | rbegin () |
Return reverse_iterator to begin reverse traversing the UList. | |
const_reverse_iterator | rbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. | |
reverse_iterator | rend () |
Return reverse_iterator to end reverse traversing the UList. | |
const_reverse_iterator | rend () const |
Return const_reverse_iterator to end reverse traversing the UList. | |
const_reverse_iterator | crbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. | |
const_reverse_iterator | crend () const |
Return const_reverse_iterator to end reverse traversing the UList. | |
label | max_size () const |
Return size of the largest possible UList. | |
bool | empty () const |
Return true if the UList is empty (ie, size() is zero). | |
void | swap (UList< Type > &) |
Swap two ULists of the same type in constant time. | |
bool | operator== (const UList< Type > &) const |
Equality operation on ULists of the same type. | |
bool | operator!= (const UList< Type > &) const |
The opposite of the equality operation. Takes linear time. | |
bool | operator< (const UList< Type > &) const |
Compare two ULists lexicographically. Takes linear time. | |
bool | operator> (const UList< Type > &) const |
Compare two ULists lexicographically. Takes linear time. | |
bool | operator<= (const UList< Type > &) const |
Return true if !(a > b). Takes linear time. | |
bool | operator>= (const UList< Type > &) const |
Return true if !(a < b). Takes linear time. |
Static Public Member Functions | |
static const GeometricField < Type, PatchField, GeoMesh > & | null () |
Return a null geometric field. |
Friends | |
Ostream & | operator (Ostream &, const GeometricField< Type, PatchField, GeoMesh > &) |
Ostream & | operator (Ostream &, const tmp< GeometricField< Type, PatchField, GeoMesh > > &) |
typedef GeoMesh::Mesh Mesh |
Reimplemented from DimensionedField< Type, GeoMesh >.
Reimplemented in SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >.
Definition at line 97 of file GeometricField.H.
typedef GeoMesh::BoundaryMesh BoundaryMesh |
Reimplemented in SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >.
Definition at line 98 of file GeometricField.H.
typedef DimensionedField<Type, GeoMesh> DimensionedInternalField |
Definition at line 100 of file GeometricField.H.
typedef Field<Type> InternalField |
Definition at line 101 of file GeometricField.H.
typedef PatchField<Type> PatchFieldType |
Definition at line 102 of file GeometricField.H.
Component type.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 257 of file GeometricField.H.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
const word & | patchFieldType = PatchField<Type>::calculatedType() |
||
) |
Constructor given IOobject, mesh, dimensions and patch type.
This allocates storage for the field but not values. Used only within this class to create TEMPORARY variables
Definition at line 200 of file GeometricField.C.
References Foam::endl(), Foam::Info, and readIfPresent().
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
const wordList & | patchFieldTypes | ||
) |
Constructor given IOobject, mesh, dimensions and patch types.
This allocates storage for the field but not values. Used only within this class to create TEMPORARY variables
Definition at line 230 of file GeometricField.C.
References Foam::endl(), Foam::Info, and readIfPresent().
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensioned< Type > & | dt, | ||
const word & | patchFieldType = PatchField<Type>::calculatedType() |
||
) |
Constructor given IOobject, mesh, dimensioned<Type> and patch type.
Definition at line 257 of file GeometricField.C.
References Foam::endl(), Foam::Info, readIfPresent(), and dimensioned< Type >::value().
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensioned< Type > & | dt, | ||
const wordList & | patchFieldTypes | ||
) |
Constructor given IOobject, mesh, dimensioned<Type> and patch types.
Definition at line 286 of file GeometricField.C.
References Foam::endl(), Foam::Info, readIfPresent(), and dimensioned< Type >::value().
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
const Field< Type > & | iField, | ||
const PtrList< PatchField< Type > > & | ptfl | ||
) |
Constructor from components.
Definition at line 315 of file GeometricField.C.
References Foam::endl(), Foam::Info, and readIfPresent().
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh | ||
) |
Construct and read given IOobject.
Definition at line 342 of file GeometricField.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
Istream & | is | ||
) |
Construct and read from given stream.
Definition at line 382 of file GeometricField.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 421 of file GeometricField.C.
References Foam::endl(), Foam::exit(), FatalErrorIn, Foam::FatalIOError, Foam::Info, and mesh.
GeometricField | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Construct as copy.
Definition at line 460 of file GeometricField.C.
References Foam::endl(), and Foam::Info.
GeometricField | ( | const IOobject & | io, |
const GeometricField< Type, PatchField, GeoMesh > & | gf | ||
) |
Construct as copy of tmp<GeometricField> deleting argument.
Construct as copy resetting IO parameters
Definition at line 523 of file GeometricField.C.
References Foam::endl(), Foam::Info, IOobject::name(), and readIfPresent().
GeometricField | ( | const word & | newName, |
const GeometricField< Type, PatchField, GeoMesh > & | gf | ||
) |
Construct as copy resetting name.
Definition at line 555 of file GeometricField.C.
References Foam::endl(), Foam::Info, and readIfPresent().
GeometricField | ( | const IOobject & | io, |
const GeometricField< Type, PatchField, GeoMesh > & | gf, | ||
const word & | patchFieldType | ||
) |
Construct as copy resetting name.
Construct as copy resetting IO parameters and patch type
Definition at line 618 of file GeometricField.C.
References Foam::endl(), Foam::Info, IOobject::name(), and readIfPresent().
GeometricField | ( | const IOobject & | io, |
const GeometricField< Type, PatchField, GeoMesh > & | gf, | ||
const wordList & | patchFieldTypes | ||
) |
Construct as copy resetting IO parameters and boundary types.
Definition at line 653 of file GeometricField.C.
References Foam::endl(), Foam::Info, IOobject::name(), and readIfPresent().
|
virtual |
Destructor.
Definition at line 688 of file GeometricField.C.
References Foam::deleteDemandDrivenData().
TypeName | ( | "GeometricField< Type, PatchField, GeoMesh >" | ) |
Runtime type information.
|
inlinestatic |
Return a null geometric field.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 30 of file GeometricFieldI.H.
Foam::GeometricField< Type, PatchField, GeoMesh >::DimensionedInternalField & dimensionedInternalField | ( | ) |
Return dimensioned internal field.
Definition at line 700 of file GeometricField.C.
Referenced by ODEChemistryModel< CompType, ThermoType >::dQ(), Foam::operator<<(), GeometricField< Type, PatchField, GeoMesh >::operator=(), and GeometricField< Type, PatchField, GeoMesh >::operator==().
|
inline |
Return dimensioned internal field.
Definition at line 41 of file GeometricFieldI.H.
Foam::GeometricField< Type, PatchField, GeoMesh >::InternalField & internalField | ( | ) |
Return internal field.
Definition at line 711 of file GeometricField.C.
Referenced by Foam::fvc::average(), Foam::bound(), Foam::calcEk(), Foam::cmptAv(), Foam::component(), inverseVolumeDiffusivity::correct(), inverseDistanceDiffusivity::correct(), absorptionEmissionModel::correct(), SpalartAllmaras::correct(), wideBandAbsorptionEmission::correct(), pointLinear< Type >::correction(), limitedSnGrad< Type >::correction(), hhuMixtureThermo< MixtureType >::Cp(), hPsiMixtureThermo< MixtureType >::Cp(), hRhoMixtureThermo< MixtureType >::Cp(), wideBandAbsorptionEmission::ECont(), ePsiThermo< MixtureType >::ePsiThermo(), errorEstimate< Type >::error(), faceAreaPairGAMGAgglomeration::faceAreaPairGAMGAgglomeration(), fvMatrix< Type >::flux(), EulerD2dt2Scheme< Type >::fvcD2dt2(), EulerDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), boundedBackwardDdtScheme::fvcDdt(), CrankNicholsonDdtScheme< Type >::fvcDdt(), EulerD2dt2Scheme< Type >::fvmD2dt2(), EulerDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), boundedBackwardDdtScheme::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), CrankNicholsonDdtScheme< Type >::fvmDdt(), gaussConvectionScheme< Type >::fvmDiv(), faceLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), cellMDLimitedGrad< Type >::grad(), fvMatrix< Type >::H(), hhuMixtureThermo< MixtureType >::hc(), hPsiMixtureThermo< MixtureType >::hc(), hRhoMixtureThermo< MixtureType >::hc(), hsPsiMixtureThermo< MixtureType >::hc(), hsRhoMixtureThermo< MixtureType >::hc(), hhuMixtureThermo< MixtureType >::hhuMixtureThermo(), hPsiMixtureThermo< MixtureType >::hPsiMixtureThermo(), hPsiThermo< MixtureType >::hPsiThermo(), hRhoMixtureThermo< MixtureType >::hRhoMixtureThermo(), hRhoThermo< MixtureType >::hRhoThermo(), hsPsiMixtureThermo< MixtureType >::hsPsiMixtureThermo(), hsPsiThermo< MixtureType >::hsPsiThermo(), hsRhoMixtureThermo< MixtureType >::hsRhoMixtureThermo(), hsRhoThermo< MixtureType >::hsRhoThermo(), Foam::MULES::implicitSolve(), pointPatchInterpolation::interpolate(), surfaceInterpolationScheme< Type >::interpolate(), fvMeshSubset::interpolate(), isoSurface::isoSurface(), Kmesh::Kmesh(), laplaceFilter::laplaceFilter(), Foam::mag(), Foam::magSqr(), Foam::makeGraph(), Foam::MapGeometricFields(), fvMesh::movePoints(), hhuMixtureThermo< MixtureType >::mub(), hhuMixtureThermo< MixtureType >::muu(), errorEstimate< Type >::normFactor(), Foam::operator&(), GeometricField< Type, PatchField, GeoMesh >::operator=(), Foam::pow(), hhuMixtureThermo< MixtureType >::psib(), hhuMixtureThermo< MixtureType >::psiu(), errorEstimate< Type >::residual(), fvMatrix< Type >::residual(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), Foam::resError::Sp(), Foam::sqr(), Foam::stabilise(), Foam::fvm::SuSp(), Foam::T(), Foam::transform(), Foam::fvc::volumeIntegrate(), limitedSurfaceInterpolationScheme< Type >::weights(), and Foam::writeCellGraph().
|
inline |
Return internal field.
Definition at line 51 of file GeometricFieldI.H.
Foam::GeometricField< Type, PatchField, GeoMesh >::GeometricBoundaryField & boundaryField | ( | ) |
Return reference to GeometricBoundaryField.
Definition at line 723 of file GeometricField.C.
Referenced by MRFZone::absoluteVelocity(), Foam::adjustPhi(), Foam::fvc::average(), Foam::bound(), forces::calcForcesMoment(), mutSpalartAllmarasWallFunctionFvPatchScalarField::calcMut(), mutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcMut(), mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::calcMut(), mutRoughWallFunctionFvPatchScalarField::calcMut(), mutkWallFunctionFvPatchScalarField::calcMut(), mutWallFunctionFvPatchScalarField::calcMut(), mutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), mutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcYPlus(), mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::calcYPlus(), fvPatch::Cf(), Foam::cmptAv(), extendedCellToFaceStencil::collectData(), extendedFaceToCellStencil::collectData(), Foam::component(), reflectionVectors::correct(), kEpsilon::correct(), LienCubicKE::correct(), RNGkEpsilon::correct(), LRR::correct(), realizableKE::correct(), SpalartAllmaras::correct(), LaunderGibsonRSTM::correct(), kOmega::correct(), gaussGrad< Type >::correctBoundaryConditions(), motionSmoother::correctBoundaryConditions(), MRFZone::correctBoundaryVelocity(), cubic< Type >::correction(), linearUpwind< Type >::correction(), outletStabilised< Type >::correction(), hhuMixtureThermo< MixtureType >::Cp(), hRhoMixtureThermo< MixtureType >::Cp(), hPsiMixtureThermo< MixtureType >::Cp(), ePsiThermo< MixtureType >::Cp(), hPsiThermo< MixtureType >::Cp(), hsPsiThermo< MixtureType >::Cp(), hRhoThermo< MixtureType >::Cp(), ePsiThermo< MixtureType >::Cv(), hPsiThermo< MixtureType >::Cv(), hRhoThermo< MixtureType >::Cv(), fvPatch::deltaCoeffs(), Foam::resError::div(), basicThermo::eBoundaryCorrection(), kOmega::epsilon(), kOmegaSST::epsilon(), ePsiThermo< MixtureType >::ePsiThermo(), errorEstimate< Type >::error(), alphaSgsJayatillekeWallFunctionFvPatchScalarField::evaluate(), faceSource::filterField(), fvMatrix< Type >::flux(), EulerD2dt2Scheme< Type >::fvcD2dt2(), EulerDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), boundedBackwardDdtScheme::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), CrankNicholsonDdtScheme< Type >::fvcDdt(), ddtScheme< Type >::fvcDdtPhiCoeff(), CrankNicholsonDdtScheme< Type >::fvmDdt(), gaussConvectionScheme< Type >::fvmDiv(), faceLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), faceMDLimitedGrad< Type >::grad(), cellMDLimitedGrad< Type >::grad(), basicThermo::hBoundaryCorrection(), basicThermo::hBoundaryTypes(), hhuMixtureThermo< MixtureType >::hc(), hRhoMixtureThermo< MixtureType >::hc(), hPsiMixtureThermo< MixtureType >::hc(), hsRhoMixtureThermo< MixtureType >::hc(), hsPsiMixtureThermo< MixtureType >::hc(), hhuMixtureThermo< MixtureType >::hhuMixtureThermo(), hPsiMixtureThermo< MixtureType >::hPsiMixtureThermo(), hPsiThermo< MixtureType >::hPsiThermo(), hRhoMixtureThermo< MixtureType >::hRhoMixtureThermo(), hRhoThermo< MixtureType >::hRhoThermo(), hsPsiMixtureThermo< MixtureType >::hsPsiMixtureThermo(), hsPsiThermo< MixtureType >::hsPsiThermo(), hsRhoMixtureThermo< MixtureType >::hsRhoMixtureThermo(), hsRhoThermo< MixtureType >::hsRhoThermo(), hhuCombustionThermo::huBoundaryCorrection(), hhuCombustionThermo::huBoundaryTypes(), localMax< Type >::interpolate(), localMin< Type >::interpolate(), pointPatchInterpolation::interpolate(), surfaceInterpolationScheme< Type >::interpolate(), meshToMesh::interpolate(), fvMeshSubset::interpolate(), Foam::MULES::limiter(), PhiScheme< Type, PhiLimiter >::limiter(), LimitedScheme< Type, Limiter, LimitFunc >::limiter(), Foam::mag(), fvPatch::magSf(), Foam::magSqr(), Foam::fv::makeFvGradScheme(), Foam::MapGeometricFields(), fvMotionSolverEngineMesh::move(), fvMesh::movePoints(), hhuMixtureThermo< MixtureType >::mub(), hhuMixtureThermo< MixtureType >::muu(), errorEstimate< Type >::normFactor(), Foam::operator<<(), GeometricField< Type, PatchField, GeoMesh >::operator=(), GeometricField< Type, PatchField, GeoMesh >::operator==(), homogeneousMixture< ThermoType >::patchFaceMixture(), dieselMixture< ThermoType >::patchFaceMixture(), inhomogeneousMixture< ThermoType >::patchFaceMixture(), veryInhomogeneousMixture< ThermoType >::patchFaceMixture(), egrMixture< ThermoType >::patchFaceMixture(), dieselMixture< ThermoType >::patchFaceProducts(), inhomogeneousMixture< ThermoType >::patchFaceProducts(), veryInhomogeneousMixture< ThermoType >::patchFaceProducts(), egrMixture< ThermoType >::patchFaceProducts(), dieselMixture< ThermoType >::patchFaceReactants(), inhomogeneousMixture< ThermoType >::patchFaceReactants(), veryInhomogeneousMixture< ThermoType >::patchFaceReactants(), egrMixture< ThermoType >::patchFaceReactants(), fvPatch::patchField(), Foam::pow(), hhuMixtureThermo< MixtureType >::psib(), hhuMixtureThermo< MixtureType >::psiu(), LamBremhorstKE::R(), kEpsilon::R(), LienLeschzinerLowRe::R(), qZeta::R(), LienCubicKE::R(), RNGkEpsilon::R(), NonlinearKEShih::R(), LaunderSharmaKE::R(), realizableKE::R(), LienCubicKELowRe::R(), kOmega::R(), kOmegaSST::R(), dynamicRefineFvMesh::refine(), MRFZone::relativeVelocity(), errorEstimate< Type >::residual(), fvMatrix< Type >::residual(), fvPatch::Sf(), snGradScheme< Type >::snGrad(), Foam::sqr(), Foam::stabilise(), Foam::fvc::surfaceIntegrate(), Foam::fvc::surfaceSum(), Foam::T(), Foam::transform(), dynamicRefineFvMesh::unrefine(), gradientUnburntEnthalpyFvPatchScalarField::updateCoeffs(), fixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), gradientEnthalpyFvPatchScalarField::updateCoeffs(), fixedEnthalpyFvPatchScalarField::updateCoeffs(), fixedInternalEnergyFvPatchScalarField::updateCoeffs(), mixedUnburntEnthalpyFvPatchScalarField::updateCoeffs(), mixedInternalEnergyFvPatchScalarField::updateCoeffs(), mixedEnthalpyFvPatchScalarField::updateCoeffs(), gradientInternalEnergyFvPatchScalarField::updateCoeffs(), incompressible::fixedShearStressFvPatchVectorField::updateCoeffs(), directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), wallHeatTransferFvPatchScalarField::updateCoeffs(), advectiveFvPatchField< Type >::updateCoeffs(), extendedUpwindCellToFaceStencil::weightedSum(), outletStabilised< Type >::weights(), limitedSurfaceInterpolationScheme< Type >::weights(), fvPatch::weights(), dsmcFields::write(), ensightParts::writeField(), Foam::writePatchGraph(), mutSpalartAllmarasWallFunctionFvPatchScalarField::yPlus(), mutSpalartAllmarasStandardWallFunctionFvPatchScalarField::yPlus(), mutkWallFunctionFvPatchScalarField::yPlus(), nutWallFunctionFvPatchScalarField::yPlus(), mutWallFunctionFvPatchScalarField::yPlus(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::yPlus().
|
inline |
Return reference to GeometricBoundaryField for const field.
Definition at line 60 of file GeometricFieldI.H.
|
inline |
Return the time index of the field.
Definition at line 68 of file GeometricFieldI.H.
Referenced by fvMesh::phi(), and subCycle< GeometricField >::~subCycle().
|
inline |
Return the time index of the field.
Definition at line 76 of file GeometricFieldI.H.
void storeOldTimes | ( | ) | const |
Store the old-time fields.
Definition at line 733 of file GeometricField.C.
References Foam::name(), and timeIndex.
Referenced by Foam::MapGeometricFields().
void storeOldTime | ( | ) | const |
Store the old-time field.
Definition at line 754 of file GeometricField.C.
References Foam::endl(), Foam::Info, and GeometricField< Type, PatchField, GeoMesh >::storeOldTime().
Referenced by GeometricField< Type, PatchField, GeoMesh >::storeOldTime().
Foam::label nOldTimes | ( | ) | const |
Return the number of old time fields stored.
Definition at line 778 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::nOldTimes().
Referenced by GeometricField< Type, PatchField, GeoMesh >::nOldTimes().
const Foam::GeometricField< Type, PatchField, GeoMesh > & oldTime | ( | ) | const |
Return old time field.
Definition at line 793 of file GeometricField.C.
References Foam::name(), and timeName.
Referenced by ePsiThermo< MixtureType >::ePsiThermo(), Foam::MULES::explicitSolve(), EulerD2dt2Scheme< Type >::fvcD2dt2(), EulerDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), boundedBackwardDdtScheme::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), CrankNicholsonDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdtPhiCorr(), backwardDdtScheme< Type >::fvcDdtPhiCorr(), localEulerDdtScheme< Type >::fvcDdtPhiCorr(), CoEulerDdtScheme< Type >::fvcDdtPhiCorr(), SLTSDdtScheme< Type >::fvcDdtPhiCorr(), CrankNicholsonDdtScheme< Type >::fvcDdtPhiCorr(), EulerD2dt2Scheme< Type >::fvmD2dt2(), EulerDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), boundedBackwardDdtScheme::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), CrankNicholsonDdtScheme< Type >::fvmDdt(), hhuMixtureThermo< MixtureType >::hhuMixtureThermo(), hPsiMixtureThermo< MixtureType >::hPsiMixtureThermo(), hPsiThermo< MixtureType >::hPsiThermo(), hsPsiMixtureThermo< MixtureType >::hsPsiMixtureThermo(), hsPsiThermo< MixtureType >::hsPsiThermo(), Foam::MULES::limiter(), GeometricField< Type, PatchField, GeoMesh >::oldTime(), advectiveFvPatchField< Type >::updateCoeffs(), and subCycle< GeometricField >::~subCycle().
Foam::GeometricField< Type, PatchField, GeoMesh > & oldTime | ( | ) |
Return non-const old time field.
(Not a good idea but it is used for sub-cycling)
Definition at line 819 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::oldTime().
void storePrevIter | ( | ) | const |
Store the field as the previous iteration value.
Definition at line 830 of file GeometricField.C.
References Foam::endl(), Foam::Info, and Foam::name().
const Foam::GeometricField< Type, PatchField, GeoMesh > & prevIter | ( | ) | const |
Return previous iteration field.
Definition at line 856 of file GeometricField.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorIn.
void correctBoundaryConditions | ( | ) |
Correct boundary field.
Reimplemented in SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, and SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >.
Definition at line 876 of file GeometricField.C.
Referenced by porousZones::addResistance(), porousZone::addResistance(), Foam::fvc::average(), inverseVolumeDiffusivity::correct(), inverseDistanceDiffusivity::correct(), kEpsilon::correct(), LienCubicKE::correct(), RNGkEpsilon::correct(), qZeta::correct(), LRR::correct(), realizableKE::correct(), SpalartAllmaras::correct(), LaunderGibsonRSTM::correct(), kOmega::correct(), kOmegaSST::correct(), errorEstimate< Type >::error(), Foam::MULES::explicitSolve(), faceLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), faceMDLimitedGrad< Type >::grad(), cellMDLimitedGrad< Type >::grad(), fvMatrix< Type >::H(), pointPatchInterpolation::interpolate(), Foam::fv::makeFvGradScheme(), errorEstimate< Type >::normFactor(), Foam::operator&(), errorEstimate< Type >::residual(), motionSmoother::smooth(), dynamicMotionSolverFvMesh::update(), solidBodyMotionFvMesh::update(), and dynamicInkJetFvMesh::update().
bool needReference | ( | ) | const |
Does the field need a reference level for solution.
Definition at line 886 of file GeometricField.C.
References forAll, patchi, and Foam::reduce().
Referenced by Foam::adjustPhi(), and Foam::setRefCell().
tmp<GeometricField<cmptType, PatchField, GeoMesh> > component | ( | const direction | ) | const |
Return a component of the field.
Reimplemented from DimensionedField< Type, GeoMesh >.
Referenced by anisotropicFilter::anisotropicFilter(), LRRDiffStress::correct(), DeardorffDiffStress::correct(), correctedSnGrad< Type >::correction(), cubic< Type >::correction(), Foam::fvc::magSqrGradGrad(), and skewCorrected< Type >::skewCorrection().
|
virtual |
WriteData member function required by regIOobject.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 952 of file GeometricField.C.
References IOstream::good().
Foam::tmp< Foam::GeometricField< Type, PatchField, GeoMesh > > T | ( | ) | const |
Return transpose (only if it is a tensor field)
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 963 of file GeometricField.C.
References boundaryField(), mesh, Foam::name(), and Foam::T().
Referenced by LienCubicKE::correct(), LienCubicKELowRe::correct(), and displacementSBRStressFvMotionSolver::solve().
void relax | ( | const scalar | alpha | ) |
Relax field (for steady-state solution).
alpha = 1 : no relaxation alpha < 1 : relaxation alpha = 0 : do nothing
Definition at line 909 of file GeometricField.C.
References Foam::operator==().
void relax | ( | ) |
Relax field (for steady-state solution).
alpha is read from controlDict
Definition at line 916 of file GeometricField.C.
References mesh, Foam::name(), relax(), and solution::relaxationFactor().
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 934 of file GeometricField.C.
References Foam::name().
void negate | ( | ) |
Negate this field.
Reimplemented from Field< Type >.
Definition at line 1076 of file GeometricField.C.
References boundaryField().
Referenced by Foam::operator-().
void replace | ( | const direction | , |
const GeometricField< cmptType, PatchField, GeoMesh > & | |||
) |
void replace | ( | const direction | d, |
const dimensioned< cmptType > & | ds | ||
) |
Definition at line 1043 of file GeometricField.C.
References boundaryField(), GeometricField< Type, PatchField, GeoMesh >::replace(), and dimensioned< Type >::value().
void max | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1055 of file GeometricField.C.
References boundaryField(), Foam::max(), and dimensioned< Type >::value().
Referenced by locDynOneEqEddy::correct(), LRR::correct(), and LaunderGibsonRSTM::correct().
void min | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1066 of file GeometricField.C.
References boundaryField(), Foam::min(), and dimensioned< Type >::value().
void max | ( | const GeometricField< Type, PatchField, GeoMesh > & | , |
const dimensioned< Type > & | |||
) |
void min | ( | const GeometricField< Type, PatchField, GeoMesh > & | , |
const dimensioned< Type > & | |||
) |
void scale | ( | const GeometricField< Type, PatchField, GeoMesh > & | , |
const GeometricField< Type, PatchField, GeoMesh > & | |||
) |
void scale | ( | const GeometricField< Type, PatchField, GeoMesh > & | , |
const dimensioned< Type > & | |||
) |
void operator= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Definition at line 1087 of file GeometricField.C.
References Foam::abort(), boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), checkField, GeometricField< Type, PatchField, GeoMesh >::dimensionedInternalField(), Foam::FatalError, and FatalErrorIn.
void operator= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) |
Definition at line 1112 of file GeometricField.C.
References Foam::abort(), boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), checkField, DimensionedField< Type, GeoMesh >::dimensions(), Foam::FatalError, FatalErrorIn, and GeometricField< Type, PatchField, GeoMesh >::internalField().
void operator= | ( | const dimensioned< Type > & | dt | ) |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1148 of file GeometricField.C.
References boundaryField(), and dimensioned< Type >::value().
void operator== | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) |
Definition at line 1159 of file GeometricField.C.
References boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), checkField, and GeometricField< Type, PatchField, GeoMesh >::dimensionedInternalField().
void operator== | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1178 of file GeometricField.C.
References boundaryField(), and dimensioned< Type >::value().
void operator+= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Definition at line 1221 of file GeometricField.C.
void operator+= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) |
Definition at line 1221 of file GeometricField.C.
void operator-= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Definition at line 1222 of file GeometricField.C.
void operator-= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) |
Definition at line 1222 of file GeometricField.C.
void operator*= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | gf | ) |
Definition at line 1223 of file GeometricField.C.
void operator*= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh > > & | tgf | ) |
Definition at line 1223 of file GeometricField.C.
void operator/= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | gf | ) |
Definition at line 1224 of file GeometricField.C.
void operator/= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh > > & | tgf | ) |
Definition at line 1224 of file GeometricField.C.
void operator+= | ( | const dimensioned< Type > & | dt | ) |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1221 of file GeometricField.C.
void operator-= | ( | const dimensioned< Type > & | dt | ) |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1222 of file GeometricField.C.
void operator*= | ( | const dimensioned< scalar > & | dt | ) |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1223 of file GeometricField.C.
void operator/= | ( | const dimensioned< scalar > & | dt | ) |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1224 of file GeometricField.C.
tmp< GeometricField< scalar, fvPatchField, volMesh > > component | ( | const direction | ) | const |
Return a component field of the field.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 50 of file volFields.C.
void replace | ( | const direction | , |
const GeometricField< scalar, fvPatchField, volMesh > & | gsf | ||
) |
Definition at line 59 of file volFields.C.
tmp< GeometricField< scalar, fvPatchField, volMesh > > component | ( | const direction | ) | const |
Return a component field of the field.
Reimplemented from DimensionedField< Type, GeoMesh >.
void replace | ( | const direction | , |
const GeometricField< scalar, fvPatchField, volMesh > & | sf | ||
) |
|
friend |
Referenced by displacementSBRStressFvMotionSolver::solve().
|
friend |