Go to the documentation of this file.
44 Pout<<
"primitiveMesh::calcFaceCentresAndAreas() : "
45 <<
"Calculating face centres and face areas"
51 if (faceCentresPtr_ || faceAreasPtr_)
54 <<
"Face centres or face areas already calculated"
68 Pout<<
"primitiveMesh::calcFaceCentresAndAreas() : "
69 <<
"Finished calculating face centres and face areas"
85 return *faceCentresPtr_;
97 return *faceAreasPtr_;
int debug
Static debugging option.
virtual const pointField & points() const =0
Return mesh points.
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
Field< vector > vectorField
Specialisation of Field<T> for vector.
void calcFaceCentresAndAreas() const
Calculate face centres and areas.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const vectorField & faceCentres() const
label nFaces() const noexcept
Number of mesh faces.
virtual void updateGeom()
Update all geometric data.
const vectorField & faceAreas() const
Cell-face mesh analysis engine.