37 #ifndef reverseLinear_H 38 #define reverseLinear_H 101 mesh.surfaceInterpolation::weights()
109 "reverseLinearWeights",
115 treverseLinearWeights.
ref();
118 1.0 - cdWeights.primitiveField();
126 if (rlwbf[
patchi].coupled())
128 rlwbf[
patchi] = 1.0 - cdWeights.boundaryField()[
patchi];
136 return treverseLinearWeights;
#define forAll(list, i)
Loop across all elements in list.
TypeName("reverseLinear")
Runtime type information.
Inversed weight centred interpolation interpolation scheme class.
T & ref() const
Return non-const reference or generate a fatal error.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static tmp< GeometricField< scalar, fvsPatchField, surfaceMesh > > New(const word &name, const Internal &, const PtrList< fvsPatchField< scalar >> &)
Return a temporary field constructed from name,.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
const dimensionSet dimless
const fvMesh & mesh() const
Return mesh reference.
reverseLinear(const fvMesh &mesh)
Construct from mesh.
void operator=(const reverseLinear &)=delete
Disallow default bitwise assignment.
Internal::FieldType & primitiveFieldRef()
Return a reference to the internal field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
Abstract base class for surface interpolation schemes.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.