Linear/upwind blended differencing scheme. More...
Public Member Functions | |
TypeName ("skewCorrected") | |
Runtime type information. More... | |
skewCorrectedEdgeInterpolation (const skewCorrectedEdgeInterpolation &)=delete | |
No copy construct. More... | |
void | operator= (const skewCorrectedEdgeInterpolation &)=delete |
No copy assignment. More... | |
skewCorrectedEdgeInterpolation (const faMesh &mesh, Istream &is) | |
Construct from Istream. More... | |
skewCorrectedEdgeInterpolation (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &is) | |
Construct from mesh, faceFlux and blendingFactor. More... | |
virtual tmp< edgeScalarField > | weights (const GeometricField< Type, faPatchField, areaMesh > &vf) const |
Return the interpolation weighting factors. More... | |
virtual bool | corrected () const |
Return true if this scheme uses an explicit correction. More... | |
tmp< GeometricField< Type, faePatchField, edgeMesh > > | skewCorrection (const GeometricField< Type, faPatchField, areaMesh > &vf) const |
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | correction (const GeometricField< Type, faPatchField, areaMesh > &vf) const |
Return the explicit correction to the face-interpolate. More... | |
Public Member Functions inherited from edgeInterpolationScheme< Type > | |
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< 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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from edgeInterpolationScheme< Type > | |
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... | |
Linear/upwind blended differencing scheme.
Definition at line 50 of file skewCorrectedEdgeInterpolation.H.
|
delete |
No copy construct.
|
inline |
Construct from Istream.
Definition at line 89 of file skewCorrectedEdgeInterpolation.H.
|
inline |
Construct from mesh, faceFlux and blendingFactor.
Definition at line 102 of file skewCorrectedEdgeInterpolation.H.
TypeName | ( | "skewCorrected" | ) |
Runtime type information.
|
delete |
No copy assignment.
|
inlinevirtual |
Return the interpolation weighting factors.
Implements edgeInterpolationScheme< Type >.
Definition at line 122 of file skewCorrectedEdgeInterpolation.H.
|
inlinevirtual |
Return true if this scheme uses an explicit correction.
Reimplemented from edgeInterpolationScheme< Type >.
Definition at line 132 of file skewCorrectedEdgeInterpolation.H.
References edgeInterpolationScheme< Type >::mesh(), and Foam::skew().
Referenced by skewCorrectedEdgeInterpolation< Type >::correction().
|
inline |
Definition at line 140 of file skewCorrectedEdgeInterpolation.H.
References GeometricField< Type, PatchField, GeoMesh >::component(), IOobject::db(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::fac::grad(), IOobject::instance(), edgeInterpolationScheme< Type >::interpolate(), edgeInterpolationScheme< Type >::mesh(), IOobject::name(), Foam::expressions::Detail::nComponents(), GeometricField< Type, PatchField, GeoMesh >::ref(), edgeInterpolation::skewCorrectionVectors(), Foam::type(), and Foam::Zero.
Referenced by skewCorrectedEdgeInterpolation< Type >::correction().
|
inlinevirtual |
Return the explicit correction to the face-interpolate.
Reimplemented from edgeInterpolationScheme< Type >.
Definition at line 194 of file skewCorrectedEdgeInterpolation.H.
References skewCorrectedEdgeInterpolation< Type >::corrected(), edgeInterpolationScheme< Type >::mesh(), Foam::skew(), and skewCorrectedEdgeInterpolation< Type >::skewCorrection().