ENH: decompositionMethod : move storage of dictionary to those classes that need it

This commit is contained in:
mattijs
2010-08-27 18:31:54 +01:00
parent 24d011372c
commit 03d98b6d22
5 changed files with 14 additions and 37 deletions

View File

@ -50,6 +50,8 @@ class structuredDecomp
{
// Private data
dictionary methodDict_;
autoPtr<decompositionMethod> method_;
wordList patches_;
@ -57,32 +59,6 @@ class structuredDecomp
// Private Member Functions
//- Given connectivity across processors work out connectivity
// for a (consistent) subset
void subsetGlobalCellCells
(
const label nDomains,
const label domainI,
const labelList& dist,
const labelListList& cellCells,
const labelList& set,
labelListList& subCellCells,
labelList& cutConnections
) const;
//- Decompose level methodI without addressing
void decompose
(
const labelListList& pointPoints,
const pointField& points,
const scalarField& pointWeights,
const labelList& pointMap, // map back to original points
const label levelI,
labelField& finalDecomp
);
//- Disallow default bitwise copy construct and assignment
void operator=(const structuredDecomp&);
structuredDecomp(const structuredDecomp&);