nonConformalProcessorCyclicFvPatch Class Reference

Non-conformal processor cyclic FV patch. As nonConformalCyclicFvPatch, but the neighbouring patch is on a different processor. More...

Inheritance diagram for nonConformalProcessorCyclicFvPatch:
Collaboration diagram for nonConformalProcessorCyclicFvPatch:

Public Member Functions

 TypeName (nonConformalProcessorCyclicPolyPatch::typeName_())
 Runtime type information. More...
 
 nonConformalProcessorCyclicFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from components. More...
 
virtual ~nonConformalProcessorCyclicFvPatch ()
 Destructor. More...
 
const nonConformalProcessorCyclicPolyPatchnonConformalProcessorCyclicPatch () const
 Poly patch. More...
 
virtual bool coupled () const
 Is this patch coupled? Returns true. For NCC patches the poly. More...
 
virtual label start () const
 Return the start label of this patch in the polyMesh face list. More...
 
virtual label size () const
 Return the size. More...
 
virtual const labelUListfaceCells () const
 Return the face-cells. More...
 
virtual tmp< vectorFielddelta () const
 Return delta (P to N) vectors across coupled patch. More...
 
virtual const transformertransform () const
 ... More...
 
- Public Member Functions inherited from processorCyclicFvPatch
 TypeName (processorCyclicPolyPatch::typeName_())
 Runtime type information. More...
 
 processorCyclicFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from components. More...
 
virtual int tag () const
 Return message tag used for sending. More...
 
label referPatchID () const
 Return the referring patch ID. More...
 
const cyclicFvPatchreferPatch () const
 Return a reference to the referring patch. More...
 
virtual const transformertransform () const
 Return transformation between the coupled patches. More...
 
- Public Member Functions inherited from processorFvPatch
 TypeName (processorPolyPatch::typeName_())
 Runtime type information. More...
 
 processorFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from components. More...
 
virtual label comm () const
 Return communicator used for comms. More...
 
virtual int myProcNo () const
 Return processor number. More...
 
virtual int neighbProcNo () const
 Return neighbour processor number. More...
 
virtual tmp< labelFieldinterfaceInternalField (const labelUList &internalData) const
 Return the values of the given internal data adjacent to. More...
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &internalData) const
 Initialise neighbour field transfer. More...
 
virtual tmp< labelFieldinternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &internalData) const
 Return neighbour field. More...
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, labelUList &iF) const
 Inherit initInternalFieldTransfer from coupledFvPatch. More...
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 Inherit initInternalFieldTransfer from coupledFvPatch. More...
 
- Public Member Functions inherited from coupledFvPatch
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information. More...
 
 coupledFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from polyPatch. More...
 
virtual ~coupledFvPatch ()
 Destructor. More...
 
virtual bool owner () const
 Does this side own the patch ? More...
 
virtual bool neighbour () const
 Does the coupled side own the patch ? More...
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, labelUList &iF) const
 Initialise neighbour field transfer. More...
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 Inherit initInternalFieldTransfer from lduInterface. More...
 
- Public Member Functions inherited from lduInterface
 TypeName ("lduInterface")
 Runtime type information. More...
 
 lduInterface ()
 Construct null. More...
 
 lduInterface (const lduInterface &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~lduInterface ()
 Destructor. More...
 
void operator= (const lduInterface &)=delete
 Disallow default bitwise assignment. 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 &)
 Disallow default bitwise copy construction. More...
 
virtual ~fvPatch ()
 Destructor. More...
 
const polyPatchpatch () const
 Return the polyPatch. More...
 
virtual const wordname () const
 Return name. 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...
 
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...
 
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 &)
 Disallow default bitwise assignment. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > patchInternalField (const UList< Type > &f) const
 
- Public Member Functions inherited from processorLduInterface
 TypeName ("processorLduInterface")
 Runtime type information. More...
 
 processorLduInterface ()
 Construct null. More...
 
virtual ~processorLduInterface ()
 Destructor. More...
 
template<class Type >
void send (const Pstream::commsTypes commsType, const UList< Type > &) const
 Raw send function. More...
 
template<class Type >
void receive (const Pstream::commsTypes commsType, UList< Type > &) const
 Raw field receive function. More...
 
template<class Type >
tmp< Field< Type > > receive (const Pstream::commsTypes commsType, const label size) const
 Raw field receive function returning field. More...
 
template<class Type >
void compressedSend (const Pstream::commsTypes commsType, const UList< Type > &) const
 Raw field send function with data compression. More...
 
template<class Type >
void compressedReceive (const Pstream::commsTypes commsType, UList< Type > &) const
 Raw field receive function with data compression. More...
 
template<class Type >
tmp< Field< Type > > compressedReceive (const Pstream::commsTypes commsType, const label size) const
 Raw field receive function with data compression returning field. More...
 
template<class Type >
Foam::tmp< Foam::Field< Type > > receive (const Pstream::commsTypes commsType, const label size) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > compressedReceive (const Pstream::commsTypes commsType, const label size) const
 
- Public Member Functions inherited from nonConformalCoupledFvPatch
 TypeName (nonConformalCoupledPolyPatch::typeName_())
 Runtime type information. More...
 
 nonConformalCoupledFvPatch (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~nonConformalCoupledFvPatch ()
 Destructor. More...
 
const nonConformalCoupledPolyPatchnonConformalCoupledPatch () const
 Return the reference to the polyPatch. More...
 
bool owner () const
 Does this side own the patch? More...
 
bool neighbour () const
 Does the coupled side own the patch? More...
 
const transformertransform () const
 Return transformation between the coupled patches. More...
 
const worderrorPatchName () const
 Error patch name. More...
 
label errorPatchID () const
 Error patch ID. More...
 
const nonConformalErrorFvPatcherrorPatch () const
 Error patch. More...
 
- Public Member Functions inherited from nonConformalFvPatch
 TypeName (nonConformalPolyPatch::typeName_())
 Runtime type information. More...
 
 nonConformalFvPatch (const fvPatch &patch)
 Construct from a patch. More...
 
virtual ~nonConformalFvPatch ()
 Destructor. More...
 
const nonConformalPolyPatchnonConformalPatch () const
 Return the reference to the polyPatch. More...
 
const wordorigPatchName () const
 Original patch name. More...
 
label origPatchID () const
 Original patch ID. More...
 
const fvPatchorigPatch () const
 Original patch. More...
 
const labelListpolyFaces () const
 Return face face-poly-faces. More...
 

Protected Member Functions

virtual void makeWeights (scalarField &w) const
 Make patch weighting factors. More...
 
- Protected Member Functions inherited from coupledFvPatch
void makeWeights (scalarField &w, const vectorField &nbrSf, const vectorField &nbrDelta) const
 Make patch weighting factors. More...
 
tmp< vectorFielddelta (const vectorField &nbrDelta) const
 Return delta (P to N) vectors across coupled patch. More...
 
- Protected Member Functions inherited from fvPatch
virtual void initMovePoints ()
 Initialise the patches for moving points. More...
 
virtual void movePoints ()
 Correct patches after moving points. More...
 
- Protected Member Functions inherited from nonConformalCoupledFvPatch
void makeWeights (scalarField &w, const vectorField &nbrSf, const vectorField &nbrDelta) const
 Make patch weighting factors. More...
 

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...
 

Detailed Description

Non-conformal processor cyclic FV patch. As nonConformalCyclicFvPatch, but the neighbouring patch is on a different processor.

See also
Foam::nonConformalProcessorCyclicPolyPatch Foam::nonConformalCyclicFvPatch
Source files

Definition at line 55 of file nonConformalProcessorCyclicFvPatch.H.

Constructor & Destructor Documentation

◆ nonConformalProcessorCyclicFvPatch()

nonConformalProcessorCyclicFvPatch ( const polyPatch patch,
const fvBoundaryMesh bm 
)

Construct from components.

Definition at line 68 of file nonConformalProcessorCyclicFvPatch.C.

◆ ~nonConformalProcessorCyclicFvPatch()

Destructor.

Definition at line 85 of file nonConformalProcessorCyclicFvPatch.C.

Member Function Documentation

◆ makeWeights()

void makeWeights ( scalarField w) const
protectedvirtual

Make patch weighting factors.

Reimplemented from processorFvPatch.

Definition at line 47 of file nonConformalProcessorCyclicFvPatch.C.

References fvPatch::boundaryMesh(), C, fvPatch::Cf(), fvPatch::index(), nonConformalCoupledFvPatch::makeWeights(), UPstream::parRun(), and fvPatch::Sf().

Here is the call graph for this function:

◆ TypeName()

TypeName ( nonConformalProcessorCyclicPolyPatch::typeName_()  )

Runtime type information.

◆ nonConformalProcessorCyclicPatch()

const Foam::nonConformalProcessorCyclicPolyPatch & nonConformalProcessorCyclicPatch ( ) const

Poly patch.

Definition at line 92 of file nonConformalProcessorCyclicFvPatch.C.

◆ coupled()

bool coupled ( ) const
virtual

Is this patch coupled? Returns true. For NCC patches the poly.

mesh is considered non-coupled whilst the finite volume mesh is considered coupled.

Reimplemented from processorFvPatch.

Definition at line 111 of file nonConformalProcessorCyclicFvPatch.C.

References UPstream::parRun().

Here is the call graph for this function:

◆ start()

Foam::label start ( ) const
virtual

Return the start label of this patch in the polyMesh face list.

Raises an error unless the patch is empty.

Reimplemented from nonConformalFvPatch.

Definition at line 99 of file nonConformalProcessorCyclicFvPatch.C.

References nonConformalFvPatch::start().

Here is the call graph for this function:

◆ size()

Foam::label size ( ) const
virtual

Return the size.

Reimplemented from nonConformalFvPatch.

Definition at line 105 of file nonConformalProcessorCyclicFvPatch.C.

References nonConformalFvPatch::size().

Here is the call graph for this function:

◆ faceCells()

const Foam::labelUList & faceCells ( ) const
virtual

Return the face-cells.

Reimplemented from nonConformalFvPatch.

Definition at line 118 of file nonConformalProcessorCyclicFvPatch.C.

References nonConformalFvPatch::faceCells().

Here is the call graph for this function:

◆ delta()

Foam::tmp< Foam::vectorField > delta ( ) const
virtual

Return delta (P to N) vectors across coupled patch.

Reimplemented from processorFvPatch.

Definition at line 125 of file nonConformalProcessorCyclicFvPatch.C.

References C, coupledFvPatch::delta(), and UPstream::parRun().

Here is the call graph for this function:

◆ transform()

virtual const transformer& transform
inline

...

Definition at line 97 of file processorCyclicFvPatch.H.

Referenced by nonConformalProcessorCyclicFvPatchField< Type >::transform().

Here is the caller graph for this function:

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