60 void operator=(
const localMax&) =
delete;
127 "localMax::interpolate(" + vf.
name() +
')',
139 vff[facei] =
max(vf[own[facei]], vf[nei[facei]]);
160 pff[i] =
max(pif[i], pnf[i]);
#define forAll(list, i)
Loop across all elements in list.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
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)...
Local maximum interpolation scheme in which the face value is set to the maximum of the two neighbour...
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the face-interpolate of the given cell field.
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.
const labelUList & neighbour() const
Internal face neighbour.
TypeName("localMax")
Runtime type information.
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...
localMax(const fvMesh &mesh)
Construct from mesh.
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.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
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.
Abstract base class for surface interpolation schemes.