Go to the documentation of this file.
56 class surfaceInterpolation;
247 template<
class GeometricField,
class Type>
258 template<
class GeometricField,
class Type>
const vectorField & Sf() const
Return face area vectors.
fvBoundaryMesh BoundaryMesh
A class for handling words, derived from string.
A class for managing temporary objects.
virtual bool coupled() const
Return true if this patch is coupled.
virtual ~fvPatch()
Destructor.
virtual tmp< vectorField > delta() const
Return cell-centre to face-centre vector.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
const polyPatch & polyPatch_
Reference to the underlying polyPatch.
static autoPtr< fvPatch > New(const polyPatch &, const fvBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
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.
fvPatch(const fvPatch &)
Disallow construct as copy.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const word & name() const
Return name.
const fvBoundaryMesh & boundaryMesh_
Reference to boundary mesh.
virtual label size() const
Return size.
tmp< vectorField > nf() const
Return face normals.
PatchField< Type > PatchFieldType
void operator=(const fvPatch &)
Disallow assignment.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
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.
SubList< T > subList
Declare type of subList.
const GeometricField::PatchFieldType & patchField(const GeometricField &) const
Return the corresponding patchField of the named field.
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const scalarField & weights() const
Return patch weighting factors.
Macros to ease declaration of run-time selection tables.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const scalarField & deltaCoeffs() const
Return the face - cell distance coeffient.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label start() const
Return start label of this patch in the polyMesh face list.
Cell to surface interpolation scheme. Included in fvMesh.
const GeometricField::PatchFieldType & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
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
Return name.
label index() const
Return 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.