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"
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);
Abstract base class for geometry calculation schemes.
static tmp< fvGeometryScheme > New(const fvMesh &mesh, const dictionary &dict, const word &defaultScheme)
Return new tmp interpolation scheme.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Cell to surface interpolation scheme. Included in fvMesh.
virtual bool movePoints()
Do what is necessary if the mesh has moved.
virtual const fvGeometryScheme & geometry() const
Return reference to geometry calculation scheme.
virtual const surfaceVectorField & nonOrthCorrectionVectors() const
Return reference to non-orthogonality correction vectors.
virtual void updateMesh(const mapPolyMesh &mpm)
Update mesh for topology changes.
virtual const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
virtual const surfaceScalarField & deltaCoeffs() const
Return reference to cell-centre difference coefficients.
surfaceInterpolation(const fvMesh &)
Construct given an fvMesh.
virtual const surfaceScalarField & nonOrthDeltaCoeffs() const
Return reference to non-orthogonal cell-centre difference.
void clearOut()
Clear all geometry and addressing.
virtual ~surfaceInterpolation()
Destructor.
virtual void updateGeom()
Update all geometric data.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Namespace for handling debugging switches.
Namespace of functions to calculate implicit derivatives returning a matrix.
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.