Go to the documentation of this file.
60 class surfaceInterpolation;
83 void operator=(
const fvPatch&) =
delete;
170 return polyPatch_.
name();
174 virtual label
start()
const
176 return polyPatch_.
start();
180 virtual label
size()
const
182 return polyPatch_.size();
200 return polyPatch_.
index();
206 return boundaryMesh_;
274 template<
class GeometricField,
class Type>
285 template<
class GeometricField,
class Type>
290 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 void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
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.
static const fvPatch & lookupPatch(const polyPatch &p)
Lookup the polyPatch index on corresponding fvMesh.
virtual label size() const
Return size.
tmp< vectorField > nf() const
Return face normals.
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.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
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 index() const noexcept
The index of this patch in the boundaryMesh.
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.
const word & name() const noexcept
The patch name.
TypeName(polyPatch::typeName_())
Runtime type information.
const scalarField & magSf() const
Return face area magnitudes.
Generic GeometricField class.
Smooth ATC in cells next to a set of patches supplied by type.
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.