40 Foam::fvFieldReconstructor::fvFieldReconstructor
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()
86 const IOobjectList& objects,
87 const wordRes& selected
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); \
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define doLocalCode(Method)
label nFaces() const noexcept
Number of mesh faces.
#define forAll(list, i)
Loop across all elements in list.
label size() const noexcept
The number of entries in the list.
label reconstructAllFields(const IOobjectList &objects, const wordRes &selectedFields=wordRes())
Reconstruct all known field types.
label nCells() const noexcept
Number of mesh cells.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Mesh data needed to do the Finite Volume discretisation.
static int verbose_
Output verbosity when writing.
const fvBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.