Go to the documentation of this file.
58 class surfaceInterpolation;
81 void operator=(
const fvPatch&) =
delete;
154 return polyPatch_.
name();
160 return polyPatch_.
start();
166 return polyPatch_.size();
184 return polyPatch_.
index();
190 return boundaryMesh_;
249 template<
class GeometricField,
class Type>
260 template<
class GeometricField,
class Type>
265 const Type* =
nullptr
const vectorField & Sf() const
Return face area vectors.
fvBoundaryMesh BoundaryMesh
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual label start() const
Return start label of this patch in the polyMesh face list.
virtual bool coupled() const
Return true if this patch is coupled.
virtual ~fvPatch()
Destructor.
virtual tmp< vectorField > delta() const
A List obtained as a section of another List.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
static autoPtr< fvPatch > New(const polyPatch &, const fvBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
virtual const word & name() const
Return name.
tmp< Field< Type > > patchInternalField(const UList< Type > &) const
Return given internal field next to patch as patch field.
virtual void movePoints()
Correct patches after moving points.
Specialisations of Field<T> for scalar, vector and tensor.
const List< T >::subList patchSlice(const List< T > &l) const
Slice list to patch.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
virtual label size() const
Return size.
tmp< vectorField > nf() const
Return face normals.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void initMovePoints()
Initialise the patches for moving points.
static bool constraintType(const word &pt)
Return true if the given type is a constraint type.
const vectorField & Cf() const
Return face centres.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
SubList< T > subList
Declare type of subList.
label index() const
Return the index of this patch in the fvBoundaryMesh.
label start() const
Return start label of this patch in the polyMesh face list.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const scalarField & weights() const
Return patch weighting factors.
Macros to ease declaration of run-time selection tables.
const scalarField & deltaCoeffs() const
Cell to surface interpolation scheme. Included in fvMesh.
const GeometricField::Patch & patchField(const GeometricField &) const
Return the corresponding patchField of the named field.
virtual const labelUList & faceCells() const
Return faceCells.
const polyPatch & patch() const
Return the polyPatch.
TypeName(polyPatch::typeName_())
Runtime type information.
const scalarField & magSf() const
Return face area magnitudes.
Generic GeometricField class.
PatchField< Type > Patch
Type of the patch field of which the.
const word & name() const
Return the patch name.
label index() const
The index of this patch in the boundaryMesh.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
declareRunTimeSelectionTable(autoPtr, fvPatch, polyPatch,(const polyPatch &patch, const fvBoundaryMesh &bm),(patch, bm))
static wordList constraintTypes()
Return a list of all the constraint patch types.
tmp< vectorField > Cn() const
Return neighbour cell centres.