surfaceInterpolation Class Reference

Cell to surface interpolation scheme. Included in fvMesh. More...

Inheritance diagram for surfaceInterpolation:
[legend]

Public Member Functions

 ClassName ("surfaceInterpolation")
 
 surfaceInterpolation (const fvMesh &)
 Construct given an fvMesh. More...
 
virtual ~surfaceInterpolation ()
 Destructor. More...
 
virtual const fvGeometrySchemegeometry () const
 Return reference to geometry calculation scheme. More...
 
void geometry (tmp< fvGeometryScheme > &)
 Set geometry calculation scheme. More...
 
virtual const surfaceScalarFieldweights () const
 Return reference to linear difference weighting factors. More...
 
virtual const surfaceScalarFielddeltaCoeffs () const
 Return reference to cell-centre difference coefficients. More...
 
virtual const surfaceScalarFieldnonOrthDeltaCoeffs () const
 Return reference to non-orthogonal cell-centre difference. More...
 
virtual const surfaceVectorFieldnonOrthCorrectionVectors () const
 Return reference to non-orthogonality correction vectors. More...
 
virtual bool movePoints ()
 Do what is necessary if the mesh has moved. More...
 
virtual void updateGeom ()
 Update all geometric data. More...
 
bool hasWeights () const noexcept
 Has weights. More...
 
virtual void updateMesh (const mapPolyMesh &mpm)
 Update mesh for topology changes. More...
 

Protected Member Functions

void clearOut ()
 Clear all geometry and addressing. More...
 

Detailed Description

Cell to surface interpolation scheme. Included in fvMesh.

Source files

Definition at line 60 of file surfaceInterpolation.H.

Constructor & Destructor Documentation

◆ surfaceInterpolation()

surfaceInterpolation ( const fvMesh fvm)
explicit

Construct given an fvMesh.

Definition at line 62 of file surfaceInterpolation.C.

◆ ~surfaceInterpolation()

~surfaceInterpolation ( )
virtual

Destructor.

Definition at line 75 of file surfaceInterpolation.C.

Member Function Documentation

◆ clearOut()

void clearOut ( )
protected

Clear all geometry and addressing.

Definition at line 49 of file surfaceInterpolation.C.

Referenced by fvMesh::clearOutLocal(), dynamicRefineFvMesh::mapFields(), and fvMesh::movePoints().

Here is the caller graph for this function:

◆ ClassName()

ClassName ( "surfaceInterpolation"  )

◆ geometry() [1/2]

const Foam::fvGeometryScheme & geometry ( ) const
virtual

Return reference to geometry calculation scheme.

Definition at line 83 of file surfaceInterpolation.C.

References Time::New(), and ensightPTraits< Type >::typeName.

Referenced by fvMeshTools::setBasicGeometry().

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

◆ geometry() [2/2]

void geometry ( tmp< fvGeometryScheme > &  schemePtr)

Set geometry calculation scheme.

Definition at line 99 of file surfaceInterpolation.C.

◆ weights()

const Foam::surfaceScalarField & weights ( ) const
virtual

Return reference to linear difference weighting factors.

Definition at line 105 of file surfaceInterpolation.C.

Referenced by cubic< Type >::correction().

Here is the caller graph for this function:

◆ deltaCoeffs()

const Foam::surfaceScalarField & deltaCoeffs ( ) const
virtual

Return reference to cell-centre difference coefficients.

Definition at line 116 of file surfaceInterpolation.C.

Referenced by CoBlended< Type >::blendingFactor(), contactAngleForce::correct(), orthogonalSnGrad< Type >::deltaCoeffs(), and reactingOneDim::solidRegionDiffNo().

Here is the caller graph for this function:

◆ nonOrthDeltaCoeffs()

const Foam::surfaceScalarField & nonOrthDeltaCoeffs ( ) const
virtual

Return reference to non-orthogonal cell-centre difference.

coefficients

Definition at line 128 of file surfaceInterpolation.C.

Referenced by CentredFitSnGradData< Polynomial >::calcFit(), CentredFitSnGradScheme< Type, Polynomial, Stencil >::deltaCoeffs(), correctedSnGrad< Type >::deltaCoeffs(), faceCorrectedSnGrad< Type >::deltaCoeffs(), limitedSnGrad< Type >::deltaCoeffs(), relaxedSnGrad< Type >::deltaCoeffs(), skewCorrectedSnGrad< Type >::deltaCoeffs(), and uncorrectedSnGrad< Type >::deltaCoeffs().

Here is the caller graph for this function:

◆ nonOrthCorrectionVectors()

const Foam::surfaceVectorField & nonOrthCorrectionVectors ( ) const
virtual

Return reference to non-orthogonality correction vectors.

Definition at line 140 of file surfaceInterpolation.C.

◆ movePoints()

bool movePoints ( )
virtual

Do what is necessary if the mesh has moved.

Reimplemented in fvMesh.

Definition at line 154 of file surfaceInterpolation.C.

References Foam::endl(), and Foam::Pout.

Here is the call graph for this function:

◆ updateGeom()

void updateGeom ( )
virtual

Update all geometric data.

Reimplemented in fvMesh.

Definition at line 172 of file surfaceInterpolation.C.

References Foam::endl(), and Foam::Pout.

Referenced by fvMesh::updateGeom().

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

◆ hasWeights()

bool hasWeights ( ) const
inlinenoexcept

Has weights.

Definition at line 143 of file surfaceInterpolation.H.

References bool.

◆ updateMesh()

void updateMesh ( const mapPolyMesh mpm)
virtual

Update mesh for topology changes.

Reimplemented in fvMesh.

Definition at line 186 of file surfaceInterpolation.C.

References Foam::endl(), and Foam::Pout.

Here is the call graph for this function:

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