Abstract base class for surface interpolation schemes. More...
Public Member Functions | |
TypeName ("surfaceInterpolationScheme") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
declareRunTimeSelectionTable (tmp, surfaceInterpolationScheme, MeshFlux,(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData)) | |
surfaceInterpolationScheme (const fvMesh &mesh) | |
Construct from mesh. More... | |
virtual | ~surfaceInterpolationScheme () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< surfaceScalarField > | weights (const GeometricField< Type, fvPatchField, volMesh > &) 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, fvsPatchField, surfaceMesh > > | correction (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the explicit correction to the face-interpolate. More... | |
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the face-interpolate of the given cell field. More... | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | interpolate (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const |
Return the face-interpolate of the given tmp cell field. More... | |
![]() | |
refCount () | |
Construct null with zero count. More... | |
int | count () const |
Return the reference count. More... | |
bool | okToDelete () const |
Return true if the reference count is zero. More... | |
void | resetRefCount () |
Reset the reference count to zero. More... | |
void | operator++ () |
Increment the reference count. More... | |
void | operator++ (int) |
Increment the reference count. More... | |
void | operator-- () |
Decrement the reference count. More... | |
void | operator-- (int) |
Decrement the reference count. More... | |
Static Public Member Functions | |
static tmp< surfaceInterpolationScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return new tmp interpolation scheme. More... | |
static tmp< surfaceInterpolationScheme< Type > > | New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData) |
Return new tmp interpolation scheme. More... | |
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &) |
Return the face-interpolate of the given cell field. More... | |
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | interpolate (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &) |
Return the face-interpolate of the given cell field. More... | |
Private Member Functions | |
surfaceInterpolationScheme (const surfaceInterpolationScheme &) | |
Disallow copy construct. More... | |
void | operator= (const surfaceInterpolationScheme &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
const fvMesh & | mesh_ |
Hold reference to mesh. More... | |
Abstract base class for surface interpolation schemes.
Definition at line 55 of file surfaceInterpolationScheme.H.
|
private |
Disallow copy construct.
|
inline |
Construct from mesh.
Definition at line 111 of file surfaceInterpolationScheme.H.
|
virtual |
Destructor.
Definition at line 145 of file surfaceInterpolationScheme.C.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "surfaceInterpolationScheme< Type >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
surfaceInterpolationScheme< Type > | , | ||
Mesh | , | ||
(const fvMesh &mesh, Istream &schemeData) | , | ||
(mesh, schemeData) | |||
) |
declareRunTimeSelectionTable | ( | tmp | , |
surfaceInterpolationScheme< Type > | , | ||
MeshFlux | , | ||
(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData) | , | ||
(mesh, faceFlux, schemeData) | |||
) |
|
static |
Return new tmp interpolation scheme.
Definition at line 44 of file surfaceInterpolationScheme.C.
Referenced by gaussGrad< Type >::gaussGrad(), laplacianScheme< Type, GType >::laplacianScheme(), multivariateIndependentScheme< Type >::operator()(), and Foam::fvc::scheme().
|
static |
Return new tmp interpolation scheme.
Definition at line 94 of file surfaceInterpolationScheme.C.
|
inline |
Return mesh reference.
Definition at line 142 of file surfaceInterpolationScheme.H.
Referenced by localBlended< Type >::blendingFactor(), CoBlended< Type >::blendingFactor(), cellCoBlended< Type >::blendingFactor(), DEShybrid< Type >::blendingFactor(), DEShybrid< Type >::calcBlendingFactor(), skewCorrected< Type >::corrected(), cubic< Type >::correction(), CentredFitScheme< Type, Polynomial, Stencil >::correction(), PureUpwindFitScheme< Type, Polynomial, Stencil >::correction(), UpwindFitScheme< Type, Polynomial, Stencil >::correction(), outletStabilised< Type >::correction(), skewCorrected< Type >::correction(), localBlended< Type >::correction(), localMax< Type >::interpolate(), localMin< Type >::interpolate(), localBlended< Type >::interpolate(), upwind< Type >::limiter(), blended< Type >::limiter(), skewCorrected< Type >::skewCorrection(), midPoint< Type >::weights(), linear< Type >::weights(), reverseLinear< Type >::weights(), LUST< Type >::weights(), clippedLinear< Type >::weights(), outletStabilised< Type >::weights(), localBlended< Type >::weights(), and blended< Type >::weights().
|
static |
Return the face-interpolate of the given cell field.
with the given owner and neighbour weigting factors
with the given owner and neighbour weighting factors
Definition at line 156 of file surfaceInterpolationScheme.C.
Referenced by cubic< Type >::correction(), harmonic::interpolate(), Foam::linearInterpolate(), and skewCorrected< Type >::skewCorrection().
|
static |
Return the face-interpolate of the given cell field.
with the given weighting factors
Definition at line 242 of file surfaceInterpolationScheme.C.
|
pure virtual |
Return the interpolation weighting factors for the given field.
Implemented in DEShybrid< Type >, cellCoBlended< Type >, CoBlended< Type >, blended< Type >, fixedBlended< Type >, localBlended< Type >, limiterBlended< Type >, outletStabilised< Type >, limitWith< Type >, skewCorrected< Type >, multivariateSurfaceInterpolationScheme< Type >::fieldScheme, limitedSurfaceInterpolationScheme< Type >, upwind< Type >, multivariateUpwind< Type >::fieldScheme, clippedLinear< Type >, multivariateSelectionScheme< Type >::fieldScheme, downwind< Type >, weighted< Type >, localMax< Type >, localMin< Type >, LUST< Type >, reverseLinear< Type >, linear< Type >, midPoint< Type >, and harmonic.
|
inlinevirtual |
Return true if this scheme uses an explicit correction.
Reimplemented in DEShybrid< Type >, cellCoBlended< Type >, CoBlended< Type >, fixedBlended< Type >, localBlended< Type >, outletStabilised< Type >, limiterBlended< Type >, linearUpwind< Type >, linearUpwindV< Type >, limitWith< Type >, skewCorrected< Type >, PureUpwindFitScheme< Type, Polynomial, Stencil >, UpwindFitScheme< Type, Polynomial, Stencil >, LUST< Type >, CentredFitScheme< Type, Polynomial, Stencil >, pointLinear< Type >, and cubic< Type >.
Definition at line 175 of file surfaceInterpolationScheme.H.
|
inlinevirtual |
Return the explicit correction to the face-interpolate.
for the given field
Reimplemented in DEShybrid< Type >, cellCoBlended< Type >, CoBlended< Type >, fixedBlended< Type >, localBlended< Type >, skewCorrected< Type >, outletStabilised< Type >, limiterBlended< Type >, limitWith< Type >, PureUpwindFitScheme< Type, Polynomial, Stencil >, UpwindFitScheme< Type, Polynomial, Stencil >, LUST< Type >, CentredFitScheme< Type, Polynomial, Stencil >, pointLinear< Type >, cubic< Type >, linearUpwind< Type >, and linearUpwindV< Type >.
Definition at line 183 of file surfaceInterpolationScheme.H.
|
virtual |
Return the face-interpolate of the given cell field.
with explicit correction
Reimplemented in DEShybrid< Type >, cellCoBlended< Type >, CoBlended< Type >, fixedBlended< Type >, localBlended< Type >, limiterBlended< Type >, localMax< Type >, localMin< Type >, and harmonic.
Definition at line 321 of file surfaceInterpolationScheme.C.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate | ( | const tmp< GeometricField< Type, fvPatchField, volMesh > > & | tvf | ) | const |
Return the face-interpolate of the given tmp cell field.
Return the face-interpolate of the given cell field.
with explicit correction
Definition at line 353 of file surfaceInterpolationScheme.C.
|
private |
Hold reference to mesh.
Definition at line 62 of file surfaceInterpolationScheme.H.
Referenced by outletStabilised< Type >::correction(), surfaceInterpolationScheme< scalar >::mesh(), and outletStabilised< Type >::weights().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.