39 #ifndef Foam_ReadFields_H 40 #define Foam_ReadFields_H 61 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
65 const IOobjectList& objects,
66 PtrList<GeometricField<Type, PatchField, GeoMesh>>&
fields,
67 const bool syncPar =
true,
68 const bool readOldTime =
false 75 template<
class GeoField,
class Mesh>
79 const IOobjectList& objects,
81 const bool syncPar =
true 87 template<
class GeoField>
90 const IOobjectList& objects,
92 const bool syncPar =
true 97 template<
class GeoField>
100 const word& fieldName,
101 const typename GeoField::Mesh&
mesh,
103 objectRegistry& fieldsCache
108 template<
class GeoField>
111 const word& fieldName,
112 const typename GeoField::Mesh&
mesh,
114 const word& registryName =
"fieldsCache" 121 template<
class GeoFieldType,
class NameMatchPredicate>
124 const typename GeoFieldType::Mesh&
mesh,
125 const IOobjectList& objects,
127 const NameMatchPredicate& selectedFields,
129 DynamicList<regIOobject*>& storedObjects
135 template<
class UniformFieldType,
class NameMatchPredicate>
138 const IOobjectList& objects,
140 const NameMatchPredicate& selectedFields,
142 DynamicList<regIOobject*>& storedObjects,
143 const bool syncPar =
true 153 template<
class GeoFieldType,
class NameMatchPredicate>
157 const typename GeoFieldType::Mesh&
mesh,
158 const IOobjectList& objects,
159 const NameMatchPredicate& selectedFields,
160 LIFOStack<regIOobject*>& storedObjects
168 template<class UniformFieldType, class NameMatchPredicate>
172 const IOobjectList& objects,
173 const NameMatchPredicate& selectedFields,
174 LIFOStack<regIOobject*>& storedObjects,
175 const
bool syncPar = true
wordList ReadFields(const typename GeoMesh::Mesh &mesh, const IOobjectList &objects, PtrList< GeometricField< Type, PatchField, GeoMesh >> &fields, const bool syncPar=true, const bool readOldTime=false)
Read Geometric fields of templated type.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
class FOAM_DEPRECATED_FOR(2017-05, "Foam::Enum") NamedEnum
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
void readUniformFields(const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects, const bool syncPar=true)
Read the selected UniformDimensionedFields of the templated type and store on the objectRegistry...
List< word > wordList
List of word.
const std::string version
OpenFOAM version (name or stringified number) as a std::string.