37 #ifndef reverseLinear_H 38 #define reverseLinear_H 107 mesh.surfaceInterpolation::weights()
117 "reverseLinearWeights",
126 treverseLinearWeights.
ref();
128 reverseLinearWeights.primitiveFieldRef() =
129 1.0 - cdWeights.primitiveField();
131 surfaceScalarField::Boundary& rlwbf =
132 reverseLinearWeights.boundaryFieldRef();
137 if (rlwbf[
patchi].coupled())
139 rlwbf[
patchi] = 1.0 - cdWeights.boundaryField()[
patchi];
147 return treverseLinearWeights;
#define forAll(list, i)
Loop across all elements in list.
TypeName("reverseLinear")
Runtime type information.
Inversed weight central-differencing interpolation scheme class.
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.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const fvMesh & mesh() const
Return mesh reference.
const Time & time() const
Return the top-level database.
reverseLinear(const fvMesh &mesh)
Construct from mesh.
Internal & ref()
Return a reference to the dimensioned internal field.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Abstract base class for surface interpolation schemes.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.