32 template<
class Type,
class GeoMesh>
36 const word& fieldDictEntry
41 Field<Type> f(fieldDictEntry, fieldDict, GeoMesh::size(mesh_));
46 template<
class Type,
class GeoMesh>
49 const word& fieldDictEntry
54 (this->readOpt() == IOobject::READ_IF_PRESENT && this->headerOk())
55 || this->readOpt() == IOobject::MUST_READ
56 || this->readOpt() == IOobject::MUST_READ_IF_MODIFIED
59 readField(
dictionary(readStream(typeName)), fieldDictEntry);
66 template<
class Type,
class GeoMesh>
71 const word& fieldDictEntry
79 readField(
dictionary(readStream(typeName)), fieldDictEntry);
83 template<
class Type,
class GeoMesh>
89 const word& fieldDictEntry
97 readField(fieldDict, fieldDictEntry);
103 template<
class Type,
class GeoMesh>
107 const word& fieldDictEntry
118 "bool DimensionedField<Type, GeoMesh>::writeData" 119 "(Ostream& os, const word& fieldDictEntry) const" 126 template<
class Type,
class GeoMesh>
135 template<
class Type,
class GeoMesh>
148 template<
class Type,
class GeoMesh>
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
const dimensionSet dimless
bool good() const
Return true if next operation might succeed.
void readField(const dictionary &fieldDict, const word &fieldDictEntry="value")
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Dimension set for the base types.
Pre-declare SubField and related Field type.
A class for handling words, derived from string.
Foam::pointMesh ::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
DimensionedField(const IOobject &, const Mesh &mesh, const dimensionSet &, const Field< Type > &)
Construct from components.
const bool writeData(readBool(pdfDictionary.lookup("writeData")))
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
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...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.