55 nonOrthDeltaCoeffs_.clear();
56 nonOrthCorrectionVectors_.clear();
65 geometryPtr_(nullptr),
67 deltaCoeffs_(nullptr),
68 nonOrthDeltaCoeffs_(nullptr),
69 nonOrthCorrectionVectors_(nullptr)
90 mesh_.schemesDict().subOrEmptyDict(
"geometry"),
91 basicFvGeometryScheme::typeName
95 return geometryPtr_();
101 geometryPtr_ = schemePtr;
109 weights_.reset(geometry().weights().ptr());
120 deltaCoeffs_.reset(geometry().deltaCoeffs().ptr());
123 return deltaCoeffs_();
130 if (!nonOrthDeltaCoeffs_)
132 nonOrthDeltaCoeffs_.reset(geometry().nonOrthDeltaCoeffs().ptr());
135 return nonOrthDeltaCoeffs_();
142 if (!nonOrthCorrectionVectors_)
144 nonOrthCorrectionVectors_.reset
146 geometry().nonOrthCorrectionVectors().ptr()
150 return nonOrthCorrectionVectors_();
158 Pout<<
"surfaceInterpolation::movePoints() : " 159 <<
"Updating geometric properties using the fvGeometryScheme" 164 const_cast<fvGeometryScheme&
>(geometry()).movePoints();
176 Pout<<
"surfaceInterpolation::updateGeom() : " 177 <<
"Updating geometric properties" <<
endl;
190 Pout<<
"surfaceInterpolation::updateMesh() : " 191 <<
"Updating geometric properties" <<
endl;
194 const_cast<fvGeometryScheme&
>(geometry()).updateMesh(mpm);
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual bool movePoints()
Do what is necessary if the mesh has moved.
Cell to surface interpolation scheme. Included in fvMesh.
virtual const surfaceVectorField & nonOrthCorrectionVectors() const
Return reference to non-orthogonality correction vectors.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual const surfaceScalarField & nonOrthDeltaCoeffs() const
Return reference to non-orthogonal cell-centre difference.
virtual const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
virtual void updateGeom()
Update all geometric data.
virtual void updateMesh(const mapPolyMesh &mpm)
Update mesh for topology changes.
surfaceInterpolation(const fvMesh &)
Construct given an fvMesh.
static tmp< fvGeometryScheme > New(const fvMesh &mesh, const dictionary &dict, const word &defaultScheme)
Return new tmp interpolation scheme.
virtual ~surfaceInterpolation()
Destructor.
int debug
Static debugging option.
defineTypeNameAndDebug(combustionModel, 0)
void clearOut()
Clear all geometry and addressing.
Mesh data needed to do the Finite Volume discretisation.
virtual const fvGeometryScheme & geometry() const
Return reference to geometry calculation scheme.
A class for managing temporary objects.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
virtual const surfaceScalarField & deltaCoeffs() const
Return reference to cell-centre difference coefficients.
Abstract base class for geometry calculation schemes.