Static Public Member Functions | List of all members
primitiveMeshTools Class Reference
Inheritance diagram for primitiveMeshTools:
Inheritance graph
[legend]

Static Public Member Functions

static void makeFaceCentresAndAreas (const primitiveMesh &mesh, const pointField &p, vectorField &fCtrs, vectorField &fAreas)
 
static void makeCellCentresAndVols (const primitiveMesh &mesh, const vectorField &fCtrs, const vectorField &fAreas, vectorField &cellCtrs, scalarField &cellVols)
 
static tmp< scalarFieldfaceOrthogonality (const primitiveMesh &mesh, const vectorField &fAreas, const vectorField &cellCtrs)
 
static void facePyramidVolume (const primitiveMesh &mesh, const pointField &points, const vectorField &cellCtrs, scalarField &ownPyrVol, scalarField &neiPyrVol)
 
static tmp< scalarFieldfaceSkewness (const primitiveMesh &mesh, const pointField &points, const vectorField &fCtrs, const vectorField &fAreas, const vectorField &cellCtrs)
 
static void cellClosedness (const primitiveMesh &mesh, const Vector< label > &meshD, const vectorField &areas, const scalarField &vols, scalarField &openness, scalarField &aratio)
 
static tmp< scalarFieldfaceConcavity (const scalar maxSin, const primitiveMesh &mesh, const pointField &p, const vectorField &faceAreas)
 
static tmp< scalarFieldfaceFlatness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &faceAreas)
 
static tmp< scalarFieldedgeAlignment (const primitiveMesh &mesh, const Vector< label > &directions, const pointField &p)
 
static tmp< scalarFieldcellDeterminant (const primitiveMesh &mesh, const Vector< label > &directions, const vectorField &faceAreas, const bitSet &internalOrCoupledFace)
 
static scalar faceSkewness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &fAreas, const label facei, const point &ownCc, const point &neiCc)
 
static scalar boundaryFaceSkewness (const primitiveMesh &mesh, const pointField &p, const vectorField &fCtrs, const vectorField &fAreas, const label facei, const point &ownCc)
 
static scalar faceOrthogonality (const point &ownCc, const point &neiCc, const vector &s)
 

Detailed Description

Definition at line 53 of file primitiveMeshTools.H.

Member Function Documentation

◆ makeFaceCentresAndAreas()

void makeFaceCentresAndAreas ( const primitiveMesh mesh,
const pointField p,
vectorField fCtrs,
vectorField fAreas 
)
static

Definition at line 31 of file primitiveMeshTools.C.

References Foam::constant::universal::c, f(), forAll, Foam::mag(), mesh, n, nPoints, p, Foam::constant::mathematical::pi(), and Foam::Zero.

Referenced by primitiveMesh::calcFaceCentresAndAreas(), and polyMesh::checkMeshMotion().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeCellCentresAndVols()

void makeCellCentresAndVols ( const primitiveMesh mesh,
const vectorField fCtrs,
const vectorField fAreas,
vectorField cellCtrs,
scalarField cellVols 
)
static

Definition at line 100 of file primitiveMeshTools.C.

References cellVols, forAll, Foam::mag(), mesh, refPtr< Field< Type > >::ref(), and Foam::Zero.

Referenced by primitiveMesh::calcCellCentresAndVols(), polyMesh::checkMeshMotion(), and stabilisedFvGeometryScheme::movePoints().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ faceOrthogonality() [1/2]

Foam::tmp< Foam::scalarField > faceOrthogonality ( const primitiveMesh mesh,
const vectorField fAreas,
const vectorField cellCtrs 
)
static

Definition at line 289 of file primitiveMeshTools.C.

References forAll, mesh, and tmp::ref().

Here is the call graph for this function:

◆ facePyramidVolume()

void facePyramidVolume ( const primitiveMesh mesh,
const pointField points,
const vectorField cellCtrs,
scalarField ownPyrVol,
scalarField neiPyrVol 
)
static

Definition at line 368 of file primitiveMeshTools.C.

References f(), forAll, mesh, and points.

Here is the call graph for this function:

◆ faceSkewness() [1/2]

Foam::tmp< Foam::scalarField > faceSkewness ( const primitiveMesh mesh,
const pointField points,
const vectorField fCtrs,
const vectorField fAreas,
const vectorField cellCtrs 
)
static

Definition at line 317 of file primitiveMeshTools.C.

References forAll, mesh, p, tmp::ref(), and Foam::skew().

Referenced by polyMeshGeometry::checkFaceSkewness().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cellClosedness()

void cellClosedness ( const primitiveMesh mesh,
const Vector< label > &  meshD,
const vectorField areas,
const scalarField vols,
scalarField openness,
scalarField aratio 
)
static

Definition at line 407 of file primitiveMeshTools.C.

References Foam::cmptMag(), Foam::cmptSum(), forAll, Foam::mag(), Foam::max(), mesh, Foam::min(), Foam::pow(), and Foam::Zero.

Here is the call graph for this function:

◆ faceConcavity()

Foam::tmp< Foam::scalarField > faceConcavity ( const scalar  maxSin,
const primitiveMesh mesh,
const pointField p,
const vectorField faceAreas 
)
static

Definition at line 501 of file primitiveMeshTools.C.

References f(), faceNormals(), forAll, Foam::mag(), Foam::max(), mesh, p, and tmp::ref().

Here is the call graph for this function:

◆ faceFlatness()

Foam::tmp< Foam::scalarField > faceFlatness ( const primitiveMesh mesh,
const pointField p,
const vectorField fCtrs,
const vectorField faceAreas 
)
static

Definition at line 571 of file primitiveMeshTools.C.

References f(), forAll, Foam::mag(), mesh, n, p, and tmp::ref().

Here is the call graph for this function:

◆ edgeAlignment()

static tmp<scalarField> edgeAlignment ( const primitiveMesh mesh,
const Vector< label > &  directions,
const pointField p 
)
static

◆ cellDeterminant()

Foam::tmp< Foam::scalarField > cellDeterminant ( const primitiveMesh mesh,
const Vector< label > &  directions,
const vectorField faceAreas,
const bitSet internalOrCoupledFace 
)
static

◆ faceSkewness() [2/2]

Foam::scalar faceSkewness ( const primitiveMesh mesh,
const pointField p,
const vectorField fCtrs,
const vectorField fAreas,
const label  facei,
const point ownCc,
const point neiCc 
)
static

Definition at line 200 of file primitiveMeshTools.C.

References f(), forAll, Foam::mag(), Foam::max(), mesh, p, and Foam::constant::mathematical::pi().

Here is the call graph for this function:

◆ boundaryFaceSkewness()

Foam::scalar boundaryFaceSkewness ( const primitiveMesh mesh,
const pointField p,
const vectorField fCtrs,
const vectorField fAreas,
const label  facei,
const point ownCc 
)
static

Definition at line 236 of file primitiveMeshTools.C.

References f(), forAll, Foam::mag(), Foam::max(), mesh, Foam::normalised(), p, and Foam::constant::mathematical::pi().

Referenced by polyMeshGeometry::checkFaceSkewness().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ faceOrthogonality() [2/2]

Foam::scalar faceOrthogonality ( const point ownCc,
const point neiCc,
const vector s 
)
static

Definition at line 274 of file primitiveMeshTools.C.

References Foam::mag(), and s.

Here is the call graph for this function:

The documentation for this class was generated from the following files: