31 Foam::label Foam::fvFieldReconstructor::completePatchID
34 const label procPatchi
37 const fvPatch& procPatch = procMeshes_[proci].boundary()[procPatchi];
43 else if (isA<processorCyclicFvPatch>(procPatch))
46 refCast<const processorCyclicFvPatch>(procPatch)
60 const fvMesh& completeMesh,
67 completeMesh_(completeMesh),
68 procMeshes_(procMeshes),
69 faceProcAddressing_(faceProcAddressing),
70 cellProcAddressing_(cellProcAddressing),
71 faceProcAddressingBf_(faceProcAddressingBf)
75 const fvMesh& procMesh = procMeshes_[proci];
79 faceProcAddressing[proci].size() != procMesh.
nFaces()
80 || cellProcAddressing[proci].
size() != procMesh.
nCells()
84 <<
"Size of maps does not correspond to size of mesh"
85 <<
" for processor " << proci <<
endl
86 <<
"faceProcAddressing : " << faceProcAddressing[proci].
size()
88 <<
"cellProcAddressing : " << cellProcAddressing[proci].
size()
99 bool Foam::fvFieldReconstructor::reconstructs
107 #define DO_FV_FIELDS_TYPE(Type, nullArg) \
109 || reconstructs<VolField<Type>::Internal>(objects, selectedFields) \
110 || reconstructs<VolField<Type>>(objects, selectedFields) \
111 || reconstructs<SurfaceField<Type>>(objects, selectedFields);
113 #undef DO_FV_FIELDS_TYPE
#define forAll(list, i)
Loop across all elements in list.
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.
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.
fvFieldReconstructor(const fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const labelListList &faceProcAddressing, const labelListList &cellProcAddressing, const PtrList< surfaceLabelField::Boundary > &faceProcAddressingBf)
Construct from components.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DO_FV_FIELDS_TYPE(Type, nullArg)
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)