26 #include "readFields.H"
36 template<
class GeoField>
40 const typename GeoField::Mesh& mesh,
42 const HashSet<word>& selectedFields,
43 PtrList<const GeoField>&
fields
47 IOobjectList fieldObjects(
objects.lookupClass(GeoField::typeName));
50 fields.setSize(fieldObjects.size());
55 if (selectedFields.empty() || selectedFields.found(iter()->
name()))
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
Info<< "Calculating turbulent flame speed field St\n"<< endl;volScalarField St(IOobject("St", runTime.name(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the specified type.