mappedFvPatch Class Reference

Fv patch which can do interpolative mapping of values from another globally conforming fv patch. More...

Inheritance diagram for mappedFvPatch:
Collaboration diagram for mappedFvPatch:

Public Member Functions

 TypeName (mappedPolyPatch::typeName_())
 Runtime type information. More...
 
 mappedFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from components. 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...
 
 fvPatch (const fvPatch &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~fvPatch ()
 Destructor. More...
 
const polyPatchpatch () const
 Return the polyPatch. More...
 
virtual const wordname () const
 Return name. More...
 
virtual label start () const
 Return start label of this patch in the polyMesh face list. More...
 
virtual label size () const
 Return size. 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...
 
const objectRegistrydb () const
 Return the local object registry. More...
 
template<class T >
const List< T >::subList patchSlice (const List< T > &l) const
 Slice list to patch. More...
 
virtual const labelUListfaceCells () const
 Return faceCells. 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...
 
tmp< scalarFieldpolyFaceFraction () const
 Return the fraction of the poly-face that each fv-face in this. More...
 
virtual void makeWeights (scalarField &) const
 Make patch weighting factors. More...
 
const scalarFieldweights () const
 Return patch weighting factors. More...
 
virtual const scalarFielddeltaCoeffs () const
 Return the face - cell distance coefficient. 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::PatchpatchField (const GeometricField &) const
 Return the corresponding patchField of the named field. More...
 
template<class GeometricField , class Type >
GeometricField::PatchpatchField (GeometricField &) const
 Return the corresponding patchField reference of the named field. More...
 
template<class GeometricField , class Type >
const GeometricField::PatchlookupPatchField (const word &name) const
 Lookup and return the patchField of the named field from the. More...
 
void operator= (const fvPatch &)=delete
 Disallow default bitwise assignment. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > patchInternalField (const UList< Type > &f) const
 
- Public Member Functions inherited from mappedFvPatchBase
 TypeName ("mappedFvPatchBase")
 Runtime type information. More...
 
 mappedFvPatchBase (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~mappedFvPatchBase ()
 Destructor. More...
 
 FOR_ALL_FIELD_TYPES (DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR,)
 Map/interpolate. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > fromNeighbour (const Field< Type > &nbrFld) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > toNeighbour (const Field< Type > &fld) const
 
- Public Member Functions inherited from mappedFvPatchBaseBase
 TypeName ("mappedFvPatchBaseBase")
 Runtime type information. More...
 
 mappedFvPatchBaseBase (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~mappedFvPatchBaseBase ()
 Destructor. More...
 
const fvPatchpatch () const
 Reference to the fvPatch. More...
 
const wordnbrRegionName () const
 Name of the region to map from. More...
 
const wordnbrPatchName () const
 Name of the patch to map from. More...
 
const transformertransform () const
 The transformation between the patches. More...
 
bool haveNbr () const
 Is the neighbour available? More...
 
const fvMeshnbrMesh () const
 Get the mesh for the region to map from. More...
 
const fvPatchnbrFvPatch () const
 Get the patch to map from. More...
 
 FOR_ALL_FIELD_TYPES (DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR,=0)
 Map/interpolate. More...
 

Additional Inherited Members

- 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...
 
- Static Public Member Functions inherited from mappedFvPatchBaseBase
static const mappedFvPatchBaseBasegetMap (const fvPatch &patch)
 Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors. More...
 

Detailed Description

Fv patch which can do interpolative mapping of values from another globally conforming fv patch.

Source files

Definition at line 51 of file mappedFvPatch.H.

Constructor & Destructor Documentation

◆ mappedFvPatch()

mappedFvPatch ( const polyPatch patch,
const fvBoundaryMesh bm 
)
inline

Construct from components.

Definition at line 66 of file mappedFvPatch.H.

Member Function Documentation

◆ TypeName()

TypeName ( mappedPolyPatch::typeName_()  )

Runtime type information.


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