OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

processorFvPatchField< Type > Class Template Reference

Foam::processorFvPatchField. More...

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.

Detailed Description

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

Foam::processorFvPatchField.

Source files

Definition at line 47 of file processorFvPatchField.H.


Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 34 of file processorFvPatchField.C.

References p.

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

Construct from patch and internal field and patch field.

Definition at line 46 of file processorFvPatchField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 93 of file processorFvPatchField.C.

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

Construct by mapping given processorFvPatchField onto a new patch.

Definition at line 60 of file processorFvPatchField.C.

processorFvPatchField ( const processorFvPatchField< Type > &  ptf  )  [inline]

Construct as copy.

Definition at line 125 of file processorFvPatchField.C.

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

Construct as copy setting internal field reference.

Definition at line 137 of file processorFvPatchField.C.

~processorFvPatchField (  )  [inline]

Definition at line 150 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 102 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 119 of file processorFvPatchField.H.

virtual bool coupled (  )  const [inline, virtual]

Return true if running parallel.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 140 of file processorFvPatchField.H.

References Pstream::parRun().

Here is the call graph for this function:

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

Return neighbour field given internal field.

Implements coupledFvPatchField< Type >.

Definition at line 157 of file processorFvPatchField.C.

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

Initialise the evaluation of the patch field.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 165 of file processorFvPatchField.C.

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

Evaluate the patch field.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 178 of file processorFvPatchField.C.

References processorLduInterface::compressedSend(), and fvPatchField< Type >::patchInternalField().

Here is the call graph for this function:

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

Return patch-normal gradient.

Reimplemented from coupledFvPatchField< Type >.

Definition at line 195 of file processorFvPatchField.C.

References processorFvPatch::forwardT(), and Foam::transform().

Here is the call graph for this function:

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

Initialise neighbour matrix update.

Reimplemented from lduInterfaceField.

Definition at line 203 of file processorFvPatchField.C.

References fvPatch::deltaCoeffs(), fvPatchField< Type >::patch(), and fvPatchField< Type >::patchInternalField().

Referenced by processorFvPatchField< Type >::initInterfaceMatrixUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Update result field based on interface functionality.

Implements coupledFvPatchField< Type >.

Definition at line 222 of file processorFvPatchField.C.

virtual int myProcNo (  )  const [inline, virtual]

Processor coupled interface functions.

Return processor number

Implements processorLduInterfaceField.

Definition at line 192 of file processorFvPatchField.H.

virtual int neighbProcNo (  )  const [inline, virtual]

Return neigbour processor number.

Implements processorLduInterfaceField.

Definition at line 198 of file processorFvPatchField.H.

References processorFvPatch::myProcNo().

Here is the call graph for this function:

virtual bool doTransform (  )  const [inline, virtual]

Does the patch field perform the transfromation.

Implements processorLduInterfaceField.

Definition at line 204 of file processorFvPatchField.H.

References processorFvPatch::neighbProcNo().

Here is the call graph for this function:

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

Return face transformation tensor.

Implements processorLduInterfaceField.

Definition at line 210 of file processorFvPatchField.H.

References coupledFvPatch::parallel().

Here is the call graph for this function:

virtual int rank (  )  const [inline, virtual]

Return rank of component for transform.

Implements processorLduInterfaceField.

Definition at line 216 of file processorFvPatchField.H.

References processorFvPatch::forwardT().

Here is the call graph for this function:

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

Initialise neighbour matrix update.

Reimplemented from lduInterfaceField.

Definition at line 29 of file processorFvPatchScalarField.C.

References processorLduInterface::compressedSend(), and processorFvPatchField< Type >::initInterfaceMatrixUpdate().

Here is the call graph for this function:

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

Update result field based on interface functionality.

Implements coupledFvPatchField< Type >.

Definition at line 48 of file processorFvPatchScalarField.C.

void initInterfaceMatrixUpdate ( const scalarField &  ,
scalarField &  ,
const lduMatrix &  ,
const scalarField &  ,
const   direction,
const Pstream::commsTypes  commsType 
) const [inline, 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 [inline, virtual]

Update result field based on interface functionality.

Implements coupledFvPatchField< Type >.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd