Go to the documentation of this file.
41 Pout<<
"primitiveMesh::calcCellCentresAndVols() : "
42 <<
"Calculating cell centres and cell volumes"
48 if (cellCentresPtr_ || cellVolumesPtr_)
51 <<
"Cell centres or cell volumes already calculated"
75 Pout<<
"primitiveMesh::calcCellCentresAndVols() : "
76 <<
"Finished calculating cell centres and cell volumes"
92 return *cellCentresPtr_;
104 return *cellVolumesPtr_;
int debug
Static debugging option.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
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.
label nCells() const noexcept
Number of mesh cells.
void calcCellCentresAndVols() const
Calculate cell centres and volumes.
const scalarField & cellVols
errorManip< error > abort(error &err)
const scalarField & cellVolumes() const
const vectorField & cellCentres() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const vectorField & faceCentres() const
virtual void updateGeom()
Update all geometric data.
const vectorField & faceAreas() const
Cell-face mesh analysis engine.