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.set(curBPatch))
80 procField.boundaryField()[patchi],
91 patchFields[curBPatch].rmap
93 procField.boundaryField()[patchi],
94 patchPointAddressing_[proci][patchi]
113 procFields[0].dimensions(),
132 forAll(procMeshes_, proci)
142 procMeshes_[proci].thisDb().time().timeName(),
143 procMeshes_[proci].thisDb(),
152 return reconstructField
157 mesh_.thisDb().time().timeName(),
185 Info<<
" Reconstructing " 186 << fieldType::typeName <<
"s\n" <<
nl;
192 reconstructPointField<Type>(
io)().
write();
211 return reconstructPointFields<Type>
214 selectedFields.
empty()
216 : objects.
csorted<fieldType>(selectedFields)
List of IOobjects with searching and retrieving facilities. Implemented as a HashTable, so the various sorted methods should be used if traversing in parallel.
static const DimensionedField< Type, GeoMesh > & null() noexcept
Return a null DimensionedField (reference to a nullObject).
const word & name() const noexcept
Return the object name.
constexpr char nl
The newline '\n' character (0x0a)
bool empty() const noexcept
True if List is empty (ie, size() is zero)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static label size(const Mesh &mesh)
Return size. Number of points.
Ignore writing from objectRegistry::writeObject()
#define forAll(list, i)
Loop across all elements in list.
tmp< GeometricField< Type, pointPatchField, pointMesh > > reconstructField(const IOobject &fieldObject, const PtrList< GeometricField< Type, pointPatchField, pointMesh >> &) const
Reconstruct field.
Abstract base class for point-mesh patch fields.
Generic templated field type.
const Time & time() const noexcept
Return time registry.
label size() const noexcept
The number of entries in the list.
const objectRegistry & thisDb() const
Return database. For now is its polyMesh.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
A List of wordRe with additional matching capabilities.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
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.
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)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
A class for managing temporary objects.
const pointBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
Defines the attributes of an object for which implicit objectRegistry management is supported...
UPtrList< const IOobject > csorted() const
The sorted list of IOobjects with headerClassName == Type::typeName.
bool isHeaderClass() const
Check if headerClassName() equals Type::typeName.