38 completeMesh_(completeMesh),
39 procMeshes_(procMeshes),
40 pointProcAddressing_(pointProcAddressing),
41 patchPointAddressing_(procMeshes.size())
64 forAll(patchPointLabels, pointi)
66 pointMap[patchPointLabels[pointi]] = pointi;
72 forAll(procPatchPoints, pointi)
74 procPatchAddr[pointi] =
77 pointProcAddressing_[proci][procPatchPoints[pointi]]
81 if (procPatchAddr.
size() &&
min(procPatchAddr) < 0)
84 <<
"Incomplete patch point addressing"
95 bool Foam::pointFieldReconstructor::reconstructs
103 #define DO_POINT_FIELDS_TYPE(Type, nullArg) \
105 || reconstructs<PointField<Type>>(objects, selectedFields);
107 #undef DO_POINT_FIELDS_TYPE
#define forAll(list, i)
Loop across all elements in list.
static pointMesh & New(const word &name, const polyMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
A HashTable with keys but without contents.
List of IOobjects with searching and retrieving facilities.
void size(const label)
Override size to be inconsistent with allocated storage.
void setSize(const label)
Reset size of List.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
label size() const
Return the number of elements in the UPtrList.
pointFieldReconstructor(const pointMesh &mesh, const PtrList< fvMesh > &procMeshes, const labelListList &pointProcAddressing)
Construct from components.
Mesh representing a set of points created from polyMesh.
label size() const
Return number of points.
const pointBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)
#define DO_POINT_FIELDS_TYPE(Type, nullArg)