34 template<
class GeoField>
37 const IOobjectList& objects,
38 const typename GeoField::Mesh&
mesh 41 const UPtrList<const IOobject> fieldObjects
43 objects.csorted<GeoField>()
46 PtrList<GeoField>
fields(fieldObjects.size());
49 for (
const IOobject&
io : fieldObjects)
53 Info<<
" " << GeoField::typeName <<
" (";
74 template<
class GeoField>
77 const UPtrList<GeoField>& fieldList,
83 if (fieldList.set(fieldi))
85 Info<<
" " << pTraits<typename GeoField::value_type>::typeName
87 << fieldList[fieldi].name() <<
tab <<
tab 88 << fieldList[fieldi].boundaryField()[patchi].type() <<
nl;
94 template<
class GeoField>
97 const UPtrList<GeoField>& fieldList,
99 HashTable<word>& fieldToType
104 if (fieldList.set(fieldi))
108 fieldList[fieldi].
name(),
109 fieldList[fieldi].boundaryField()[patchi].
type()
constexpr char nl
The newline '\n' character (0x0a)
constexpr char tab
The tab '\t' character(0x09)
void outputFieldList(const UPtrList< GeoField > &fieldList, const label patchi)
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
#define forAll(list, i)
Loop across all elements in list.
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.
Istream and Ostream manipulators taking arguments.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
messageStream Info
Information stream (stdout output on master, null elsewhere)
void collectFieldList(const UPtrList< GeoField > &fieldList, const label patchi, HashTable< word > &fieldToType)