32 template<
class PatchField>
35 if (isA<genericFieldBase>(pf))
37 return refCast<const genericFieldBase>(pf).actualTypeName();
46 template<
class GeoField>
49 PtrList<GeoField>& fieldList,
52 const typename GeoField::Mesh& mesh
55 if (obj.headerClassName() == GeoField::typeName)
60 new GeoField(obj, mesh)
62 Info<<
" " << GeoField::typeName <<
tab << obj.name() <<
endl;
67 template<
class GeoField>
70 const PtrList<GeoField>& fieldList,
76 if (fieldList.set(fieldi))
78 Info<<
" " << pTraits<typename GeoField::value_type>::typeName
80 << fieldList[fieldi].name() <<
tab <<
tab
88 template<
class GeoField>
91 const PtrList<GeoField>& fieldList,
93 HashTable<word>& fieldToType
98 if (fieldList.set(fieldi))
102 fieldList[fieldi].
name(),
Istream and Ostream manipulators taking arguments.
#define forAll(list, i)
Loop across all elements in list.
A class for handling words, derived from string.
void addToFieldList(PtrList< GeoField > &fieldList, const IOobject &obj, const label fieldi, const typename GeoField::Mesh &mesh)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
void collectFieldList(const PtrList< GeoField > &fieldList, const label patchi, HashTable< word > &fieldToType)
word patchFieldType(const PatchField &pf)
void outputFieldList(const PtrList< GeoField > &fieldList, const label patchi)