45 Pout<<
"primitiveMesh::calcFaceCentresAndAreas() : " 46 <<
"Calculating face centres and areas" 51 if (faceCentresPtr_ || faceAreasPtr_)
54 <<
"Face centres and areas already calculated" 68 Pout<<
"primitiveMesh::calcFaceCentresAndAreas() : " 69 <<
"Finished calculating face centres and areas" 82 const_cast<primitiveMesh&
>(*this).updateGeom();
85 return *faceCentresPtr_;
94 const_cast<primitiveMesh&
>(*this).updateGeom();
97 return *faceAreasPtr_;
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.
virtual const pointField & points() const =0
Return mesh points.
label nFaces() const noexcept
Number of mesh faces.
errorManip< error > abort(error &err)
int debug
Static debugging option.
const vectorField & faceCentres() const
void calcFaceCentresAndAreas() const
Calculate face centres and areas.
const vectorField & faceAreas() const
Field< vector > vectorField
Specialisation of Field<T> for vector.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.