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

Foam::cyclicFaPatchField. More...

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

Public Member Functions

 TypeName (cyclicFaPatch::typeName_())
 
 cyclicFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &)
 
 cyclicFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &)
 
 cyclicFaPatchField (const cyclicFaPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &)
 
 cyclicFaPatchField (const cyclicFaPatchField< Type > &)
 
virtual tmp< faPatchField< Type > > clone () const
 
 cyclicFaPatchField (const cyclicFaPatchField< Type > &, const DimensionedField< Type, areaMesh > &)
 
virtual tmp< faPatchField< Type > > clone (const DimensionedField< Type, areaMesh > &iF) const
 
const cyclicFaPatchcyclicPatch () const
 
virtual tmp< Field< Type > > patchNeighbourField () const
 
virtual void transformCoupleField (solveScalarField &f, const direction cmpt) 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 updateInterfaceMatrix (Field< Type > &result, const bool add, const lduAddressing &lduAddr, const label patchId, const Field< Type > &, const scalarField &coeffs, const Pstream::commsTypes commsType) const
 
virtual bool doTransform () const
 
virtual const tensorFieldforwardT () const
 
virtual const tensorFieldreverseT () const
 
virtual int rank () const
 
- Public Member Functions inherited from cyclicLduInterfaceField
 TypeName ("cyclicLduInterfaceField")
 
 cyclicLduInterfaceField ()=default
 
virtual ~cyclicLduInterfaceField ()=default
 
template<class Type >
void transformCoupleField (Field< Type > &f) const
 
void transformCoupleField (solveScalarField &f, const direction cmpt) const
 
- Public Member Functions inherited from coupledFaPatchField< Type >
 TypeName (coupledFaPatch::typeName_())
 
 coupledFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &)
 
 coupledFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const Field< Type > &)
 
 coupledFaPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &)
 
 coupledFaPatchField (const coupledFaPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &)
 
 coupledFaPatchField (const coupledFaPatchField< Type > &)
 
 coupledFaPatchField (const coupledFaPatchField< Type > &, const DimensionedField< Type, areaMesh > &)
 
virtual bool coupled () const
 
virtual tmp< Field< Type > > snGrad () const
 
virtual void initEvaluate (const Pstream::commsTypes commsType)
 
virtual void evaluate (const Pstream::commsTypes commsType)
 
virtual tmp< Field< Type > > valueInternalCoeffs (const tmp< scalarField > &) const
 
virtual tmp< Field< Type > > valueBoundaryCoeffs (const tmp< scalarField > &) const
 
virtual tmp< Field< Type > > gradientInternalCoeffs () const
 
virtual tmp< Field< Type > > gradientBoundaryCoeffs () const
 
virtual void write (Ostream &) const
 
- 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 ()
 
virtual bool ready () const
 
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
 
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 faPatchField< Type >
 TypeName ("faPatchField")
 
 declareRunTimeSelectionTable (tmp, faPatchField, patch,(const faPatch &p, const DimensionedField< Type, areaMesh > &iF),(p, iF))
 
 declareRunTimeSelectionTable (tmp, faPatchField, patchMapper,(const faPatchField< Type > &ptf, const faPatch &p, const DimensionedField< Type, areaMesh > &iF, const faPatchFieldMapper &m),(dynamic_cast< const faPatchFieldType & >(ptf), p, iF, m))
 
 declareRunTimeSelectionTable (tmp, faPatchField, dictionary,(const faPatch &p, const DimensionedField< Type, areaMesh > &iF, const dictionary &dict),(p, iF, dict))
 
 faPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &)
 
 faPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const Field< Type > &)
 
 faPatchField (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &)
 
 faPatchField (const faPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &)
 
 faPatchField (const faPatchField< Type > &)
 
 faPatchField (const faPatchField< Type > &, const DimensionedField< Type, areaMesh > &)
 
virtual tmp< faPatchField< Type > > clone () const
 
Foam::tmp< Foam::faPatchField< Type > > NewCalculatedType (const faPatchField< Type2 > &pf)
 
virtual ~faPatchField ()=default
 
const objectRegistrydb () const
 
const faPatchpatch () const
 
const DimensionedField< Type, areaMesh > & internalField () const
 
const Field< Type > & primitiveField () const
 
const wordpatchType () const
 
wordpatchType ()
 
virtual bool fixesValue () const
 
virtual bool coupled () const
 
bool updated () const
 
virtual void autoMap (const faPatchFieldMapper &)
 
virtual void rmap (const faPatchField< Type > &, const labelList &)
 
virtual tmp< Field< Type > > snGrad () const
 
virtual void updateCoeffs ()
 
virtual tmp< Field< Type > > patchInternalField () 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
 
void check (const faPatchField< Type > &) const
 
virtual void operator= (const UList< Type > &)
 
virtual void operator= (const faPatchField< Type > &)
 
virtual void operator= (const Type &)
 
virtual void operator+= (const faPatchField< Type > &)
 
virtual void operator+= (const Field< Type > &)
 
virtual void operator+= (const Type &)
 
virtual void operator-= (const faPatchField< Type > &)
 
virtual void operator-= (const Field< Type > &)
 
virtual void operator-= (const Type &)
 
virtual void operator*= (const faPatchField< scalar > &)
 
virtual void operator*= (const Field< scalar > &)
 
virtual void operator*= (const scalar)
 
virtual void operator/= (const faPatchField< scalar > &)
 
virtual void operator/= (const Field< scalar > &)
 
virtual void operator/= (const scalar)
 
virtual void operator== (const faPatchField< Type > &)
 
virtual void operator== (const Field< Type > &)
 
virtual void operator== (const Type &)
 

Additional Inherited Members

- Public Types inherited from faPatchField< Type >
typedef faPatch Patch
 
typedef calculatedFaPatchField< Type > Calculated
 
- Static Public Member Functions inherited from faPatchField< Type >
static tmp< faPatchField< Type > > New (const word &patchFieldType, const word &actualPatchType, const faPatch &, const DimensionedField< Type, areaMesh > &)
 
static tmp< faPatchField< Type > > New (const word &patchFieldType, const faPatch &, const DimensionedField< Type, areaMesh > &)
 
static tmp< faPatchField< Type > > New (const faPatchField< Type > &, const faPatch &, const DimensionedField< Type, areaMesh > &, const faPatchFieldMapper &)
 
static tmp< faPatchField< Type > > New (const faPatch &, const DimensionedField< Type, areaMesh > &, const dictionary &)
 
static tmp< faPatchField< Type > > NewCalculatedType (const faPatchField< Type2 > &)
 
static const wordcalculatedType ()
 
- Static Public Attributes inherited from faPatchField< Type >
static int disallowGenericFaPatchField
 

Detailed Description

template<class Type>
class Foam::cyclicFaPatchField< Type >

Foam::cyclicFaPatchField.

Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 55 of file cyclicFaPatchField.H.

Constructor & Destructor Documentation

◆ cyclicFaPatchField() [1/5]

cyclicFaPatchField ( const faPatch p,
const DimensionedField< Type, areaMesh > &  iF 
)

Definition at line 28 of file cyclicFaPatchField.C.

◆ cyclicFaPatchField() [2/5]

cyclicFaPatchField ( const faPatch p,
const DimensionedField< Type, areaMesh > &  iF,
const dictionary dict 
)

Definition at line 65 of file cyclicFaPatchField.C.

References dict, Foam::stringOps::evaluate(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and p.

Here is the call graph for this function:

◆ cyclicFaPatchField() [3/5]

cyclicFaPatchField ( const cyclicFaPatchField< Type > &  ptf,
const faPatch p,
const DimensionedField< Type, areaMesh > &  iF,
const faPatchFieldMapper mapper 
)

Definition at line 40 of file cyclicFaPatchField.C.

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

Here is the call graph for this function:

◆ cyclicFaPatchField() [4/5]

cyclicFaPatchField ( const cyclicFaPatchField< Type > &  ptf)

Definition at line 91 of file cyclicFaPatchField.C.

◆ cyclicFaPatchField() [5/5]

cyclicFaPatchField ( const cyclicFaPatchField< Type > &  ptf,
const DimensionedField< Type, areaMesh > &  iF 
)

Definition at line 103 of file cyclicFaPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( cyclicFaPatch::typeName_()  )

◆ clone() [1/2]

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

Implements coupledFaPatchField< Type >.

Definition at line 115 of file cyclicFaPatchField.H.

◆ clone() [2/2]

virtual tmp<faPatchField<Type> > clone ( const DimensionedField< Type, areaMesh > &  iF) const
inlinevirtual

Implements coupledFaPatchField< Type >.

Definition at line 132 of file cyclicFaPatchField.H.

◆ cyclicPatch()

const cyclicFaPatch& cyclicPatch ( ) const
inline

Definition at line 148 of file cyclicFaPatchField.H.

◆ patchNeighbourField()

Foam::tmp< Foam::Field< Type > > patchNeighbourField
virtual

Implements coupledFaPatchField< Type >.

Definition at line 117 of file cyclicFaPatchField.C.

References tmp::ref(), and Foam::transform().

Here is the call graph for this function:

◆ transformCoupleField()

virtual void transformCoupleField ( solveScalarField f,
const direction  cmpt 
) const
inlinevirtual

Implements coupledFaPatchField< Type >.

Definition at line 164 of file cyclicFaPatchField.H.

References f(), and cyclicLduInterfaceField::transformCoupleField().

Here is the call graph for this function:

◆ updateInterfaceMatrix() [1/2]

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

Implements coupledFaPatchField< Type >.

Definition at line 157 of file cyclicFaPatchField.C.

References Foam::add(), and forAll.

Here is the call graph for this function:

◆ updateInterfaceMatrix() [2/2]

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

Implements coupledFaPatchField< Type >.

Definition at line 202 of file cyclicFaPatchField.C.

References Foam::add(), and forAll.

Here is the call graph for this function:

◆ doTransform()

virtual bool doTransform ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 201 of file cyclicFaPatchField.H.

References coupledFaPatch::parallel().

Here is the call graph for this function:

◆ forwardT()

virtual const tensorField& forwardT ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 207 of file cyclicFaPatchField.H.

References cyclicFaPatch::forwardT().

Here is the call graph for this function:

◆ reverseT()

virtual const tensorField& reverseT ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 213 of file cyclicFaPatchField.H.

References cyclicFaPatch::reverseT().

Here is the call graph for this function:

◆ rank()

virtual int rank ( ) const
inlinevirtual

Implements cyclicLduInterfaceField.

Definition at line 219 of file cyclicFaPatchField.H.


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