Base class for fv patches which provides non-conformal mapping between two potentially non-globally conforming fv patches. More...
Public Member Functions | |
TypeName ("nonConformalMappedFvPatchBase") | |
Runtime type information. More... | |
nonConformalMappedFvPatchBase (const fvPatch &patch) | |
Construct from a patch. More... | |
virtual | ~nonConformalMappedFvPatchBase () |
Destructor. More... | |
DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR (label,) | |
Map/interpolate. 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 |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | map (const fvsPatchLabelField &srcPolyFacesPf, const Field< Type > &srcFld, const fvsPatchLabelField &tgtPolyFacesPf) |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | map (const fvsPatchLabelField &srcPolyFacesPf, Field< Type > &&srcFld, const fvsPatchLabelField &tgtPolyFacesPf) |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | map (const fvsPatchLabelField &srcPolyFacesPf, const tmp< Field< Type >> &srcFld, const fvsPatchLabelField &tgtPolyFacesPf) |
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 fvPatch & | patch () const |
Reference to the fvPatch. More... | |
const word & | nbrRegionName () const |
Name of the region to map from. More... | |
const word & | nbrPatchName () const |
Name of the patch to map from. More... | |
const transformer & | transform () const |
The transformation between the patches. More... | |
bool | haveNbr () const |
Is the neighbour available? More... | |
const fvMesh & | nbrMesh () const |
Get the mesh for the region to map from. More... | |
const fvPatch & | nbrFvPatch () 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... | |
Static Public Member Functions | |
template<class Type > | |
static tmp< Field< Type > > | map (const fvsPatchLabelField &srcPolyFacesPf, const Field< Type > &srcFld, const fvsPatchLabelField &tgtPolyFacesPf) |
Map/interpolate from one patch to another. More... | |
template<class Type > | |
static tmp< Field< Type > > | map (const fvsPatchLabelField &srcPolyFacesPf, Field< Type > &&srcFld, const fvsPatchLabelField &tgtPolyFacesPf) |
Map/interpolate from one patch to another. More... | |
template<class Type > | |
static tmp< Field< Type > > | map (const fvsPatchLabelField &srcPolyFacesPf, const tmp< Field< Type >> &srcFld, const fvsPatchLabelField &tgtPolyFacesPf) |
Map/interpolate from one patch to another. More... | |
Static Public Member Functions inherited from mappedFvPatchBaseBase | |
static const mappedFvPatchBaseBase & | getMap (const fvPatch &patch) |
Cast the given fvPatch to a mappedFvPatchBaseBase. Handle errors. More... | |
Base class for fv patches which provides non-conformal mapping between two potentially non-globally conforming fv patches.
Definition at line 54 of file nonConformalMappedFvPatchBase.H.
nonConformalMappedFvPatchBase | ( | const fvPatch & | patch | ) |
Construct from a patch.
Definition at line 77 of file nonConformalMappedFvPatchBase.C.
|
virtual |
Destructor.
Definition at line 89 of file nonConformalMappedFvPatchBase.C.
TypeName | ( | "nonConformalMappedFvPatchBase" | ) |
Runtime type information.
|
static |
Map/interpolate from one patch to another.
Referenced by nonConformalMappedFvPatchBase::fromNeighbour().
|
static |
Map/interpolate from one patch to another.
|
static |
Map/interpolate from one patch to another.
DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR | ( | label | ) |
Map/interpolate.
FOR_ALL_FIELD_TYPES | ( | DEFINE_MAPPED_FV_PATCH_BASE_FROM_AND_TO_NEIGHBOUR | ) |
Map/interpolate.
Foam::tmp<Foam::Field<Type> > fromNeighbour | ( | const Field< Type > & | nbrFld | ) | const |
Definition at line 40 of file nonConformalMappedFvPatchBase.C.
References fvPatch::boundaryMesh(), nonConformalMappedFvPatchBase::map(), fvBoundaryMesh::mesh(), mappedFvPatchBaseBase::nbrFvPatch(), mappedFvPatchBaseBase::nbrMesh(), mappedFvPatchBaseBase::patch(), and fvMesh::polyFacesBf().
Foam::tmp<Foam::Field<Type> > toNeighbour | ( | const Field< Type > & | fld | ) | const |
Definition at line 58 of file nonConformalMappedFvPatchBase.C.
References polyMesh::boundaryMesh(), fld(), polyBoundaryMesh::mesh(), and fvMesh::polyFacesBf().
Foam::tmp<Foam::Field<Type> > map | ( | const fvsPatchLabelField & | srcPolyFacesPf, |
const Field< Type > & | srcFld, | ||
const fvsPatchLabelField & | tgtPolyFacesPf | ||
) |
Definition at line 32 of file nonConformalMappedFvPatchBaseTemplates.C.
References PstreamBuffers::finishedSends(), forAll, UList< T >::last(), UPstream::myProcNo(), UPstream::nonBlocking, UPstream::parRun(), and tmp< T >::ref().
Foam::tmp<Foam::Field<Type> > map | ( | const fvsPatchLabelField & | srcPolyFacesPf, |
Field< Type > && | srcFld, | ||
const fvsPatchLabelField & | tgtPolyFacesPf | ||
) |
Definition at line 129 of file nonConformalMappedFvPatchBaseTemplates.C.
References UPstream::parRun().
Foam::tmp<Foam::Field<Type> > map | ( | const fvsPatchLabelField & | srcPolyFacesPf, |
const tmp< Field< Type >> & | srcFld, | ||
const fvsPatchLabelField & | tgtPolyFacesPf | ||
) |
Definition at line 152 of file nonConformalMappedFvPatchBaseTemplates.C.
References UPstream::parRun().