Abstract base class for edge interpolation schemes. More...
Public Member Functions | |
declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
declareRunTimeSelectionTable (tmp, edgeInterpolationScheme, MeshFlux,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData)) | |
edgeInterpolationScheme (const edgeInterpolationScheme &)=delete | |
No copy construct. More... | |
void | operator= (const edgeInterpolationScheme &)=delete |
No copy assignment. More... | |
edgeInterpolationScheme (const faMesh &mesh) | |
Construct from mesh. More... | |
virtual | ~edgeInterpolationScheme () |
const faMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< edgeScalarField > | weights (const GeometricField< Type, faPatchField, areaMesh > &) const =0 |
Return the interpolation weighting factors for the given field. More... | |
virtual bool | corrected () const |
Return true if this scheme uses an explicit correction. More... | |
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | correction (const GeometricField< Type, faPatchField, areaMesh > &) const |
Return the explicit correction to the face-interpolate. More... | |
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const GeometricField< Type, faPatchField, areaMesh > &) const |
Return the face-interpolate of the given cell field. More... | |
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | euclidianInterpolate (const GeometricField< Type, faPatchField, areaMesh > &) const |
Return the euclidian edge-interpolate of the given area field. More... | |
tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const tmp< GeometricField< Type, faPatchField, areaMesh >> &) const |
Return the face-interpolate of the given tmp cell field. More... | |
Public Member Functions inherited from refCount | |
constexpr | refCount () noexcept |
Default construct, initializing count to 0. More... | |
int | use_count () const noexcept |
Return the current reference count. More... | |
bool | unique () const noexcept |
Return true if the reference count is zero. More... | |
void | operator++ () noexcept |
Increment the reference count. More... | |
void | operator++ (int) noexcept |
Increment the reference count. More... | |
void | operator-- () noexcept |
Decrement the reference count. More... | |
void | operator-- (int) noexcept |
Decrement the reference count. More... | |
Static Public Member Functions | |
static tmp< edgeInterpolationScheme< Type > > | New (const faMesh &mesh, Istream &schemeData) |
Return new tmp interpolation scheme. More... | |
static tmp< edgeInterpolationScheme< Type > > | New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData) |
Return new tmp interpolation scheme. More... | |
static tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const tmp< edgeScalarField > &) |
Return the face-interpolate of the given cell field. More... | |
static tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &) |
Return the face-interpolate of the given cell field. More... | |
static tmp< GeometricField< Type, faePatchField, edgeMesh > > | euclidianInterpolate (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &) |
Return the euclidian edge-interpolate of the given area field. More... | |
Abstract base class for edge interpolation schemes.
Definition at line 51 of file edgeInterpolationScheme.H.
|
delete |
No copy construct.
|
inline |
Construct from mesh.
Definition at line 111 of file edgeInterpolationScheme.H.
|
virtual |
Definition at line 120 of file edgeInterpolationScheme.C.
declareRunTimeSelectionTable | ( | tmp | , |
edgeInterpolationScheme< Type > | , | ||
Mesh | , | ||
(const faMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
declareRunTimeSelectionTable | ( | tmp | , |
edgeInterpolationScheme< Type > | , | ||
MeshFlux | , | ||
(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData) | , | ||
(mesh, faceFlux, schemeData) | |||
) |
|
delete |
No copy assignment.
|
static |
Return new tmp interpolation scheme.
Definition at line 32 of file edgeInterpolationScheme.C.
|
static |
Return new tmp interpolation scheme.
Definition at line 75 of file edgeInterpolationScheme.C.
|
inline |
Return mesh reference.
Definition at line 149 of file edgeInterpolationScheme.H.
Referenced by skewCorrectedEdgeInterpolation< Type >::corrected(), skewCorrectedEdgeInterpolation< Type >::correction(), skewCorrectedEdgeInterpolation< Type >::skewCorrection(), linearEdgeInterpolation< Type >::weights(), and leastSquaresEdgeInterpolation< Type >::weights().
|
static |
Return the face-interpolate of the given cell field.
with the given owner and neighbour weighting factors
Definition at line 129 of file edgeInterpolationScheme.C.
Referenced by Foam::linearEdgeInterpolate(), and skewCorrectedEdgeInterpolation< Type >::skewCorrection().
|
static |
Return the face-interpolate of the given cell field.
with the given weighting factors
Definition at line 248 of file edgeInterpolationScheme.C.
|
static |
Return the euclidian edge-interpolate of the given area field.
with the given weighting factors
Definition at line 364 of file edgeInterpolationScheme.C.
|
pure virtual |
Return the interpolation weighting factors for the given field.
Implemented in faNVDscheme< Type, NVDweight >, blendedEdgeInterpolation< Type >, upwindEdgeInterpolation< Type >, leastSquaresEdgeInterpolation< Type >, skewCorrectedEdgeInterpolation< Type >, and linearEdgeInterpolation< Type >.
|
inlinevirtual |
Return true if this scheme uses an explicit correction.
Reimplemented in skewCorrectedEdgeInterpolation< Type >.
Definition at line 205 of file edgeInterpolationScheme.H.
|
inlinevirtual |
Return the explicit correction to the face-interpolate.
for the given field
Reimplemented in skewCorrectedEdgeInterpolation< Type >.
Definition at line 213 of file edgeInterpolationScheme.H.
|
virtual |
Return the face-interpolate of the given cell field.
with explicit correction
Reimplemented in leastSquaresEdgeInterpolation< Type >.
Definition at line 440 of file edgeInterpolationScheme.C.
|
virtual |
Return the euclidian edge-interpolate of the given area field.
without explicit correction
Definition at line 469 of file edgeInterpolationScheme.C.
Foam::tmp< Foam::GeometricField< Type, Foam::faePatchField, Foam::edgeMesh > > interpolate | ( | const tmp< GeometricField< Type, faPatchField, areaMesh >> & | tvf | ) | const |
Return the face-interpolate of the given tmp cell field.
with explicit correction
Definition at line 493 of file edgeInterpolationScheme.C.