122 "localMin::interpolate(" + vf.
name() +
')',
134 vff[facei] =
minMod(vf[own[facei]], vf[nei[facei]]);
155 pff[i] =
minMod(pif[i], pnf[i]);
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the face-interpolate of the given cell field.
TypeName("localMin")
Runtime type information.
#define forAll(list, i)
Loop across all elements in list.
const word & name() const
Return name.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
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)...
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const fvMesh & mesh() const
Return mesh reference.
void operator=(const localMin &)=delete
Disallow default bitwise assignment.
const labelUList & neighbour() const
Internal face neighbour.
virtual tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
const dimensionSet & dimensions() const
Return dimensions.
Pre-declare SubField and related Field type.
virtual bool coupled() const
Return true if this patch field is coupled.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual tmp< Field< Type > > patchInternalField() const
Return internal field next to patch as patch field.
const Mesh & mesh() const
Return mesh.
const labelUList & owner() const
Internal face owner.
Scalar minMod(const Scalar s1, const Scalar s2)
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
localMin(const fvMesh &mesh)
Construct from mesh.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
virtual tmp< Field< Type > > patchNeighbourField(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking) const
Return patchField on the opposite patch of a coupled patch.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Local minimum interpolation scheme in which the face value is set to the minimum of the two neighbour...
Abstract base class for surface interpolation schemes.