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>
A simple container for copying or transferring objects of type <T>.
A list of keyword definitions, which are a keyword followed by any number of values (e...
tmp< DimensionedField< Type, GeoMesh > > clone() const
Clone.
pTraits< Type >::cmptType cmptType
Component type.
tmp< DimensionedField< Type, GeoMesh > > T() const
Return the field transpose (only defined for second rank tensors)
dimensioned< Type > weightedAverage(const DimensionedField< scalar, GeoMesh > &) const
Calculate and return weighted average.
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 > &)
const dimensionSet & dimensions() const
Return dimensions.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool writeData(Ostream &, const word &fieldDictEntry) const
const Mesh & mesh() const
Return mesh.
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.
const Field< Type > & field() const
dimensioned< Type > average() const
Calculate and return arithmetic average.
void operator/=(const DimensionedField< scalar, GeoMesh > &)
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...
tmp< DimensionedField< cmptType, GeoMesh > > component(const direction) const
Return a component field of the field.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...