Public Member Functions | List of all members
processorCyclicFvPatchField< Type > Class Template Reference

This boundary condition enables processor communication across cyclic patches. More...

Inheritance diagram for processorCyclicFvPatchField< Type >:
Inheritance graph
[legend]
Collaboration diagram for processorCyclicFvPatchField< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName (processorCyclicFvPatch::typeName_())
 
 processorCyclicFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 
 processorCyclicFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &)
 
 processorCyclicFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 
 processorCyclicFvPatchField (const processorCyclicFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 
 processorCyclicFvPatchField (const processorCyclicFvPatchField< Type > &)
 
virtual tmp< fvPatchField< Type > > clone () const
 
 processorCyclicFvPatchField (const processorCyclicFvPatchField< Type > &, const DimensionedField< Type, volMesh > &)
 
virtual tmp< fvPatchField< Type > > clone (const DimensionedField< Type, volMesh > &iF) const
 
virtual ~processorCyclicFvPatchField ()
 
virtual bool doTransform () const
 
virtual const tensorFieldforwardT () const
 
- Public Member Functions inherited from processorFvPatchField< Type >
 TypeName (processorFvPatch::typeName_())
 
 processorFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 
 processorFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &)
 
 processorFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 
 processorFvPatchField (const processorFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 
 processorFvPatchField (const processorFvPatchField< Type > &)
 
 processorFvPatchField (const processorFvPatchField< Type > &, const DimensionedField< Type, volMesh > &)
 
 ~processorFvPatchField ()=default
 
virtual bool coupled () const
 
virtual tmp< Field< Type > > patchNeighbourField () const
 
virtual void initEvaluate (const Pstream::commsTypes commsType)
 
virtual void evaluate (const Pstream::commsTypes commsType)
 
virtual tmp< Field< Type > > snGrad (const scalarField &deltaCoeffs) const
 
virtual bool ready () const
 
virtual void initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 
virtual void updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 
virtual void initInterfaceMatrixUpdate (Field< Type > &result, const bool add, const lduAddressing &lduAddr, const label patchId, const Field< Type > &psiInternal, const scalarField &coeffs, const Pstream::commsTypes commsType) const
 
virtual void updateInterfaceMatrix (Field< Type > &result, const bool add, const lduAddressing &lduAddr, const label patchId, const Field< Type > &psiInternal, const scalarField &coeffs, const Pstream::commsTypes commsType) const
 
virtual label comm () const
 
virtual int myProcNo () const
 
virtual int neighbProcNo () const
 
virtual int rank () const
 
- Public Member Functions inherited from processorLduInterfaceField
 TypeName ("processorLduInterfaceField")
 
 processorLduInterfaceField ()=default
 
virtual ~processorLduInterfaceField ()=default
 
template<class Type >
void transformCoupleField (Field< Type > &f) const
 
void transformCoupleField (solveScalarField &f, const direction cmpt) const
 
- Public Member Functions inherited from coupledFvPatchField< Type >
 TypeName (coupledFvPatch::typeName_())
 
 coupledFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 
 coupledFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &)
 
 coupledFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &, const bool valueRequired=true)
 
 coupledFvPatchField (const coupledFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 
 coupledFvPatchField (const coupledFvPatchField< Type > &)
 
 coupledFvPatchField (const coupledFvPatchField< Type > &, const DimensionedField< Type, volMesh > &)
 
virtual tmp< Field< Type > > snGrad () const
 
virtual tmp< Field< Type > > valueInternalCoeffs (const tmp< scalarField > &) const
 
virtual tmp< Field< Type > > valueBoundaryCoeffs (const tmp< scalarField > &) const
 
virtual tmp< Field< Type > > gradientInternalCoeffs (const scalarField &deltaCoeffs) const
 
virtual tmp< Field< Type > > gradientInternalCoeffs () const
 
virtual tmp< Field< Type > > gradientBoundaryCoeffs (const scalarField &deltaCoeffs) const
 
virtual tmp< Field< Type > > gradientBoundaryCoeffs () const
 
virtual void write (Ostream &) const
 
- Public Member Functions inherited from LduInterfaceField< Type >
 TypeName ("LduInterfaceField")
 
 LduInterfaceField (const lduInterface &patch)
 
virtual ~LduInterfaceField ()=default
 
virtual void initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 
virtual void updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const=0
 
- Public Member Functions inherited from lduInterfaceField
 TypeName ("lduInterfaceField")
 
 lduInterfaceField (const lduInterface &patch)
 
virtual ~lduInterfaceField ()=default
 
const lduInterfaceinterface () const
 
virtual const wordinterfaceFieldType () const
 
bool updatedMatrix () const
 
boolupdatedMatrix ()
 
template<class Type >
void addToInternalField (Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const
 
- Public Member Functions inherited from fvPatchField< Type >
 TypeName ("fvPatchField")
 
 declareRunTimeSelectionTable (tmp, fvPatchField, patch,(const fvPatch &p, const DimensionedField< Type, volMesh > &iF),(p, iF))
 
 declareRunTimeSelectionTable (tmp, fvPatchField, patchMapper,(const fvPatchField< Type > &ptf, const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const fvPatchFieldMapper &m),(dynamic_cast< const fvPatchFieldType & >(ptf), p, iF, m))
 
 declareRunTimeSelectionTable (tmp, fvPatchField, dictionary,(const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const dictionary &dict),(p, iF, dict))
 
 fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 
 fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Type &value)
 
 fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const word &patchType)
 
 fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &)
 
 fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &, const bool valueRequired=true)
 
 fvPatchField (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 
 fvPatchField (const fvPatchField< Type > &)
 
 fvPatchField (const fvPatchField< Type > &, const DimensionedField< Type, volMesh > &)
 
virtual tmp< fvPatchField< Type > > clone () const
 
Foam::tmp< Foam::fvPatchField< Type > > NewCalculatedType (const fvPatch &p)
 
Foam::tmp< Foam::fvPatchField< Type > > NewCalculatedType (const fvPatchField< Type2 > &pf)
 
virtual ~fvPatchField ()=default
 
bool useImplicit () const noexcept
 
bool useImplicit (bool on) noexcept
 
virtual bool fixesValue () const
 
virtual bool assignable () const
 
virtual bool coupled () const
 
const objectRegistrydb () const
 
const fvPatchpatch () const
 
const DimensionedField< Type, volMesh > & internalField () const
 
const Field< Type > & primitiveField () const
 
const wordpatchType () const
 
wordpatchType ()
 
bool updated () const
 
bool manipulatedMatrix () const
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchField< Type > &, const labelList &)
 
virtual tmp< Field< Type > > snGrad () const
 
virtual void updateCoeffs ()
 
virtual void updateWeightedCoeffs (const scalarField &weights)
 
virtual tmp< Field< Type > > patchInternalField () const
 
virtual void patchInternalField (Field< Type > &) const
 
virtual tmp< Field< Type > > patchNeighbourField () const
 
virtual tmp< Field< Type > > valueInternalCoeffs (const tmp< Field< scalar >> &) const
 
virtual tmp< Field< Type > > valueBoundaryCoeffs (const tmp< Field< scalar >> &) const
 
virtual tmp< Field< Type > > gradientInternalCoeffs () const
 
virtual tmp< Field< Type > > gradientBoundaryCoeffs () const
 
virtual void manipulateMatrix (fvMatrix< Type > &matrix)
 
virtual void manipulateMatrix (fvMatrix< Type > &matrix, const scalarField &weights)
 
virtual void manipulateMatrix (fvMatrix< Type > &matrix, const label iMatrix, const direction cmp)
 
void check (const fvPatchField< Type > &) const
 
virtual void operator= (const UList< Type > &)
 
virtual void operator= (const fvPatchField< Type > &)
 
virtual void operator= (const Type &)
 
virtual void operator+= (const fvPatchField< Type > &)
 
virtual void operator+= (const Field< Type > &)
 
virtual void operator+= (const Type &)
 
virtual void operator-= (const fvPatchField< Type > &)
 
virtual void operator-= (const Field< Type > &)
 
virtual void operator-= (const Type &)
 
virtual void operator*= (const fvPatchField< scalar > &)
 
virtual void operator*= (const Field< scalar > &)
 
virtual void operator*= (const scalar)
 
virtual void operator/= (const fvPatchField< scalar > &)
 
virtual void operator/= (const Field< scalar > &)
 
virtual void operator/= (const scalar)
 
virtual void operator== (const fvPatchField< Type > &)
 
virtual void operator== (const Field< Type > &)
 
virtual void operator== (const Type &)
 

Additional Inherited Members

- Public Types inherited from fvPatchField< Type >
typedef fvPatch Patch
 
typedef calculatedFvPatchField< Type > Calculated
 
- Static Public Member Functions inherited from fvPatchField< Type >
static tmp< fvPatchField< Type > > New (const word &, const fvPatch &, const DimensionedField< Type, volMesh > &)
 
static tmp< fvPatchField< Type > > New (const word &, const word &actualPatchType, const fvPatch &, const DimensionedField< Type, volMesh > &)
 
static tmp< fvPatchField< Type > > New (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 
static tmp< fvPatchField< Type > > New (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 
static tmp< fvPatchField< Type > > NewCalculatedType (const fvPatch &)
 
static tmp< fvPatchField< Type > > NewCalculatedType (const fvPatchField< Type2 > &)
 
static const wordcalculatedType ()
 
- Static Public Attributes inherited from fvPatchField< Type >
static int disallowGenericFvPatchField
 

Detailed Description

template<class Type>
class Foam::processorCyclicFvPatchField< Type >

This boundary condition enables processor communication across cyclic patches.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            processor;
}
See also
Foam::processorFvPatchField
Source files

Definition at line 67 of file processorCyclicFvPatchField.H.

Constructor & Destructor Documentation

◆ processorCyclicFvPatchField() [1/6]

processorCyclicFvPatchField ( const fvPatch p,
const DimensionedField< Type, volMesh > &  iF 
)

Definition at line 29 of file processorCyclicFvPatchField.C.

◆ processorCyclicFvPatchField() [2/6]

processorCyclicFvPatchField ( const fvPatch p,
const DimensionedField< Type, volMesh > &  iF,
const Field< Type > &  f 
)

Definition at line 72 of file processorCyclicFvPatchField.C.

◆ processorCyclicFvPatchField() [3/6]

processorCyclicFvPatchField ( const fvPatch p,
const DimensionedField< Type, volMesh > &  iF,
const dictionary dict 
)

Definition at line 41 of file processorCyclicFvPatchField.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, p, and WarningInFunction.

Here is the call graph for this function:

◆ processorCyclicFvPatchField() [4/6]

processorCyclicFvPatchField ( const processorCyclicFvPatchField< Type > &  ptf,
const fvPatch p,
const DimensionedField< Type, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Definition at line 85 of file processorCyclicFvPatchField.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, p, and Foam::foamVersion::patch.

Here is the call graph for this function:

◆ processorCyclicFvPatchField() [5/6]

Definition at line 109 of file processorCyclicFvPatchField.C.

◆ processorCyclicFvPatchField() [6/6]

processorCyclicFvPatchField ( const processorCyclicFvPatchField< Type > &  ptf,
const DimensionedField< Type, volMesh > &  iF 
)

Definition at line 120 of file processorCyclicFvPatchField.C.

◆ ~processorCyclicFvPatchField()

Definition at line 133 of file processorCyclicFvPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( processorCyclicFvPatch::typeName_()  )

◆ clone() [1/2]

virtual tmp<fvPatchField<Type> > clone ( ) const
inlinevirtual

Reimplemented from processorFvPatchField< Type >.

Definition at line 121 of file processorCyclicFvPatchField.H.

◆ clone() [2/2]

virtual tmp<fvPatchField<Type> > clone ( const DimensionedField< Type, volMesh > &  iF) const
inlinevirtual

Reimplemented from processorFvPatchField< Type >.

Definition at line 138 of file processorCyclicFvPatchField.H.

◆ doTransform()

virtual bool doTransform ( ) const
inlinevirtual

Reimplemented from processorFvPatchField< Type >.

Definition at line 158 of file processorCyclicFvPatchField.H.

References processorCyclicFvPatch::parallel().

Here is the call graph for this function:

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Reimplemented from processorFvPatchField< Type >.

Definition at line 164 of file processorCyclicFvPatchField.H.

References processorCyclicFvPatch::forwardT().

Here is the call graph for this function:

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