Go to the documentation of this file.
38 #ifndef DimensionedField_H
39 #define DimensionedField_H
54 template<
class Type,
class GeoMesh>
Ostream&
operator<<
60 template<
class Type,
class GeoMesh>
Ostream&
operator<<
71 template<
class Type,
class GeoMesh>
132 const bool checkIOFlags =
true
141 const bool checkIOFlags =
true
149 const word& fieldDictEntry=
"value"
158 const word& fieldDictEntry=
"value"
181 #ifndef NoConstructFromTmp
226 #ifndef NoConstructFromTmp
247 const word& fieldDictEntry =
"value"
336 friend Ostream& operator<< <Type, GeoMesh>
342 friend Ostream& operator<< <Type, GeoMesh>
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void readField(const dictionary &fieldDict, const word &fieldDictEntry="value")
A class for handling words, derived from string.
A class for managing temporary objects.
const Field< Type > & field() const
Dimension set for the base types.
dimensionSet dimensions_
Dimension set for this field.
void readIfPresent(const word &fieldDictEntry="value")
A simple container for copying or transferring objects of type <T>.
void operator-=(const DimensionedField< Type, GeoMesh > &)
void operator/=(const DimensionedField< scalar, GeoMesh > &)
DimensionedField(const IOobject &, const Mesh &mesh, const dimensionSet &, const Field< Type > &)
Construct from components.
void operator*=(const DimensionedField< scalar, GeoMesh > &)
Pre-declare SubField and related Field type.
const Mesh & mesh() const
Return mesh.
Field< Type >::cmptType cmptType
void operator+=(const DimensionedField< Type, GeoMesh > &)
TypeName("DimensionedField")
Runtime type information.
tmp< DimensionedField< Type, GeoMesh > > T() const
Return the field transpose (only defined for second rank tensors)
const Mesh & mesh_
Reference to mesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void replace(const direction, const DimensionedField< cmptType, GeoMesh > &)
Replace a component field of the field.
const dimensionSet & dimensions() const
Return dimensions.
bool writeData(Ostream &, const word &fieldDictEntry) const
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual ~DimensionedField()
Destructor.
void operator=(const DimensionedField< Type, GeoMesh > &)
tmp< DimensionedField< cmptType, GeoMesh > > component(const direction) const
Return a component field of the field.
tmp< DimensionedField< Type, GeoMesh > > clone() const
Clone.
dimensioned< Type > weightedAverage(const DimensionedField< scalar, GeoMesh > &) const
Calculate and return weighted average.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensioned< Type > average() const
Calculate and return arithmetic average.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...