FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

cyclicFvPatchField< Type > Class Template Reference

Foam::cyclicFvPatchField. More...

#include <finiteVolume/cyclicFvPatchField.H>


Detailed Description

template<class Type>
class Foam::cyclicFvPatchField< Type >

Foam::cyclicFvPatchField.

Source files

Definition at line 52 of file cyclicFvPatchField.H.

Inheritance diagram for cyclicFvPatchField< Type >:
Collaboration diagram for cyclicFvPatchField< Type >:

List of all members.

Public Member Functions

 TypeName (cyclicFvPatch::typeName_())
 Runtime type information.
 cyclicFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 cyclicFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 cyclicFvPatchField (const cyclicFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given cyclicFvPatchField onto a new patch.
 cyclicFvPatchField (const cyclicFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > >  clone () const
 Construct and return a clone.
 cyclicFvPatchField (const cyclicFvPatchField< Type > &, const DimensionedField< Type, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< Type > >  clone (const DimensionedField< Type, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
const cyclicFvPatch &  cyclicPatch () const
 Retirn local reference cast into the cyclic patch.
tmp< Field< Type > >  patchNeighbourField () const
 Return neighbour coupled given internal cell data.
virtual void  updateInterfaceMatrix (const scalarField &psiInternal, scalarField &result, const lduMatrix &, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Update result field based on interface functionality.
virtual bool  doTransform () const
 Cyclic coupled interface functions.
virtual const tensorField &  forwardT () const
 Return face transformation tensor.
virtual const tensorField &  reverseT () const
 Return neighbour-cell transformation tensor.
virtual int  rank () const
 Return rank of component for transform.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 37 of file cyclicFvPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 82 of file cyclicFvPatchField.C.

References PstreamBase::blocking, Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, and fvPatch::name().

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

Construct by mapping given cyclicFvPatchField onto a new patch.

Definition at line 49 of file cyclicFvPatchField.C.

References Foam::exit(), FatalErrorIn, Foam::FatalIOError, and fvPatch::name().

cyclicFvPatchField ( const cyclicFvPatchField< Type > &   ptf  )

Construct as copy.

Definition at line 116 of file cyclicFvPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 128 of file cyclicFvPatchField.C.


Member Function Documentation

TypeName ( cyclicFvPatch::   typeName_()  )

Runtime type information.

virtual tmp<fvPatchField<Type> > clone (  ) const [inline, virtual]

Construct and return a clone.

Implements coupledFvPatchField< Type >.

Reimplemented in fanFvPatchField< Type >.

Definition at line 112 of file cyclicFvPatchField.H.

virtual tmp<fvPatchField<Type> > clone ( const DimensionedField< Type, volMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Implements coupledFvPatchField< Type >.

Reimplemented in fanFvPatchField< Type >.

Definition at line 129 of file cyclicFvPatchField.H.

const cyclicFvPatch& cyclicPatch (  ) const [inline]

Retirn local reference cast into the cyclic patch.

Definition at line 145 of file cyclicFvPatchField.H.

tmp< Field< Type > > patchNeighbourField (  ) const [virtual]

Return neighbour coupled given internal cell data.

Implements coupledFvPatchField< Type >.

Reimplemented in jumpCyclicFvPatchField< Type >.

Definition at line 141 of file cyclicFvPatchField.C.

References Foam::transform().

void updateInterfaceMatrix ( const scalarField &   psiInternal,
scalarField &   result,
const lduMatrix &   ,
const scalarField &   coeffs,
const direction   cmpt,
const Pstream::commsTypes   commsType  
) const [virtual]

Update result field based on interface functionality.

Implements coupledFvPatchField< Type >.

Reimplemented in jumpCyclicFvPatchField< Type >.

Definition at line 181 of file cyclicFvPatchField.C.

References forAll.

virtual bool doTransform (  ) const [inline, virtual]

Cyclic coupled interface functions.

Does the patch field perform the transfromation

Implements cyclicLduInterfaceField.

Definition at line 171 of file cyclicFvPatchField.H.

References coupledFvPatch::parallel().

virtual const tensorField& forwardT (  ) const [inline, virtual]

Return face transformation tensor.

Implements cyclicLduInterfaceField.

Definition at line 177 of file cyclicFvPatchField.H.

References cyclicFvPatch::forwardT().

virtual const tensorField& reverseT (  ) const [inline, virtual]

Return neighbour-cell transformation tensor.

Implements cyclicLduInterfaceField.

Definition at line 183 of file cyclicFvPatchField.H.

References cyclicFvPatch::reverseT().

virtual int rank (  ) const [inline, virtual]

Return rank of component for transform.

Implements cyclicLduInterfaceField.

Definition at line 189 of file cyclicFvPatchField.H.


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