26 #include "readFields.H" 36 template<
class GeoField>
40 const typename GeoField::Mesh& mesh,
41 const IOobjectList& objects,
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()))
73 fields.setSize(nFields);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
word name(const complex &)
Return a string representation of a complex.