40 procMeshes_(procMeshes),
41 faceProcAddressing_(faceProcAddressing),
42 cellProcAddressing_(cellProcAddressing),
43 boundaryProcAddressing_(boundaryProcAddressing),
48 const fvMesh& procMesh = procMeshes_[proci];
51 faceProcAddressing[proci].size() != procMesh.
nFaces()
52 || cellProcAddressing[proci].
size() != procMesh.
nCells()
57 <<
"Size of maps does not correspond to size of mesh" 58 <<
" for processor " << proci <<
endl 59 <<
"faceProcAddressing : " << faceProcAddressing[proci].
size()
61 <<
"cellProcAddressing : " << cellProcAddressing[proci].
size()
63 <<
"boundaryProcAddressing : " 64 << boundaryProcAddressing[proci].
size()
#define forAll(list, i)
Loop across all elements in list.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
fvFieldReconstructor(fvMesh &mesh, const PtrList< fvMesh > &procMeshes, const PtrList< labelIOList > &faceProcAddressing, const PtrList< labelIOList > &cellProcAddressing, const PtrList< labelIOList > &boundaryProcAddressing)
Construct from components.
label size() const
Return the number of elements in the UPtrList.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.