Go to the documentation of this file.
42 #ifndef reverseLinear_H
43 #define reverseLinear_H
112 mesh.surfaceInterpolation::weights()
122 "reverseLinearWeights",
131 treverseLinearWeights.
ref();
133 reverseLinearWeights.primitiveFieldRef() =
134 1.0 - cdWeights.primitiveField();
136 surfaceScalarField::Boundary& rlwbf =
137 reverseLinearWeights.boundaryFieldRef();
142 if (rlwbf[patchi].coupled())
144 rlwbf[patchi] = 1.0 - cdWeights.boundaryField()[patchi];
148 rlwbf[patchi] = cdWeights.boundaryField()[patchi];
152 return treverseLinearWeights;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
A class for managing temporary objects.
static word timeName(const scalar t, const int precision=precision_)
TypeName("reverseLinear")
Runtime type information.
reverseLinear(const fvMesh &mesh, Istream &)
Construct from Istream.
#define forAll(list, i)
Loop across all elements in list.
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.
reverseLinear(const fvMesh &mesh)
Construct from mesh.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
Abstract base class for surface interpolation schemes.
const Time & time() const
Return the top-level database.
const fvMesh & mesh() const
Return mesh reference.