Go to the documentation of this file.
60 class surfaceInterpolation;
166 return polyPatch_.
name();
170 virtual label
start()
const
172 return polyPatch_.
start();
176 virtual label
size()
const
178 return polyPatch_.size();
196 return polyPatch_.
index();
202 return boundaryMesh_;
261 template<
class GeometricField,
class Type>
272 template<
class GeometricField,
class Type>
277 const Type* =
nullptr
const vectorField & Sf() const
Return face area vectors.
fvBoundaryMesh BoundaryMesh
void operator=(const fvPatch &)=delete
No copy assignment.
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 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.
fvPatch(const fvPatch &)=delete
No copy construct.
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.
const word & name() const
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.