Go to the documentation of this file.
36 #ifndef clippedLinear_H
37 #define clippedLinear_H
66 if (cellSizeRatio_ <= 0 || cellSizeRatio_ > 1)
70 <<
" is not between 0 and 1"
135 mesh.surfaceInterpolation::weights()
145 "clippedLinearWeights",
180 return tclippedLinearWeights;
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const scalar cellSizeRatio_
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
Central-differencing interpolation scheme using clipped-weights to improve stability on meshes with v...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
InternalField & internalField()
Return internal field.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
void operator=(const clippedLinear &)
Disallow default bitwise assignment.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
clippedLinear(const fvMesh &mesh, Istream &is)
Construct from Istream.
Abstract base class for surface interpolation schemes.
const Time & time() const
Return the top-level database.
const fvMesh & mesh() const
Return mesh reference.
TypeName("clippedLinear")
Runtime type information.
Generic GeometricField class.
clippedLinear(const fvMesh &mesh, const scalar cellSizeRatio)
Construct from mesh and cellSizeRatio.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)