52 const auto& procField = procFields[proci];
55 const labelList& procToGlobalAddr = pointProcAddressing_[proci];
60 procField.primitiveField(),
65 forAll(boundaryProcAddressing_[proci], patchi)
68 const label curBPatch = boundaryProcAddressing_[proci][patchi];
73 if (!patchFields(curBPatch))
79 procField.boundaryField()[patchi],
90 patchFields[curBPatch].rmap
92 procField.boundaryField()[patchi],
93 patchPointAddressing_[proci][patchi]
112 procFields[0].dimensions(),
131 forAll(procMeshes_, proci)
141 procMeshes_[proci].thisDb().time().timeName(),
142 procMeshes_[proci].thisDb(),
151 return reconstructField
156 mesh_.thisDb().time().timeName(),
184 Info<<
" Reconstructing "
185 << fieldType::typeName <<
"s\n" <<
nl;
191 reconstructPointField<Type>(
io)().
write();
196 if (verbose_ && nFields)
Info<<
endl;
210 return reconstructPointFields<Type>
213 selectedFields.
empty()
214 ? objects.
sorted<fieldType>()
215 : objects.
sorted<fieldType>(selectedFields)
Generic templated field type.
void rmap(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 reverse-map from the given field
Generic GeometricField class.
List of IOobjects with searching and retrieving facilities.
UPtrList< const IOobject > sorted() const
The sorted list of IOobjects.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
bool isHeaderClass() const
Check if headerClassName() equals Type::typeName.
const word & name() const noexcept
Return the object name.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const T * set(const label i) const
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
static word timeName(const scalar t, const int precision=precision_)
bool empty() const noexcept
True if the UList is empty (ie, size() is zero)
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
label size() const noexcept
The number of elements in the list.
const Time & time() const noexcept
Return time registry.
tmp< GeometricField< Type, pointPatchField, pointMesh > > reconstructPointField(const IOobject &fieldObject)
Read and reconstruct point field.
label reconstructPointFields(const UPtrList< const IOobject > &fieldObjects)
Reconstruct and write specified point fields.
tmp< GeometricField< Type, pointPatchField, pointMesh > > reconstructField(const IOobject &fieldObject, const PtrList< GeometricField< Type, pointPatchField, pointMesh > > &) const
Reconstruct field.
static label size(const Mesh &mesh)
Return size. Number of points.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
Abstract base class for point-mesh patch fields.
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.