Least-squares edge interpolation scheme class, from face centers to points then from points to edges. More...
Public Member Functions | |
TypeName ("leastSquares") | |
Runtime type information. More... | |
leastSquaresEdgeInterpolation (const leastSquaresEdgeInterpolation &)=delete | |
No copy construct. More... | |
void | operator= (const leastSquaresEdgeInterpolation &)=delete |
No copy assignment. More... | |
leastSquaresEdgeInterpolation (const faMesh &mesh) | |
Construct from mesh. More... | |
leastSquaresEdgeInterpolation (const faMesh &mesh, Istream &) | |
Construct from Istream. More... | |
leastSquaresEdgeInterpolation (const faMesh &mesh, const edgeScalarField &, Istream &) | |
Construct from faceFlux and Istream. More... | |
tmp< GeometricField< Type, faePatchField, edgeMesh > > | interpolate (const GeometricField< Type, faPatchField, areaMesh > &) const |
Return the edge-interpolate of the given face field. More... | |
tmp< edgeScalarField > | weights (const GeometricField< Type, faPatchField, areaMesh > &) const |
Return the interpolation weighting factors. 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 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 > > | 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... | |
Least-squares edge interpolation scheme class, from face centers to points then from points to edges.
Governing equations (tag:P): Pesci, C. (2019). Computational analysis of fluid interfaces influenced by soluble surfactant. Darmstadt, Technische Universität. PhD thesis. URI:https://tuprints.ulb.tu-darmstadt.de/id/eprint/9303
Definition at line 61 of file leastSquaresEdgeInterpolation.H.
|
delete |
No copy construct.
|
inline |
Construct from mesh.
Definition at line 92 of file leastSquaresEdgeInterpolation.H.
|
inline |
Construct from Istream.
Definition at line 100 of file leastSquaresEdgeInterpolation.H.
|
inline |
Construct from faceFlux and Istream.
Definition at line 109 of file leastSquaresEdgeInterpolation.H.
TypeName | ( | "leastSquares" | ) |
Runtime type information.
|
delete |
No copy assignment.
|
virtual |
Return the edge-interpolate of the given face field.
Reimplemented from edgeInterpolationScheme< Type >.
Definition at line 146 of file leastSquaresEdgeInterpolation.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), tmp< T >::clear(), tmp< T >::cref(), IOobject::db(), DimensionedField< Type, GeoMesh >::dimensions(), primitiveMesh::edges(), UList< T >::end(), forAll, Foam::fac::grad(), IOobject::instance(), Foam::mag(), Foam::max(), mesh, DimensionedField< Type, GeoMesh >::mesh(), IOobject::name(), tmp< T >::New(), primitiveMesh::nInternalEdges(), primitiveMesh::pointFaces(), polyMesh::points(), UList< T >::size(), Foam::sum(), and Foam::Zero.
|
inlinevirtual |
Return the interpolation weighting factors.
Implements edgeInterpolationScheme< Type >.
Definition at line 134 of file leastSquaresEdgeInterpolation.H.
References edgeInterpolationScheme< Type >::mesh().