Processor patch. More...
#include <finiteVolume/processorFvPatch.H>
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. | |
![]() | |
TypeName (coupledPolyPatch::typeName_()) | |
Runtime type information. | |
coupledFvPatch (const polyPatch &patch, const fvBoundaryMesh &bm) | |
Construct from polyPatch. | |
virtual | ~coupledFvPatch () |
const tensorField & | reverseT () const |
Return neighbour-cell transformation tensor. | |
bool | parallel () const |
Are the cyclic planes parallel. | |
virtual const unallocLabelList & | faceCells () const |
Return faceCell addressing. | |
virtual void | initInternalFieldTransfer (const Pstream::commsTypes commsType, unallocLabelList &iF) const |
Initialise neighbour field transfer. | |
![]() | |
TypeName ("lduInterface") | |
Runtime type information. | |
lduInterface () | |
Construct null. | |
virtual | ~lduInterface () |
![]() | |
TypeName (polyPatch::typeName_()) | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, fvPatch, polyPatch,(const polyPatch &patch, const fvBoundaryMesh &bm),(patch, bm)) | |
fvPatch (const polyPatch &, const fvBoundaryMesh &) | |
Construct from polyPatch. | |
virtual | ~fvPatch () |
const polyPatch & | patch () const |
Return the polyPatch. | |
const word & | name () const |
Return name. | |
virtual label | size () const |
Return size. | |
label | index () const |
Return the index of this patch in the fvBoundaryMesh. | |
const fvBoundaryMesh & | boundaryMesh () const |
Return boundaryMesh reference. | |
template<class T > | |
const List< T >::subList | patchSlice (const List< T > &l) const |
Slice list to patch. | |
const vectorField & | Cf () const |
Return face centres. | |
tmp< vectorField > | Cn () const |
Return neighbour cell centres. | |
const vectorField & | Sf () const |
Return face area vectors. | |
const scalarField & | magSf () const |
Return face area magnitudes. | |
tmp< vectorField > | nf () const |
Return face normals. | |
const scalarField & | weights () const |
Return patch weighting factors. | |
const scalarField & | deltaCoeffs () const |
Return the face - cell distance coeffient. | |
template<class Type > | |
tmp< Field< Type > > | patchInternalField (const UList< Type > &) const |
Return given internal field next to patch as patch field. | |
template<class GeometricField , class Type > | |
const GeometricField::PatchFieldType & | patchField (const GeometricField &) const |
Return the corresponding patchField of the named field. | |
template<class GeometricField , class Type > | |
const GeometricField::PatchFieldType & | lookupPatchField (const word &name, const GeometricField *=NULL, const Type *=NULL) const |
Lookup and return the patchField of the named field from the. | |
![]() | |
TypeName ("processorLduInterface") | |
Runtime type information. | |
processorLduInterface () | |
Construct null. | |
virtual | ~processorLduInterface () |
template<class Type > | |
void | send (const Pstream::commsTypes commsType, const UList< Type > &) const |
Raw send function. | |
template<class Type > | |
void | receive (const Pstream::commsTypes commsType, UList< Type > &) const |
Raw field receive function. | |
template<class Type > | |
tmp< Field< Type > > | receive (const Pstream::commsTypes commsType, const label size) const |
Raw field receive function returning field. | |
template<class Type > | |
void | compressedSend (const Pstream::commsTypes commsType, const UList< Type > &) const |
Raw field send function with data compression. | |
template<class Type > | |
void | compressedReceive (const Pstream::commsTypes commsType, UList< Type > &) const |
Raw field receive function with data compression. | |
template<class Type > | |
tmp< Field< Type > > | compressedReceive (const Pstream::commsTypes commsType, const label size) const |
Raw field receive function with data compression returning field. |
Protected Member Functions | |
void | makeWeights (scalarField &) const |
Make patch weighting factors. | |
void | makeDeltaCoeffs (scalarField &) const |
Make patch face - neighbour cell distances. |
|
inline |
Construct from components.
Definition at line 81 of file processorFvPatch.H.
|
protectedvirtual |
Make patch weighting factors.
Implements coupledFvPatch.
Definition at line 43 of file processorFvPatch.C.
References processorFvPatch::delta(), Foam::mag(), processorPolyPatch::neighbFaceAreas(), processorPolyPatch::neighbFaceCellCentres(), processorPolyPatch::neighbFaceCentres(), fvPatch::nf(), and Pstream::parRun().
|
protectedvirtual |
Make patch face - neighbour cell distances.
Implements coupledFvPatch.
Definition at line 68 of file processorFvPatch.C.
References processorFvPatch::delta(), fvPatch::nf(), Pstream::parRun(), and fvPatch::weights().
TypeName | ( | processorPolyPatch:: | typeName_() | ) |
Runtime type information.
|
inlinevirtual |
Return processor number.
Implements processorLduInterface.
Definition at line 91 of file processorFvPatch.H.
References processorPolyPatch::myProcNo().
Referenced by processorFvPatchField< Type >::myProcNo().
|
inlinevirtual |
Return neigbour processor number.
Implements processorLduInterface.
Definition at line 97 of file processorFvPatch.H.
References processorPolyPatch::neighbProcNo().
Referenced by processorFvPatchField< Type >::neighbProcNo().
|
inlinevirtual |
Return true if running parallel.
Reimplemented from coupledFvPatch.
Definition at line 103 of file processorFvPatch.H.
References Pstream::parRun().
|
inlinevirtual |
Return face transformation tensor.
Reimplemented from coupledFvPatch.
Definition at line 116 of file processorFvPatch.H.
References coupledPolyPatch::forwardT().
Referenced by processorFvPatch::delta(), and processorFvPatchField< Type >::forwardT().
|
virtual |
Return delta (P to N) vectors across coupled patch.
Implements coupledFvPatch.
Definition at line 81 of file processorFvPatch.C.
References processorFvPatch::forwardT(), processorPolyPatch::neighbFaceCellCentres(), processorPolyPatch::neighbFaceCentres(), coupledFvPatch::parallel(), Pstream::parRun(), and Foam::transform().
Referenced by processorFvPatch::makeDeltaCoeffs(), and processorFvPatch::makeWeights().
|
virtual |
Return the values of the given internal data adjacent to.
the interface as a field
Implements coupledFvPatch.
Definition at line 117 of file processorFvPatch.C.
|
virtual |
Initialise interface data transfer.
Reimplemented from coupledFvPatch.
Definition at line 126 of file processorFvPatch.C.
|
virtual |
Transfer and return neighbour field.
Implements coupledFvPatch.
Definition at line 136 of file processorFvPatch.C.
|
virtual |
Initialise neighbour field transfer.
Reimplemented from lduInterface.
Definition at line 146 of file processorFvPatch.C.
|
virtual |
Return neighbour field.
Implements coupledFvPatch.
Definition at line 156 of file processorFvPatch.C.