Public Member Functions | List of all members
emptyFvPatch Class Reference

A patch which will not exist in the fvMesh. Typical example is a front and back plane of a 2-D geometry. More...

Inheritance diagram for emptyFvPatch:
Inheritance graph
[legend]
Collaboration diagram for emptyFvPatch:
Collaboration graph
[legend]

Public Member Functions

 TypeName (emptyPolyPatch::typeName_())
 Runtime type information. More...
 
 emptyFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from polyPatch. More...
 
virtual label size () const
 Return size. More...
 
virtual const labelUListfaceCells () const
 Return faceCells. More...
 
- Public Member Functions inherited from fvPatch
 TypeName (polyPatch::typeName_())
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, fvPatch, polyPatch,(const polyPatch &patch, const fvBoundaryMesh &bm),(patch, bm))
 
 fvPatch (const polyPatch &, const fvBoundaryMesh &)
 Construct from polyPatch and fvBoundaryMesh. More...
 
virtual ~fvPatch ()
 Destructor. More...
 
const polyPatchpatch () const
 Return the polyPatch. More...
 
const wordname () const
 Return name. More...
 
label start () const
 Return start label of this patch in the polyMesh face list. More...
 
virtual bool coupled () const
 Return true if this patch is coupled. More...
 
label index () const
 Return the index of this patch in the fvBoundaryMesh. More...
 
const fvBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference. More...
 
template<class T >
const List< T >::subList patchSlice (const List< T > &l) const
 Slice list to patch. More...
 
const vectorFieldCf () const
 Return face centres. More...
 
tmp< vectorFieldCn () const
 Return neighbour cell centres. More...
 
const vectorFieldSf () const
 Return face area vectors. More...
 
const scalarFieldmagSf () const
 Return face area magnitudes. More...
 
tmp< vectorFieldnf () const
 Return face normals. More...
 
virtual tmp< vectorFielddelta () const
 Return cell-centre to face-centre vector. More...
 
const scalarFieldweights () const
 Return patch weighting factors. More...
 
const scalarFielddeltaCoeffs () const
 Return the face - cell distance coeffient. More...
 
template<class Type >
tmp< Field< Type > > patchInternalField (const UList< Type > &) const
 Return given internal field next to patch as patch field. More...
 
template<class Type >
void patchInternalField (const UList< Type > &, Field< Type > &) const
 Return given internal field next to patch as patch field. More...
 
template<class GeometricField , class Type >
const GeometricField::PatchFieldTypepatchField (const GeometricField &) const
 Return the corresponding patchField of the named field. More...
 
template<class GeometricField , class Type >
const GeometricField::PatchFieldTypelookupPatchField (const word &name, const GeometricField *=NULL, const Type *=NULL) const
 Lookup and return the patchField of the named field from the. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > patchInternalField (const UList< Type > &f) const
 

Additional Inherited Members

- Public Types inherited from fvPatch
typedef fvBoundaryMesh BoundaryMesh
 
- Static Public Member Functions inherited from fvPatch
static autoPtr< fvPatchNew (const polyPatch &, const fvBoundaryMesh &)
 Return a pointer to a new patch created on freestore from polyPatch. More...
 
static bool constraintType (const word &pt)
 Return true if the given type is a constraint type. More...
 
static wordList constraintTypes ()
 Return a list of all the constraint patch types. More...
 
- Protected Member Functions inherited from fvPatch
virtual void makeWeights (scalarField &) const
 Make patch weighting factors. More...
 
virtual void initMovePoints ()
 Initialise the patches for moving points. More...
 
virtual void movePoints ()
 Correct patches after moving points. More...
 

Detailed Description

A patch which will not exist in the fvMesh. Typical example is a front and back plane of a 2-D geometry.

Source files

Definition at line 50 of file emptyFvPatch.H.

Constructor & Destructor Documentation

emptyFvPatch ( const polyPatch patch,
const fvBoundaryMesh bm 
)

Construct from polyPatch.

Definition at line 44 of file emptyFvPatch.C.

Member Function Documentation

TypeName ( emptyPolyPatch::typeName_()  )

Runtime type information.

virtual label size ( ) const
inlinevirtual

Return size.

Reimplemented from fvPatch.

Definition at line 76 of file emptyFvPatch.H.

References emptyFvPatch::faceCells().

Here is the call graph for this function:

const labelUList & faceCells ( ) const
virtual

Return faceCells.

Reimplemented from fvPatch.

Definition at line 59 of file emptyFvPatch.C.

Referenced by emptyFvPatch::size().

Here is the caller graph for this function:


The documentation for this class was generated from the following files: