Go to the documentation of this file.
31 template<
class GeoField>
34 PtrList<GeoField>& fieldList,
37 const typename GeoField::Mesh&
mesh
40 if (obj.headerClassName() == GeoField::typeName)
45 new GeoField(obj,
mesh)
47 Info<<
" " << GeoField::typeName <<
tab << obj.name() <<
endl;
52 template<
class GeoField>
55 const PtrList<GeoField>& fieldList,
61 if (fieldList.set(fieldI))
63 Info<<
" " << pTraits<typename GeoField::value_type>::typeName
65 << fieldList[fieldI].name() <<
tab <<
tab
66 << fieldList[fieldI].boundaryField()[patchI].type() <<
nl;
72 template<
class GeoField>
75 const PtrList<GeoField>& fieldList,
77 HashTable<word>& fieldToType
82 if (fieldList.set(fieldI))
86 fieldList[fieldI].
name(),
void addToFieldList(PtrList< GeoField > &fieldList, const IOobject &obj, const label fieldI, const typename GeoField::Mesh &mesh)
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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 collectFieldList(const PtrList< GeoField > &fieldList, const label patchI, HashTable< word > &fieldToType)
Istream and Ostream manipulators taking arguments.
cellIbMask *cellIbMaskExt *faceIbMask *cellIbMask boundaryField().evaluateCoupled()
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
void outputFieldList(const PtrList< GeoField > &fieldList, const label patchI)
word name(const complex &)
Return a string representation of a complex.