Public Member Functions | Protected Member Functions | List of all members
cyclicACMIFvPatch Class Reference

Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI) More...

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

Public Member Functions

 TypeName (cyclicACMIPolyPatch::typeName_())
 
 cyclicACMIFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 
const cyclicACMIPolyPatchcyclicACMIPatch () const
 
virtual label neighbPatchID () const
 
virtual bool owner () const
 
virtual const cyclicACMIFvPatchneighbPatch () const
 
virtual label nonOverlapPatchID () const
 
virtual const fvPatchnonOverlapPatch () const
 
virtual const AMIPatchToPatchInterpolationAMI () const
 
virtual bool parallel () const
 
virtual const tensorFieldforwardT () const
 
virtual const tensorFieldreverseT () const
 
const cyclicACMIFvPatchneighbFvPatch () const
 
virtual bool coupled () const
 
virtual tmp< vectorFielddelta () const
 
template<class Type >
tmp< Field< Type > > interpolate (const Field< Type > &fld) const
 
template<class Type >
tmp< Field< Type > > interpolate (const tmp< Field< Type >> &tfld) const
 
virtual tmp< labelFieldinterfaceInternalField (const labelUList &internalData) const
 
virtual tmp< labelFieldinterfaceInternalField (const labelUList &internalData, const labelUList &faceCells) const
 
virtual tmp< labelFieldinternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &internalData) const
 
- Public Member Functions inherited from coupledFvPatch
 TypeName (coupledPolyPatch::typeName_())
 
 coupledFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 
virtual ~coupledFvPatch ()
 
virtual const labelUListfaceCells () const
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, labelUList &iF) const
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, labelUList &iF, const labelUList &faceCell) const
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const
 
- Public Member Functions inherited from lduInterface
 TypeName ("lduInterface")
 
 lduInterface ()=default
 
virtual ~lduInterface ()=default
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF) const
 
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const labelUList &iF, const labelUList &faceCells) const
 
- Public Member Functions inherited from fvPatch
virtual void makeDeltaCoeffs (scalarField &) const
 
virtual void makeNonOrthoDeltaCoeffs (scalarField &) const
 
virtual void makeNonOrthoCorrVectors (vectorField &) const
 
virtual void initMovePoints ()
 
 TypeName (polyPatch::typeName_())
 
 declareRunTimeSelectionTable (autoPtr, fvPatch, polyPatch,(const polyPatch &patch, const fvBoundaryMesh &bm),(patch, bm))
 
 fvPatch (const polyPatch &, const fvBoundaryMesh &)
 
virtual ~fvPatch ()
 
const polyPatchpatch () const
 
virtual const wordname () const
 
virtual label start () const
 
virtual label size () const
 
label index () const
 
const fvBoundaryMeshboundaryMesh () const
 
template<class T >
const List< T >::subList patchSlice (const List< T > &l) const
 
const vectorFieldCf () const
 
tmp< vectorFieldCn () const
 
const vectorFieldSf () const
 
const scalarFieldmagSf () const
 
tmp< vectorFieldnf () const
 
const scalarFieldweights () const
 
const scalarFielddeltaCoeffs () const
 
template<class Type >
tmp< Field< Type > > patchInternalField (const UList< Type > &) const
 
template<class Type >
tmp< Field< Type > > patchInternalField (const UList< Type > &, const labelUList &faceCells) const
 
template<class Type >
void patchInternalField (const UList< Type > &, Field< Type > &) const
 
template<class GeometricField , class Type >
const GeometricField::PatchpatchField (const GeometricField &) const
 
template<class GeometricField , class Type >
const GeometricField::PatchlookupPatchField (const word &name, const GeometricField *=nullptr, const Type *=nullptr) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > patchInternalField (const UList< Type > &f) const
 
template<class Type >
Foam::tmp< Foam::Field< Type > > patchInternalField (const UList< Type > &f, const labelUList &faceCells) const
 
- Public Member Functions inherited from cyclicACMILduInterface
 TypeName ("cyclicACMILduInterface")
 
 cyclicACMILduInterface ()=default
 
virtual ~cyclicACMILduInterface ()=default
 
- Public Member Functions inherited from cyclicAMILduInterface
 TypeName ("cyclicAMILduInterface")
 
 cyclicAMILduInterface ()=default
 
virtual ~cyclicAMILduInterface ()=default
 

Protected Member Functions

virtual bool updateAreas () const
 
void resetPatchAreas (const fvPatch &fvp) const
 
void makeWeights (scalarField &) const
 
virtual void movePoints ()
 

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 &)
 
static const fvPatchlookupPatch (const polyPatch &p)
 
static bool constraintType (const word &pt)
 
static wordList constraintTypes ()
 

Detailed Description

Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)

Source files

Definition at line 50 of file cyclicACMIFvPatch.H.

Constructor & Destructor Documentation

◆ cyclicACMIFvPatch()

cyclicACMIFvPatch ( const polyPatch patch,
const fvBoundaryMesh bm 
)

Definition at line 136 of file cyclicACMIFvPatch.C.

Member Function Documentation

◆ updateAreas()

bool updateAreas ( ) const
protectedvirtual

◆ resetPatchAreas()

void resetPatchAreas ( const fvPatch fvp) const
protected

Definition at line 76 of file cyclicACMIFvPatch.C.

References fvPatch::Cf(), DebugPout, Foam::endl(), polyPatch::faceAreas(), polyPatch::faceCentres(), Foam::mag(), fvPatch::magSf(), patchIdentifier::name(), fvPatch::patch(), fvPatch::Sf(), and Foam::sum().

Referenced by cyclicACMIFvPatch::updateAreas().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeWeights()

void makeWeights ( scalarField w) const
protectedvirtual

Implements coupledFvPatch.

Definition at line 87 of file cyclicACMIFvPatch.C.

References coupled(), coupledFvPatch::delta(), forAll, Foam::interpolate(), Foam::mag(), fvPatch::makeWeights(), fvPatch::nf(), and cyclicACMIPolyPatch::tolerance().

Here is the call graph for this function:

◆ movePoints()

void movePoints ( )
protectedvirtual

◆ TypeName()

TypeName ( cyclicACMIPolyPatch::typeName_()  )

◆ cyclicACMIPatch()

const cyclicACMIPolyPatch& cyclicACMIPatch ( ) const
inline

Definition at line 107 of file cyclicACMIFvPatch.H.

Referenced by cyclicACMIFvPatchField< Type >::fixesValue(), and cyclicACMIFvPatch::movePoints().

Here is the caller graph for this function:

◆ neighbPatchID()

virtual label neighbPatchID ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 113 of file cyclicACMIFvPatch.H.

References cyclicAMIPolyPatch::neighbPatchID().

Here is the call graph for this function:

◆ owner()

virtual bool owner ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 118 of file cyclicACMIFvPatch.H.

References cyclicAMIPolyPatch::owner().

Here is the call graph for this function:

◆ neighbPatch()

virtual const cyclicACMIFvPatch& neighbPatch ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 124 of file cyclicACMIFvPatch.H.

References fvPatch::boundaryMesh(), and cyclicAMIPolyPatch::neighbPatchID().

Referenced by cyclicACMIFvPatchField< Type >::patchNeighbourField(), and cyclicACMIFvPatch::updateAreas().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nonOverlapPatchID()

virtual label nonOverlapPatchID ( ) const
inlinevirtual

Definition at line 133 of file cyclicACMIFvPatch.H.

References cyclicACMIPolyPatch::nonOverlapPatchID().

Referenced by cyclicACMIFvPatch::nonOverlapPatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nonOverlapPatch()

virtual const fvPatch& nonOverlapPatch ( ) const
inlinevirtual

Definition at line 139 of file cyclicACMIFvPatch.H.

References fvPatch::boundaryMesh(), and cyclicACMIFvPatch::nonOverlapPatchID().

Referenced by cyclicACMIFvPatch::movePoints(), and cyclicACMIFvPatch::updateAreas().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AMI()

virtual const AMIPatchToPatchInterpolation& AMI ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 145 of file cyclicACMIFvPatch.H.

References cyclicAMIPolyPatch::AMI().

Here is the call graph for this function:

◆ parallel()

virtual bool parallel ( ) const
inlinevirtual

Implements coupledFvPatch.

Definition at line 151 of file cyclicACMIFvPatch.H.

References coupledPolyPatch::parallel().

Referenced by cyclicACMIFvPatchField< Type >::doTransform().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Implements coupledFvPatch.

Definition at line 157 of file cyclicACMIFvPatch.H.

References coupledPolyPatch::forwardT().

Referenced by cyclicACMIFvPatchField< Type >::forwardT().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reverseT()

virtual const tensorField& reverseT ( ) const
inlinevirtual

Implements coupledFvPatch.

Definition at line 163 of file cyclicACMIFvPatch.H.

References coupledPolyPatch::reverseT().

Referenced by cyclicACMIFvPatchField< Type >::reverseT().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ neighbFvPatch()

const cyclicACMIFvPatch& neighbFvPatch ( ) const
inline

Definition at line 168 of file cyclicACMIFvPatch.H.

References fvPatch::boundaryMesh(), and cyclicAMIPolyPatch::neighbPatchID().

Here is the call graph for this function:

◆ coupled()

bool coupled ( ) const
virtual

Reimplemented from coupledFvPatch.

Definition at line 226 of file cyclicACMIFvPatch.C.

References UPstream::parRun().

Here is the call graph for this function:

◆ delta()

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

Implements coupledFvPatch.

Definition at line 232 of file cyclicACMIFvPatch.C.

References coupled(), coupledFvPatch::delta(), forAll, Foam::interpolate(), tmp::New(), and Foam::transform().

Here is the call graph for this function:

◆ interpolate() [1/2]

tmp<Field<Type> > interpolate ( const Field< Type > &  fld) const
inline

Definition at line 187 of file cyclicACMIFvPatch.H.

References fld, and cyclicACMIFvPatch::updateAreas().

Referenced by cyclicACMIFvPatch::interpolate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpolate() [2/2]

tmp<Field<Type> > interpolate ( const tmp< Field< Type >> &  tfld) const
inline

Definition at line 204 of file cyclicACMIFvPatch.H.

References cyclicACMIFvPatch::interpolate().

Here is the call graph for this function:

◆ interfaceInternalField() [1/2]

Foam::tmp< Foam::labelField > interfaceInternalField ( const labelUList internalData) const
virtual

Implements coupledFvPatch.

Definition at line 277 of file cyclicACMIFvPatch.C.

◆ interfaceInternalField() [2/2]

Foam::tmp< Foam::labelField > interfaceInternalField ( const labelUList internalData,
const labelUList faceCells 
) const
virtual

Implements coupledFvPatch.

Definition at line 286 of file cyclicACMIFvPatch.C.

◆ internalFieldTransfer()

Foam::tmp< Foam::labelField > internalFieldTransfer ( const Pstream::commsTypes  commsType,
const labelUList internalData 
) const
virtual

Implements coupledFvPatch.

Definition at line 296 of file cyclicACMIFvPatch.C.


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