Public Member Functions | List of all members
structuredDecomp Class Reference

Walk out decomposition of patch cells mesh - selectable as structured. More...

Inheritance diagram for structuredDecomp:
Inheritance graph
[legend]
Collaboration diagram for structuredDecomp:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("structured")
 
 structuredDecomp (const dictionary &decompDict, const word &regionName="")
 
virtual ~structuredDecomp ()=default
 
virtual bool parallelAware () const
 
virtual labelList decompose (const polyMesh &mesh, const pointField &points, const scalarField &pointWeights) const
 
virtual labelList decompose (const labelListList &globalCellCells, const pointField &cc, const scalarField &cWeights) const
 
- Public Member Functions inherited from decompositionMethod
 TypeName ("decompositionMethod")
 
 declareRunTimeSelectionTable (autoPtr, decompositionMethod, dictionary,(const dictionary &decompDict, const word &regionName),(decompDict, regionName))
 
 decompositionMethod (const dictionary &decompDict, const word &regionName="")
 
virtual ~decompositionMethod ()=default
 
label nDomains () const noexcept
 
virtual labelList decompose (const pointField &points, const scalarField &pointWeights) const
 
virtual labelList decompose (const pointField &points) const
 
virtual labelList decompose (const polyMesh &mesh, const pointField &points) const
 
virtual labelList decompose (const polyMesh &mesh, const labelList &cellToRegion, const pointField &regionPoints, const scalarField &regionWeights) const
 
virtual labelList decompose (const polyMesh &mesh, const labelList &cellToRegion, const pointField &regionPoints) const
 
virtual labelList decompose (const labelListList &globalCellCells, const pointField &cc) const
 
void setConstraints (const polyMesh &mesh, boolList &blockedFace, PtrList< labelList > &specifiedProcessorFaces, labelList &specifiedProcessor, List< labelPair > &explicitConnections) const
 
void applyConstraints (const polyMesh &mesh, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections, labelList &finalDecomp) const
 
virtual labelList decompose (const polyMesh &mesh, const scalarField &cellWeights, const boolList &blockedFace, const PtrList< labelList > &specifiedProcessorFaces, const labelList &specifiedProcessor, const List< labelPair > &explicitConnections) const
 
labelList decompose (const polyMesh &mesh, const scalarField &cWeights) const
 

Additional Inherited Members

- Static Public Member Functions inherited from decompositionMethod
static label nDomains (const dictionary &decompDict, const word &regionName="")
 
static const dictionaryoptionalRegionDict (const dictionary &decompDict, const word &regionName)
 
static autoPtr< decompositionMethodNew (const dictionary &decompDict, const word &regionName="")
 
static void calcCellCells (const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool global, CompactListList< label > &cellCells)
 
static void calcCellCells (const polyMesh &mesh, const labelList &agglom, const label nLocalCoarse, const bool parallel, CompactListList< label > &cellCells, CompactListList< scalar > &cellCellWeights)
 
- Protected Types inherited from decompositionMethod
enum  selectionType { DEFAULT = 0, EXACT = 1, MANDATORY = 2, NULL_DICT = 4 }
 
- Protected Member Functions inherited from decompositionMethod
const dictionaryfindCoeffsDict (const word &coeffsName, int select=selectionType::DEFAULT) const
 
- Static Protected Member Functions inherited from decompositionMethod
static const dictionaryfindCoeffsDict (const dictionary &dict, const word &coeffsName, int select=selectionType::DEFAULT)
 
- Protected Attributes inherited from decompositionMethod
const dictionarydecompDict_
 
const dictionarydecompRegionDict_
 
label nDomains_
 
PtrList< decompositionConstraintconstraints_
 

Detailed Description

Walk out decomposition of patch cells mesh - selectable as structured.

Source files

Definition at line 46 of file structuredDecomp.H.

Constructor & Destructor Documentation

◆ structuredDecomp()

structuredDecomp ( const dictionary decompDict,
const word regionName = "" 
)
explicit

Definition at line 45 of file structuredDecomp.C.

References Foam::New().

Here is the call graph for this function:

◆ ~structuredDecomp()

virtual ~structuredDecomp ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "structured"  )

◆ parallelAware()

bool parallelAware ( ) const
virtual

Implements decompositionMethod.

Definition at line 61 of file structuredDecomp.C.

◆ decompose() [1/2]

Foam::labelList decompose ( const polyMesh mesh,
const pointField points,
const scalarField pointWeights 
) const
virtual

◆ decompose() [2/2]

virtual labelList decompose ( const labelListList globalCellCells,
const pointField cc,
const scalarField cWeights 
) const
inlinevirtual

Implements decompositionMethod.

Definition at line 106 of file structuredDecomp.H.

References NotImplemented.


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