30 template<
class GeoField>
34 const typename GeoField::Mesh&
mesh,
47 template<
class GeoField>
51 const fvMeshSubsetProxy& proxy,
58 getField<GeoField>(io, proxy.baseMesh(), syncPar)
63 template<
class GeoField>
66 const typename GeoField::Mesh&
mesh,
67 const IOobjectList& objects,
68 const word& fieldName,
74 return getField<GeoField>(objects.findObject(fieldName),
mesh, syncPar);
78 template<
class GeoField>
81 const fvMeshSubsetProxy& proxy,
82 const IOobjectList& objects,
83 const word& fieldName,
89 return getField<GeoField>(objects.findObject(fieldName), proxy, syncPar);
93 template<
class GeoField>
96 const typename GeoField::Mesh&
mesh,
97 const IOobjectList& objects,
98 const wordRes& selection
101 const bool syncPar =
true;
107 ? objects.sortedNames<GeoField>()
108 : objects.sortedNames<GeoField>(selection)
112 PtrList<const GeoField>
fields(fieldNames.size());
116 for (
const word& fieldName : fieldNames)
119 getField<GeoField>(
mesh, objects, fieldName, syncPar);
123 fields.set(nFields++, tfield.ptr());
132 template<
class GeoField>
135 const fvMeshSubsetProxy& proxy,
136 const IOobjectList& objects,
137 const wordRes& selection
140 const bool syncPar =
true;
146 ? objects.sortedNames<GeoField>()
147 : objects.sortedNames<GeoField>(selection)
151 PtrList<const GeoField>
fields(fieldNames.size());
155 for (
const word& fieldName : fieldNames)
158 getField<GeoField>(proxy, objects, fieldName, syncPar);
162 fields.set(nFields++, tfield.ptr());