55 nonOrthDeltaCoeffs_.clear();
56 nonOrthCorrectionVectors_.clear();
65 geometryPtr_(nullptr),
67 deltaCoeffs_(nullptr),
68 nonOrthDeltaCoeffs_(nullptr),
69 nonOrthCorrectionVectors_(nullptr)
90 mesh_.schemesDict().subOrEmptyDict(
"geometry"),
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;
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Abstract base class for geometry calculation schemes.
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
void updateMesh()
Update for new mesh 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 const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
virtual const surfaceScalarField & deltaCoeffs() const
Return reference to cell-centre difference coefficients.
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
static const char *const typeName
The type name used in ensight case files.