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

Cyclic patch for Arbitrary Mesh Interface (AMI) More...

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

Public Member Functions

 TypeName (cyclicAMIPolyPatch::typeName_())
 
 cyclicAMIFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 
const cyclicAMIPolyPatchcyclicAMIPatch () const
 
virtual label neighbPatchID () const
 
virtual bool owner () const
 
virtual const cyclicAMIFvPatchneighbPatch () const
 
virtual const AMIPatchToPatchInterpolationAMI () const
 
virtual bool applyLowWeightCorrection () const
 
virtual bool parallel () const
 
virtual const tensorFieldforwardT () const
 
virtual const tensorFieldreverseT () const
 
const cyclicAMIFvPatchneighbFvPatch () const
 
virtual bool coupled () const
 
virtual tmp< vectorFielddelta () const
 
template<class Type >
tmp< Field< Type > > interpolate (const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
 
template<class Type >
tmp< Field< Type > > interpolate (const tmp< Field< Type >> &tFld, const UList< Type > &defaultValues=UList< Type >()) 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 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 cyclicAMILduInterface
 TypeName ("cyclicAMILduInterface")
 
 cyclicAMILduInterface ()=default
 
virtual ~cyclicAMILduInterface ()=default
 

Protected Member Functions

void makeWeights (scalarField &) const
 
virtual void makeDeltaCoeffs (scalarField &) const
 
virtual void makeNonOrthoDeltaCoeffs (scalarField &) const
 
virtual void makeNonOrthoCorrVectors (vectorField &) 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 Arbitrary Mesh Interface (AMI)

Source files

Definition at line 50 of file cyclicAMIFvPatch.H.

Constructor & Destructor Documentation

◆ cyclicAMIFvPatch()

cyclicAMIFvPatch ( const polyPatch patch,
const fvBoundaryMesh bm 
)
inline

Definition at line 89 of file cyclicAMIFvPatch.H.

Member Function Documentation

◆ makeWeights()

void makeWeights ( scalarField w) const
protectedvirtual

Implements coupledFvPatch.

Definition at line 87 of file cyclicAMIFvPatch.C.

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

Here is the call graph for this function:

◆ makeDeltaCoeffs()

void makeDeltaCoeffs ( scalarField coeffs) const
protectedvirtual

Reimplemented from fvPatch.

Definition at line 130 of file cyclicAMIFvPatch.C.

◆ makeNonOrthoDeltaCoeffs()

void makeNonOrthoDeltaCoeffs ( scalarField coeffs) const
protectedvirtual

Reimplemented from fvPatch.

Definition at line 136 of file cyclicAMIFvPatch.C.

◆ makeNonOrthoCorrVectors()

void makeNonOrthoCorrVectors ( vectorField vecs) const
protectedvirtual

Reimplemented from fvPatch.

Definition at line 143 of file cyclicAMIFvPatch.C.

◆ movePoints()

void movePoints ( )
protectedvirtual

◆ TypeName()

TypeName ( cyclicAMIPolyPatch::typeName_()  )

◆ cyclicAMIPatch()

const cyclicAMIPolyPatch& cyclicAMIPatch ( ) const
inline

Definition at line 137 of file cyclicAMIFvPatch.H.

Referenced by cyclicAMIFvPatch::movePoints().

Here is the caller graph for this function:

◆ neighbPatchID()

virtual label neighbPatchID ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 143 of file cyclicAMIFvPatch.H.

References cyclicAMIPolyPatch::neighbPatchID().

Here is the call graph for this function:

◆ owner()

virtual bool owner ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 148 of file cyclicAMIFvPatch.H.

References cyclicAMIPolyPatch::owner().

Here is the call graph for this function:

◆ neighbPatch()

virtual const cyclicAMIFvPatch& neighbPatch ( ) const
inlinevirtual

Implements cyclicAMILduInterface.

Definition at line 154 of file cyclicAMIFvPatch.H.

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

Referenced by cyclicAMIFvPatchField< scalar >::patchNeighbourField().

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 163 of file cyclicAMIFvPatch.H.

References cyclicAMIPolyPatch::AMI().

Here is the call graph for this function:

◆ applyLowWeightCorrection()

virtual bool applyLowWeightCorrection ( ) const
inlinevirtual

Definition at line 169 of file cyclicAMIFvPatch.H.

References cyclicAMIPolyPatch::applyLowWeightCorrection().

Here is the call graph for this function:

◆ parallel()

virtual bool parallel ( ) const
inlinevirtual

Implements coupledFvPatch.

Definition at line 176 of file cyclicAMIFvPatch.H.

References coupledPolyPatch::parallel().

Referenced by cyclicAMIFvPatchField< scalar >::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 182 of file cyclicAMIFvPatch.H.

References coupledPolyPatch::forwardT().

Referenced by cyclicAMIFvPatchField< scalar >::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 188 of file cyclicAMIFvPatch.H.

References coupledPolyPatch::reverseT().

Referenced by cyclicAMIFvPatchField< scalar >::reverseT().

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

◆ neighbFvPatch()

const cyclicAMIFvPatch& neighbFvPatch ( ) const
inline

Definition at line 193 of file cyclicAMIFvPatch.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 79 of file cyclicAMIFvPatch.C.

References fvPatch::boundaryMesh(), fvBoundaryMesh::mesh(), UPstream::parRun(), TimePaths::processorCase(), and fvMesh::time().

Here is the call graph for this function:

◆ delta()

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

Implements coupledFvPatch.

Definition at line 150 of file cyclicAMIFvPatch.C.

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

Here is the call graph for this function:

◆ interpolate() [1/2]

tmp<Field<Type> > interpolate ( const Field< Type > &  fld,
const UList< Type > &  defaultValues = UList<Type>() 
) const
inline

Definition at line 212 of file cyclicAMIFvPatch.H.

References fld, and cyclicAMIPolyPatch::interpolate().

Here is the call graph for this function:

◆ interpolate() [2/2]

tmp<Field<Type> > interpolate ( const tmp< Field< Type >> &  tFld,
const UList< Type > &  defaultValues = UList<Type>() 
) const
inline

Definition at line 222 of file cyclicAMIFvPatch.H.

References cyclicAMIPolyPatch::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 210 of file cyclicAMIFvPatch.C.

◆ interfaceInternalField() [2/2]

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

Implements coupledFvPatch.

Definition at line 219 of file cyclicAMIFvPatch.C.

◆ internalFieldTransfer()

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

Implements coupledFvPatch.

Definition at line 229 of file cyclicAMIFvPatch.C.


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