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

cyclicPointPatchField< Type > Class Template Reference

Cyclic front and back plane patch field. More...

#include <OpenFOAM/cyclicPointPatchField.H>


Detailed Description

template<class Type>
class Foam::cyclicPointPatchField< Type >

Cyclic front and back plane patch field.

Source files

Definition at line 51 of file cyclicPointPatchField.H.

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

List of all members.

Public Member Functions

 TypeName (cyclicPointPatch::typeName_())
 Runtime type information.
 cyclicPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &)
 Construct from patch and internal field.
 cyclicPointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 cyclicPointPatchField (const cyclicPointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping given patchField<Type> onto a new patch.
virtual autoPtr
< pointPatchField< Type > >  
clone () const
 Construct and return a clone.
 cyclicPointPatchField (const cyclicPointPatchField< Type > &, const DimensionedField< Type, pointMesh > &)
 Construct as copy setting internal field reference.
virtual autoPtr
< pointPatchField< Type > >  
clone (const DimensionedField< Type, pointMesh > &iF) const
 Construct and return a clone setting internal field reference.
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 void  evaluate (const Pstream::commsTypes commsType=Pstream::blocking)
 Evaluate the patch field.
virtual void  swapAdd (Field< Type > &) const
 Complete swap of patch point values and add to local values.

Constructor & Destructor Documentation

cyclicPointPatchField ( const pointPatch &   p,
const DimensionedField< Type, pointMesh > &   iF  
)

Construct from patch and internal field.

Definition at line 38 of file cyclicPointPatchField.C.

cyclicPointPatchField ( const pointPatch &   p,
const DimensionedField< Type, pointMesh > &   iF,
const dictionary &   dict  
)

Construct from patch, internal field and dictionary.

Definition at line 50 of file cyclicPointPatchField.C.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.

cyclicPointPatchField ( const cyclicPointPatchField< Type > &   ptf,
const pointPatch &   p,
const DimensionedField< Type, pointMesh > &   iF,
const pointPatchFieldMapper &   mapper  
)

Construct by mapping given patchField<Type> onto a new patch.

Definition at line 79 of file cyclicPointPatchField.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, and FatalErrorIn.

cyclicPointPatchField ( const cyclicPointPatchField< Type > &   ptf,
const DimensionedField< Type, pointMesh > &   iF  
)

Construct as copy setting internal field reference.

Definition at line 111 of file cyclicPointPatchField.C.


Member Function Documentation

TypeName ( cyclicPointPatch::   typeName_()  )

Runtime type information.

virtual autoPtr<pointPatchField<Type> > clone (  ) const [inline, virtual]

Construct and return a clone.

Implements coupledPointPatchField< Type >.

Definition at line 94 of file cyclicPointPatchField.H.

virtual autoPtr<pointPatchField<Type> > clone ( const DimensionedField< Type, pointMesh > &   iF  ) const [inline, virtual]

Construct and return a clone setting internal field reference.

Implements coupledPointPatchField< Type >.

Definition at line 114 of file cyclicPointPatchField.H.

virtual bool doTransform (  ) const [inline, virtual]

Cyclic coupled interface functions.

Does the patch field perform the transfromation

Definition at line 133 of file cyclicPointPatchField.H.

References cyclicPointPatch::parallel().

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

Return face transformation tensor.

Definition at line 139 of file cyclicPointPatchField.H.

References cyclicPointPatch::forwardT().

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

Return neighbour-cell transformation tensor.

Definition at line 145 of file cyclicPointPatchField.H.

References cyclicPointPatch::reverseT().

virtual void evaluate ( const Pstream::commsTypes   commsType = Pstream::blocking  ) [inline, virtual]

Evaluate the patch field.

Implements coupledPointPatchField< Type >.

Definition at line 155 of file cyclicPointPatchField.H.

void swapAdd ( Field< Type > &   pField  ) const [virtual]

Complete swap of patch point values and add to local values.

Implements coupledPointPatchField< Type >.

Definition at line 124 of file cyclicPointPatchField.C.

References forAll, Foam::Swap(), and Foam::transform().


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