48 procMeshes_(procMeshes),
49 pointProcAddressing_(pointProcAddressing),
50 boundaryProcAddressing_(boundaryProcAddressing),
51 patchPointAddressing_(procMeshes.size()),
60 const pointMesh& procMesh = procMeshes_[proci];
66 if (boundaryProcAddressing_[proci][patchi] >= 0)
68 labelList& procPatchAddr = patchPointAddressing_[proci][patchi];
72 mesh_.
boundary()[boundaryProcAddressing_[proci][patchi]]
76 forAll(patchPointLabels, pointi)
78 pointMap[patchPointLabels[pointi]] = pointi;
82 procMesh.
boundary()[patchi].meshPoints();
84 forAll(procPatchPoints, pointi)
86 procPatchAddr[pointi] =
89 pointProcAddressing_[proci][procPatchPoints[pointi]]
93 if (procPatchAddr.
size() &&
min(procPatchAddr) < 0)
96 <<
"Incomplete patch point addressing"
115 nTotal += reconstructPointFields<scalar>(objects, selected);
116 nTotal += reconstructPointFields<vector>(objects, selected);
117 nTotal += reconstructPointFields<symmTensor>(objects, selected);
118 nTotal += reconstructPointFields<sphericalTensor>(objects, selected);
119 nTotal += reconstructPointFields<tensor>(objects, selected);
List of IOobjects with searching and retrieving facilities.
void setSize(const label n)
Alias for resize()
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
void size(const label n)
Older name for setAddressableSize.
label size() const noexcept
The number of elements in the list.
Point field reconstructor.
static int verbose_
Output verbosity when writing.
label reconstructAllFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Reconstruct and write all known field types.
Mesh representing a set of points created from polyMesh.
static label size(const Mesh &mesh)
Return size. Number of points.
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
A List of wordRe with additional matching capabilities.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
errorManip< error > abort(error &err)
#define forAll(list, i)
Loop across all elements in list.