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>
105 void readIfPresent(
const word& fieldDictEntry =
"value");
138 const bool checkIOFlags =
true 147 const bool checkIOFlags =
true 155 const word& fieldDictEntry=
"value" 164 const word& fieldDictEntry=
"value" 187 #ifndef NoConstructFromTmp 232 #ifndef NoConstructFromTmp 253 const word& fieldDictEntry =
"value" 257 inline const Mesh&
mesh()
const;
342 friend Ostream& operator<< <Type, GeoMesh>
348 friend Ostream& operator<< <Type, GeoMesh>
tmp< DimensionedField< Type, GeoMesh > > T() const
Return the field transpose (only defined for second rank tensors)
A simple container for copying or transferring objects of type <T>.
tmp< DimensionedField< cmptType, GeoMesh > > component(const direction) const
Return a component field of the field.
dimensioned< Type > weightedAverage(const DimensionedField< scalar, GeoMesh > &) const
Calculate and return weighted average.
A list of keyword definitions, which are a keyword followed by any number of values (e...
pTraits< Type >::cmptType cmptType
Component type.
bool writeData(Ostream &, const word &fieldDictEntry) const
Generic dimensioned Type class.
Field< Type >::cmptType cmptType
Component type of the elements of the field.
Field< Type > FieldType
Type of the field from which this DimensionedField is derived.
void readField(const dictionary &fieldDict, const word &fieldDictEntry="value")
void operator*=(const DimensionedField< scalar, GeoMesh > &)
void operator-=(const DimensionedField< Type, GeoMesh > &)
Dimension set for the base types.
void operator=(const DimensionedField< Type, GeoMesh > &)
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
void operator+=(const DimensionedField< Type, GeoMesh > &)
TypeName("DimensionedField")
Runtime type information.
virtual ~DimensionedField()
Destructor.
GeoMesh::Mesh Mesh
Type of mesh on which this DimensionedField is instantiated.
const dimensionSet & dimensions() const
Return dimensions.
const Field< Type > & field() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
DimensionedField(const IOobject &, const Mesh &mesh, const dimensionSet &, const Field< Type > &)
Construct from components.
void replace(const direction, const DimensionedField< cmptType, GeoMesh > &)
Replace a component field of the field.
void operator/=(const DimensionedField< scalar, GeoMesh > &)
const Mesh & mesh() const
Return mesh.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< DimensionedField< Type, GeoMesh > > clone() const
Clone.
dimensioned< Type > average() const
Calculate and return arithmetic average.