From c3519f5b4a4f47297f53a025b94db8d7a99e30e1 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 29 Sep 2009 22:53:17 +0100 Subject: [PATCH] patch decomposition through mapping --- .../decomposePar/domainDecomposition.C | 20 ++++++++++- .../basic/coupled/coupledPolyPatch.C | 13 +++++++ .../basic/coupled/coupledPolyPatch.H | 10 ++++++ .../basic/generic/genericPolyPatch.C | 15 ++++++++ .../basic/generic/genericPolyPatch.H | 26 ++++++++++++++ .../constraint/cyclic/cyclicPolyPatch.C | 20 +++++++++++ .../constraint/cyclic/cyclicPolyPatch.H | 26 ++++++++++++++ .../constraint/empty/emptyPolyPatch.C | 13 +++++++ .../constraint/empty/emptyPolyPatch.H | 26 ++++++++++++++ .../constraint/processor/processorPolyPatch.C | 20 +++++++++++ .../constraint/processor/processorPolyPatch.H | 35 ++++++++++++++++++- .../constraint/symmetry/symmetryPolyPatch.C | 13 +++++++ .../constraint/symmetry/symmetryPolyPatch.H | 26 ++++++++++++++ .../constraint/wedge/wedgePolyPatch.C | 15 ++++++++ .../constraint/wedge/wedgePolyPatch.H | 26 ++++++++++++++ .../polyPatches/derived/wall/wallPolyPatch.C | 13 +++++++ .../polyPatches/derived/wall/wallPolyPatch.H | 26 ++++++++++++++ .../polyPatches/polyPatch/polyPatch.C | 27 ++++++++++++++ .../polyPatches/polyPatch/polyPatch.H | 26 ++++++++++++++ .../directMappedPatchBase.C | 19 ++++++++++ .../directMappedPatchBase.H | 8 +++++ .../directMappedPolyPatch.C | 14 ++++++++ .../directMappedPolyPatch.H | 33 +++++++++++++++++ .../directMappedWallPolyPatch.C | 14 ++++++++ .../directMappedWallPolyPatch.H | 33 +++++++++++++++++ 25 files changed, 515 insertions(+), 2 deletions(-) diff --git a/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C b/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C index e310cc758f..d3b9bd0492 100644 --- a/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C +++ b/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C @@ -34,6 +34,7 @@ License #include "Map.H" #include "globalMeshData.H" #include "DynamicList.H" +#include "fvFieldDecomposer.H" // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -306,12 +307,29 @@ bool domainDecomposition::writeDecomposition() forAll (curPatchSizes, patchi) { + // Get the face labels consistent with the field mapping + // (reuse the patch field mappers) + const polyPatch& meshPatch = + meshPatches[curBoundaryAddressing[patchi]]; + + fvFieldDecomposer::patchFieldDecomposer patchMapper + ( + SubList