Go to the documentation of this file.
53 nonOrthDeltaCoeffs_.clear();
54 nonOrthCorrectionVectors_.clear();
64 deltaCoeffs_(nullptr),
65 nonOrthDeltaCoeffs_(nullptr),
66 nonOrthCorrectionVectors_(nullptr)
82 if (!geometryPtr_.valid())
87 mesh_.schemesDict().subOrEmptyDict(
"geometry"),
88 basicFvGeometryScheme::typeName
92 return geometryPtr_();
98 geometryPtr_ = schemePtr;
104 if (!weights_.valid())
106 weights_.set(geometry().weights().ptr());
115 if (!deltaCoeffs_.valid())
117 deltaCoeffs_.set(geometry().deltaCoeffs().ptr());
120 return deltaCoeffs_();
127 if (!nonOrthDeltaCoeffs_.valid())
129 nonOrthDeltaCoeffs_.set(geometry().nonOrthDeltaCoeffs().ptr());
132 return nonOrthDeltaCoeffs_();
139 if (!nonOrthCorrectionVectors_.valid())
141 nonOrthCorrectionVectors_.set
143 geometry().nonOrthCorrectionVectors().ptr()
147 return nonOrthCorrectionVectors_();
155 Pout<<
"surfaceInterpolation::movePoints() : "
156 <<
"Updating geometric properties using the fvGeometryScheme"
164 deltaCoeffs_.clear();
165 nonOrthDeltaCoeffs_.clear();
166 nonOrthCorrectionVectors_.clear();
176 Pout<<
"surfaceInterpolation::updateGeom() : "
177 <<
"Updating geometric properties" <<
endl;
int debug
Static debugging option.
void clearOut()
Clear all geometry and addressing.
virtual const surfaceScalarField & nonOrthDeltaCoeffs() const
Return reference to non-orthogonal cell-centre difference.
A class for managing temporary objects.
virtual const fvGeometryScheme & geometry() const
Return reference to geometry calculation scheme.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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.
virtual bool movePoints()
Do what is necessary if the mesh has moved.
Mesh data needed to do the Finite Volume discretisation.
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 void updateGeom()
Update all geometric data.
surfaceInterpolation(const fvMesh &)
Construct given an fvMesh.
virtual ~surfaceInterpolation()
Destructor.
static tmp< fvGeometryScheme > New(const fvMesh &mesh, const dictionary &dict, const word &defaultScheme)
Return new tmp interpolation scheme.
defineTypeNameAndDebug(combustionModel, 0)