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

processorFvPatchField< Type > Class Template Reference

Foam::processorFvPatchField. More...

#include <finiteVolume/processorFvPatchField.H>


Detailed Description

template<class Type>
class Foam::processorFvPatchField< Type >

Foam::processorFvPatchField.

Source files

Definition at line 52 of file processorFvPatchField.H.

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

List of all members.

Public Member Functions

 TypeName (processorFvPatch::typeName_())
 Runtime type information.
 processorFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &)
 Construct from patch and internal field.
 processorFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &)
 Construct from patch and internal field and patch field.
 processorFvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 processorFvPatchField (const processorFvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given processorFvPatchField onto a new patch.
 processorFvPatchField (const processorFvPatchField< Type > &)
 Construct as copy.
virtual tmp< fvPatchField< Type > >  clone () const
 Construct and return a clone.
 processorFvPatchField (const processorFvPatchField< 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.
 ~processorFvPatchField ()
virtual bool  coupled () const
 Return true if running parallel.
tmp< Field< Type > >  patchNeighbourField () const
 Return neighbour field given internal field.
virtual void  initEvaluate (const Pstream::commsTypes commsType)
 Initialise the evaluation of the patch field.
virtual void  evaluate (const Pstream::commsTypes commsType)
 Evaluate the patch field.
virtual tmp< Field< Type > >  snGrad () const
 Return patch-normal gradient.
virtual void  initInterfaceMatrixUpdate (const scalarField &psiInternal, scalarField &result, const lduMatrix &m, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Initialise neighbour matrix update.
virtual void  updateInterfaceMatrix (const scalarField &psiInternal, scalarField &result, const lduMatrix &m, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const
 Update result field based on interface functionality.
virtual int  myProcNo () const
 Processor coupled interface functions.
virtual int  neighbProcNo () const
 Return neigbour processor number.
virtual bool  doTransform () const
 Does the patch field perform the transfromation.
virtual const tensorField &  forwardT () const
 Return face transformation tensor.
virtual int  rank () const
 Return rank of component for transform.
template<>
void  initInterfaceMatrixUpdate (const scalarField &psiInternal, scalarField &, const lduMatrix &, const scalarField &, const direction, const Pstream::commsTypes commsType) const
 Initialise neighbour matrix update.
template<>
void  updateInterfaceMatrix (const scalarField &, scalarField &result, const lduMatrix &, const scalarField &coeffs, const direction, const Pstream::commsTypes commsType) const
 Update result field based on interface functionality.
template<>
void  initInterfaceMatrixUpdate (const scalarField &, scalarField &, const lduMatrix &, const scalarField &, const direction, const Pstream::commsTypes commsType) const
 Initialise neighbour matrix update.
template<>
void  updateInterfaceMatrix (const scalarField &, scalarField &result, const lduMatrix &, const scalarField &coeffs, const direction, const Pstream::commsTypes commsType) const
 Update result field based on interface functionality.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 42 of file processorFvPatchField.C.

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

Construct from patch and internal field and patch field.

Definition at line 54 of file processorFvPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 101 of file processorFvPatchField.C.

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

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

Construct by mapping given processorFvPatchField onto a new patch.

Definition at line 68 of file processorFvPatchField.C.

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

processorFvPatchField ( const processorFvPatchField< Type > &   ptf  )

Construct as copy.

Definition at line 133 of file processorFvPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 145 of file processorFvPatchField.C.

Definition at line 158 of file processorFvPatchField.C.


Member Function Documentation

TypeName ( processorFvPatch::   typeName_()  )

Runtime type information.

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

Construct and return a clone.

Implements coupledFvPatchField< Type >.

Definition at line 107 of file processorFvPatchField.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 >.

Definition at line 124 of file processorFvPatchField.H.

virtual bool coupled (  ) const [inline, virtual]

Return true if running parallel.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 145 of file processorFvPatchField.H.

References Pstream::parRun().

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

Return neighbour field given internal field.

Implements coupledFvPatchField< Type >.

Definition at line 165 of file processorFvPatchField.C.

void initEvaluate ( const Pstream::commsTypes   commsType  ) [virtual]

Initialise the evaluation of the patch field.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 173 of file processorFvPatchField.C.

References Pstream::parRun().

void evaluate ( const Pstream::commsTypes   commsType  ) [virtual]

Evaluate the patch field.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 186 of file processorFvPatchField.C.

References Pstream::parRun(), and Foam::transform().

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

Return patch-normal gradient.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 203 of file processorFvPatchField.C.

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

Initialise neighbour matrix update.

Reimplemented from lduInterfaceField.

Definition at line 211 of file processorFvPatchField.C.

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

Update result field based on interface functionality.

Implements coupledFvPatchField< Type >.

Definition at line 230 of file processorFvPatchField.C.

References forAll.

virtual int myProcNo (  ) const [inline, virtual]

Processor coupled interface functions.

Return processor number

Implements processorLduInterfaceField.

Definition at line 197 of file processorFvPatchField.H.

References processorFvPatch::myProcNo().

virtual int neighbProcNo (  ) const [inline, virtual]

Return neigbour processor number.

Implements processorLduInterfaceField.

Definition at line 203 of file processorFvPatchField.H.

References processorFvPatch::neighbProcNo().

virtual bool doTransform (  ) const [inline, virtual]

Does the patch field perform the transfromation.

Implements processorLduInterfaceField.

Definition at line 209 of file processorFvPatchField.H.

References coupledFvPatch::parallel().

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

Return face transformation tensor.

Implements processorLduInterfaceField.

Definition at line 215 of file processorFvPatchField.H.

References processorFvPatch::forwardT().

virtual int rank (  ) const [inline, virtual]

Return rank of component for transform.

Implements processorLduInterfaceField.

Definition at line 221 of file processorFvPatchField.H.

void initInterfaceMatrixUpdate ( const scalarField &   ,
scalarField &   ,
const lduMatrix &   ,
const scalarField &   ,
const   direction,
const Pstream::commsTypes   commsType  
) const [virtual]

Initialise neighbour matrix update.

Reimplemented from lduInterfaceField.

Definition at line 37 of file processorFvPatchScalarField.C.

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

Update result field based on interface functionality.

Implements coupledFvPatchField< Type >.

Definition at line 56 of file processorFvPatchScalarField.C.

References forAll.

void initInterfaceMatrixUpdate ( const scalarField &   ,
scalarField &   ,
const lduMatrix &   ,
const scalarField &   ,
const   direction,
const Pstream::commsTypes   commsType  
) const [virtual]

Initialise neighbour matrix update.

Reimplemented from lduInterfaceField.

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

Update result field based on interface functionality.

Implements coupledFvPatchField< Type >.


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