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

processorFvPatch Class Reference

Processor patch. More...

Inheritance diagram for processorFvPatch:
Collaboration diagram for processorFvPatch:

List of all members.


Public Member Functions

 TypeName (processorPolyPatch::typeName_())
 Runtime type information.
 processorFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm)
 Construct from components.
int myProcNo () const
 Return processor number.
int neighbProcNo () const
 Return neigbour processor number.
virtual bool coupled () const
 Return true if running parallel.
virtual const tensorField & forwardT () const
 Return face transformation tensor.
tmp< vectorField > delta () const
 Return delta (P to N) vectors across coupled patch.
virtual tmp< labelField > interfaceInternalField (const unallocLabelList &internalData) const
 Return the values of the given internal data adjacent to.
virtual void initTransfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const
 Initialise interface data transfer.
virtual tmp< labelField > transfer (const Pstream::commsTypes commsType, const unallocLabelList &interfaceData) const
 Transfer and return neighbour field.
virtual void initInternalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &internalData) const
 Initialise neighbour field transfer.
virtual tmp< labelField > internalFieldTransfer (const Pstream::commsTypes commsType, const unallocLabelList &internalData) const
 Return neighbour field.

Protected Member Functions

void makeWeights (scalarField &) const
 Make patch weighting factors.
void makeDeltaCoeffs (scalarField &) const
 Make patch face - neighbour cell distances.

Detailed Description

Processor patch.

Source files

Definition at line 46 of file processorFvPatch.H.


Constructor & Destructor Documentation

processorFvPatch ( const polyPatch &  patch,
const fvBoundaryMesh &  bm 
) [inline]

Construct from components.

Definition at line 76 of file processorFvPatch.H.


Member Function Documentation

void makeWeights ( scalarField &  w  )  const [protected, virtual]

Make patch weighting factors.

Implements coupledFvPatch.

Definition at line 35 of file processorFvPatch.C.

void makeDeltaCoeffs ( scalarField &  dc  )  const [protected, virtual]

Make patch face - neighbour cell distances.

Implements coupledFvPatch.

Definition at line 60 of file processorFvPatch.C.

TypeName ( processorPolyPatch::  typeName_()  ) 

Runtime type information.

int myProcNo (  )  const [inline, virtual]

Return processor number.

Implements processorLduInterface.

Definition at line 86 of file processorFvPatch.H.

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

Here is the caller graph for this function:

int neighbProcNo (  )  const [inline, virtual]

Return neigbour processor number.

Implements processorLduInterface.

Definition at line 92 of file processorFvPatch.H.

References processorPolyPatch::myProcNo().

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

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool coupled (  )  const [inline, virtual]

Return true if running parallel.

Reimplemented from coupledFvPatch.

Definition at line 98 of file processorFvPatch.H.

References processorPolyPatch::neighbProcNo().

Here is the call graph for this function:

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

Return face transformation tensor.

Reimplemented from coupledFvPatch.

Definition at line 111 of file processorFvPatch.H.

Referenced by processorFvPatchField< Type >::rank(), and processorFvPatchField< Type >::snGrad().

Here is the caller graph for this function:

tmp< vectorField > delta (  )  const [virtual]

Return delta (P to N) vectors across coupled patch.

Implements coupledFvPatch.

Definition at line 73 of file processorFvPatch.C.

tmp< labelField > interfaceInternalField ( const unallocLabelList &  internalData  )  const [virtual]

Return the values of the given internal data adjacent to.

the interface as a field

Implements coupledFvPatch.

Definition at line 109 of file processorFvPatch.C.

void initTransfer ( const Pstream::commsTypes  commsType,
const unallocLabelList &  interfaceData 
) const [virtual]

Initialise interface data transfer.

Reimplemented from coupledFvPatch.

Definition at line 118 of file processorFvPatch.C.

tmp< labelField > transfer ( const Pstream::commsTypes  commsType,
const unallocLabelList &  interfaceData 
) const [virtual]

Transfer and return neighbour field.

Implements coupledFvPatch.

Definition at line 128 of file processorFvPatch.C.

References processorLduInterface::send().

Here is the call graph for this function:

void initInternalFieldTransfer ( const Pstream::commsTypes  commsType,
const unallocLabelList &  internalData 
) const [virtual]

Initialise neighbour field transfer.

Reimplemented from lduInterface.

Definition at line 138 of file processorFvPatch.C.

References fvPatch::size().

Here is the call graph for this function:

tmp< labelField > internalFieldTransfer ( const Pstream::commsTypes  commsType,
const unallocLabelList &  internalData 
) const [virtual]

Return neighbour field.

Implements coupledFvPatch.

Definition at line 148 of file processorFvPatch.C.

References fvPatch::patchInternalField(), and processorLduInterface::send().

Here is the call graph for this function:


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