62class surfaceInterpolation;
88 void operator=(
const fvPatch&) =
delete;
176 return polyPatch_.
name();
180 virtual label
start()
const
182 return polyPatch_.
start();
186 virtual label
size()
const
188 return polyPatch_.size();
206 return polyPatch_.
index();
212 return boundaryMesh_;
280 template<
class GeometricField,
class Type>
291 template<
class GeometricField,
class Type>
296 const Type* =
nullptr
Generic GeometricField class.
PatchField< Type > Patch
The patch field type for the GeometricBoundaryField.
SubList< T > subList
Declare type of subList.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A List obtained as a section of another List.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Smooth ATC in cells next to a set of patches supplied by type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
static wordList constraintTypes()
Return a list of all the constraint patch types.
virtual label size() const
Return size.
virtual const word & name() const
Return name.
virtual ~fvPatch()
Destructor.
static const fvPatch & lookupPatch(const polyPatch &p)
Lookup the polyPatch index on corresponding fvMesh.
virtual bool coupled() const
Return true if this patch is coupled.
const GeometricField::Patch & patchField(const GeometricField &) const
Return the corresponding patchField of the named field.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
label index() const
Return the index of this patch in the fvBoundaryMesh.
virtual label start() const
Return start label of this patch in the polyMesh face list.
static autoPtr< fvPatch > New(const polyPatch &, const fvBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
tmp< Field< Type > > patchInternalField(const UList< Type > &, const labelUList &faceCells) const
virtual void movePoints()
Correct patches after moving points.
tmp< vectorField > Cn() const
Return neighbour cell centres.
const GeometricField::Patch & lookupPatchField(const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
declareRunTimeSelectionTable(autoPtr, fvPatch, polyPatch,(const polyPatch &patch, const fvBoundaryMesh &bm),(patch, bm))
tmp< Field< Type > > patchInternalField(const UList< Type > &) const
Return given internal field next to patch as patch field.
virtual tmp< vectorField > delta() const
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.
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
const scalarField & magSf() const
Return face area magnitudes.
const scalarField & weights() const
Return patch weighting factors.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
tmp< vectorField > nf() const
Return face normals.
fvBoundaryMesh BoundaryMesh
The boundary type associated with the patch.
const polyPatch & patch() const
Return the polyPatch.
const vectorField & Cf() const
Return face centres.
const scalarField & deltaCoeffs() const
const List< T >::subList patchSlice(const List< T > &l) const
Slice list to patch.
TypeName(polyPatch::typeName_())
Runtime type information.
const vectorField & Sf() const
Return face area vectors.
virtual const labelUList & faceCells() const
Return faceCells.
label index() const noexcept
The index of this patch in the boundaryMesh.
const word & name() const noexcept
The patch name.
A patch is a list of labels that address the faces in the global face list.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
label start() const
Return start label of this patch in the polyMesh face list.
Cell to surface interpolation scheme. Included in fvMesh.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
PtrList< fvPatch > fvPatchList
Store lists of fvPatch as a PtrList.
Specialisations of Field<T> for scalar, vector and tensor.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.