Go to the documentation of this file.
53 procMeshes_[proci]().time().timeName(),
74 procField = procFields[proci];
77 const labelList& procToGlobalAddr = pointProcAddressing_[proci];
87 forAll(boundaryProcAddressing_[proci], patchi)
90 const label curBPatch = boundaryProcAddressing_[proci][patchi];
95 if (!patchFields(curBPatch))
112 patchFields[curBPatch].rmap
115 patchPointAddressing_[proci][patchi]
127 fieldIoObject.
name(),
134 procFields[0].dimensions(),
158 Info<<
" Reconstructing "
159 << fieldType::typeName <<
"s\n" <<
nl;
163 reconstructField<Type>(*io)().
write();
184 selectedFields.empty()
189 return reconstructFields<Type>(objects,
fieldNames);
204 selectedFields.empty()
209 return reconstructFields<Type>(objects,
fieldNames);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
A class for handling words, derived from Foam::string.
static label size(const Mesh &mesh)
Return size. Number of points.
A class for managing temporary objects.
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
static word timeName(const scalar t, const int precision=precision_)
wordList sortedNames() const
The sorted names of the IOobjects.
static const DimensionedField< Type, GeoMesh > & null()
Return a NullObjectRef DimensionedField.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Time & time() const
Return Time from polyMesh.
Abstract base class for point-mesh patch fields.
#define forAll(list, i)
Loop across all elements in list.
label reconstructFields(const IOobjectList &objects, const UList< word > &fieldNames)
Reconstruct and write specified fields.
Generic templated field type.
messageStream Info
Information stream (stdout output on master, null elsewhere)
const IOobject * cfindObject(const word &objName) const
Return const pointer to the object found by name.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const wordRes fieldNames(propsDict.getOrDefault< wordRes >("fields", wordRes()))
List of IOobjects with searching and retrieving facilities.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
const word & name() const noexcept
Return name.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A List of wordRe with additional matching capabilities.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Generic GeometricField class.
tmp< GeometricField< Type, pointPatchField, pointMesh > > reconstructField(const IOobject &fieldIoObject)
Reconstruct field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.