50 procMeshes_(procMeshes),
51 faceProcAddressing_(faceProcAddressing),
52 cellProcAddressing_(cellProcAddressing),
53 boundaryProcAddressing_(boundaryProcAddressing),
58 const fvMesh& procMesh = procMeshes_[proci];
61 faceProcAddressing[proci].size() != procMesh.
nFaces()
62 || cellProcAddressing[proci].
size() != procMesh.
nCells()
67 <<
"Size of maps does not correspond to size of mesh"
68 <<
" for processor " << proci <<
endl
69 <<
"faceProcAddressing : " << faceProcAddressing[proci].
size()
71 <<
"cellProcAddressing : " << cellProcAddressing[proci].
size()
73 <<
"boundaryProcAddressing : "
74 << boundaryProcAddressing[proci].
size()
95 #define doLocalCode(Method) \
97 nTotal += this->Method <scalar> (objects, selected); \
98 nTotal += this->Method <vector> (objects, selected); \
99 nTotal += this->Method <sphericalTensor> (objects, selected); \
100 nTotal += this->Method <symmTensor> (objects, selected); \
101 nTotal += this->Method <tensor> (objects, selected); \
List of IOobjects with searching and retrieving facilities.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
label size() const noexcept
The number of elements in the list.
Finite volume reconstructor for volume and surface fields.
static int verbose_
Output verbosity when writing.
label reconstructAllFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Reconstruct all known field types.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
label nCells() const noexcept
Number of mesh cells.
label nFaces() const noexcept
Number of mesh faces.
A List of wordRe with additional matching capabilities.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define forAll(list, i)
Loop across all elements in list.
#define doLocalCode(GeoField)