From bfb8d042fd28b73210b0b6479d727d6e133bc8fa Mon Sep 17 00:00:00 2001 From: mattijs <mattijs@hunt.opencfd.co.uk> Date: Thu, 2 Apr 2009 13:29:28 +0100 Subject: [PATCH] split of decompositionAgglomeration --- .../utilities/mesh/generation/snappyHexMesh/Make/options | 3 +-- .../utilities/mesh/manipulation/renumberMesh/Make/options | 2 +- .../utilities/parallelProcessing/decomposePar/Make/options | 2 +- .../parallelProcessing/redistributeMeshPar/Make/options | 2 +- src/Allwmake | 5 ++++- src/autoMesh/Make/options | 2 +- .../Allwmake | 2 -- .../decompositionMethods/Make/files | 0 .../decompositionMethods/Make/options | 0 .../decompositionMethod/decompositionMethod.C | 0 .../decompositionMethod/decompositionMethod.H | 0 .../decompositionMethods/geomDecomp/geomDecomp.C | 0 .../decompositionMethods/geomDecomp/geomDecomp.H | 0 .../hierarchGeomDecomp/hierarchGeomDecomp.C | 0 .../hierarchGeomDecomp/hierarchGeomDecomp.H | 0 .../decompositionMethods/manualDecomp/manualDecomp.C | 0 .../decompositionMethods/manualDecomp/manualDecomp.H | 0 .../decompositionMethods/metisDecomp/metisDecomp.C | 0 .../decompositionMethods/metisDecomp/metisDecomp.H | 0 .../simpleGeomDecomp/simpleGeomDecomp.C | 0 .../simpleGeomDecomp/simpleGeomDecomp.H | 0 .../parMetisDecomp/Make/files | 0 .../parMetisDecomp/Make/options | 0 .../parMetisDecomp/parMetisDecomp.C | 0 .../parMetisDecomp/parMetisDecomp.H | 0 .../parMetisDecomp/parMetisDecompTemplates.C | 0 src/fvAgglomerationMethods/Allwmake | 7 +++++++ .../MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C | 0 .../MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.C | 0 .../MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H | 0 .../MGridGenGamgAgglomeration/Make/files | 0 .../MGridGenGamgAgglomeration/Make/options | 0 src/meshTools/Make/options | 2 +- 33 files changed, 17 insertions(+), 10 deletions(-) rename src/{decompositionAgglomeration => decompositionMethods}/Allwmake (88%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/Make/files (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/Make/options (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/decompositionMethod/decompositionMethod.C (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/decompositionMethod/decompositionMethod.H (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/geomDecomp/geomDecomp.C (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/geomDecomp/geomDecomp.H (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.C (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.H (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/manualDecomp/manualDecomp.C (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/manualDecomp/manualDecomp.H (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/metisDecomp/metisDecomp.C (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/metisDecomp/metisDecomp.H (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C (100%) rename src/{decompositionAgglomeration => decompositionMethods}/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H (100%) rename src/{decompositionAgglomeration => decompositionMethods}/parMetisDecomp/Make/files (100%) rename src/{decompositionAgglomeration => decompositionMethods}/parMetisDecomp/Make/options (100%) rename src/{decompositionAgglomeration => decompositionMethods}/parMetisDecomp/parMetisDecomp.C (100%) rename src/{decompositionAgglomeration => decompositionMethods}/parMetisDecomp/parMetisDecomp.H (100%) rename src/{decompositionAgglomeration => decompositionMethods}/parMetisDecomp/parMetisDecompTemplates.C (100%) create mode 100755 src/fvAgglomerationMethods/Allwmake rename src/{decompositionAgglomeration => fvAgglomerationMethods}/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C (100%) rename src/{decompositionAgglomeration => fvAgglomerationMethods}/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.C (100%) rename src/{decompositionAgglomeration => fvAgglomerationMethods}/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H (100%) rename src/{decompositionAgglomeration => fvAgglomerationMethods}/MGridGenGamgAgglomeration/Make/files (100%) rename src/{decompositionAgglomeration => fvAgglomerationMethods}/MGridGenGamgAgglomeration/Make/options (100%) diff --git a/applications/utilities/mesh/generation/snappyHexMesh/Make/options b/applications/utilities/mesh/generation/snappyHexMesh/Make/options index d9eb36aa340..1c74c3aff57 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/Make/options +++ b/applications/utilities/mesh/generation/snappyHexMesh/Make/options @@ -1,6 +1,6 @@ EXE_INC = \ /* -g -DFULLDEBUG -O0 */ \ - -I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude \ + -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ -I$(LIB_SRC)/autoMesh/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/triSurface/lnInclude \ @@ -9,7 +9,6 @@ EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = \ - -L$(FOAM_MPI_LIBBIN) -lparMetisDecompositionMethod \ -lfiniteVolume \ -ldecompositionMethods \ -lmeshTools \ diff --git a/applications/utilities/mesh/manipulation/renumberMesh/Make/options b/applications/utilities/mesh/manipulation/renumberMesh/Make/options index 2dcae6b386b..8a7e5d16744 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/Make/options +++ b/applications/utilities/mesh/manipulation/renumberMesh/Make/options @@ -2,7 +2,7 @@ EXE_INC = \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ - -I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude + -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude EXE_LIBS = \ -lmeshTools \ diff --git a/applications/utilities/parallelProcessing/decomposePar/Make/options b/applications/utilities/parallelProcessing/decomposePar/Make/options index 706b6dc58f5..4b1adfd7ba2 100644 --- a/applications/utilities/parallelProcessing/decomposePar/Make/options +++ b/applications/utilities/parallelProcessing/decomposePar/Make/options @@ -1,5 +1,5 @@ EXE_INC = \ - -I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude \ + -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude diff --git a/applications/utilities/parallelProcessing/redistributeMeshPar/Make/options b/applications/utilities/parallelProcessing/redistributeMeshPar/Make/options index 7836a4fbf7a..c0f7a087767 100644 --- a/applications/utilities/parallelProcessing/redistributeMeshPar/Make/options +++ b/applications/utilities/parallelProcessing/redistributeMeshPar/Make/options @@ -1,5 +1,5 @@ EXE_INC = \ - -I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude \ + -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude diff --git a/src/Allwmake b/src/Allwmake index f22e0729dbe..3168208c49f 100755 --- a/src/Allwmake +++ b/src/Allwmake @@ -18,7 +18,8 @@ wmake libso triSurface wmake libso edgeMesh wmake libso surfMesh -decompositionAgglomeration/Allwmake +# Decomposition methods needed by meshTools +decompositionMethods/Allwmake wmake libso meshTools wmake libso finiteVolume @@ -44,4 +45,6 @@ conversion/Allwmake wmake libso autoMesh wmake libso errorEstimation +fvAgglomerationMethods/Allwmake + # ----------------------------------------------------------------- end-of-file diff --git a/src/autoMesh/Make/options b/src/autoMesh/Make/options index 4589b7ac3f6..f1687b7eb1e 100644 --- a/src/autoMesh/Make/options +++ b/src/autoMesh/Make/options @@ -1,5 +1,5 @@ EXE_INC = \ - -I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude \ + -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ -I$(LIB_SRC)/dynamicMesh/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude \ diff --git a/src/decompositionAgglomeration/Allwmake b/src/decompositionMethods/Allwmake similarity index 88% rename from src/decompositionAgglomeration/Allwmake rename to src/decompositionMethods/Allwmake index 3294fe48c34..f71ea71b867 100755 --- a/src/decompositionAgglomeration/Allwmake +++ b/src/decompositionMethods/Allwmake @@ -9,6 +9,4 @@ then (WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB; wmake libso parMetisDecomp) fi -wmake libso MGridGenGamgAgglomeration - # ----------------------------------------------------------------- end-of-file diff --git a/src/decompositionAgglomeration/decompositionMethods/Make/files b/src/decompositionMethods/decompositionMethods/Make/files similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/Make/files rename to src/decompositionMethods/decompositionMethods/Make/files diff --git a/src/decompositionAgglomeration/decompositionMethods/Make/options b/src/decompositionMethods/decompositionMethods/Make/options similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/Make/options rename to src/decompositionMethods/decompositionMethods/Make/options diff --git a/src/decompositionAgglomeration/decompositionMethods/decompositionMethod/decompositionMethod.C b/src/decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.C similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/decompositionMethod/decompositionMethod.C rename to src/decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.C diff --git a/src/decompositionAgglomeration/decompositionMethods/decompositionMethod/decompositionMethod.H b/src/decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.H similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/decompositionMethod/decompositionMethod.H rename to src/decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.H diff --git a/src/decompositionAgglomeration/decompositionMethods/geomDecomp/geomDecomp.C b/src/decompositionMethods/decompositionMethods/geomDecomp/geomDecomp.C similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/geomDecomp/geomDecomp.C rename to src/decompositionMethods/decompositionMethods/geomDecomp/geomDecomp.C diff --git a/src/decompositionAgglomeration/decompositionMethods/geomDecomp/geomDecomp.H b/src/decompositionMethods/decompositionMethods/geomDecomp/geomDecomp.H similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/geomDecomp/geomDecomp.H rename to src/decompositionMethods/decompositionMethods/geomDecomp/geomDecomp.H diff --git a/src/decompositionAgglomeration/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.C b/src/decompositionMethods/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.C similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.C rename to src/decompositionMethods/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.C diff --git a/src/decompositionAgglomeration/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.H b/src/decompositionMethods/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.H similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.H rename to src/decompositionMethods/decompositionMethods/hierarchGeomDecomp/hierarchGeomDecomp.H diff --git a/src/decompositionAgglomeration/decompositionMethods/manualDecomp/manualDecomp.C b/src/decompositionMethods/decompositionMethods/manualDecomp/manualDecomp.C similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/manualDecomp/manualDecomp.C rename to src/decompositionMethods/decompositionMethods/manualDecomp/manualDecomp.C diff --git a/src/decompositionAgglomeration/decompositionMethods/manualDecomp/manualDecomp.H b/src/decompositionMethods/decompositionMethods/manualDecomp/manualDecomp.H similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/manualDecomp/manualDecomp.H rename to src/decompositionMethods/decompositionMethods/manualDecomp/manualDecomp.H diff --git a/src/decompositionAgglomeration/decompositionMethods/metisDecomp/metisDecomp.C b/src/decompositionMethods/decompositionMethods/metisDecomp/metisDecomp.C similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/metisDecomp/metisDecomp.C rename to src/decompositionMethods/decompositionMethods/metisDecomp/metisDecomp.C diff --git a/src/decompositionAgglomeration/decompositionMethods/metisDecomp/metisDecomp.H b/src/decompositionMethods/decompositionMethods/metisDecomp/metisDecomp.H similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/metisDecomp/metisDecomp.H rename to src/decompositionMethods/decompositionMethods/metisDecomp/metisDecomp.H diff --git a/src/decompositionAgglomeration/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C b/src/decompositionMethods/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C rename to src/decompositionMethods/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.C diff --git a/src/decompositionAgglomeration/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H b/src/decompositionMethods/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H similarity index 100% rename from src/decompositionAgglomeration/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H rename to src/decompositionMethods/decompositionMethods/simpleGeomDecomp/simpleGeomDecomp.H diff --git a/src/decompositionAgglomeration/parMetisDecomp/Make/files b/src/decompositionMethods/parMetisDecomp/Make/files similarity index 100% rename from src/decompositionAgglomeration/parMetisDecomp/Make/files rename to src/decompositionMethods/parMetisDecomp/Make/files diff --git a/src/decompositionAgglomeration/parMetisDecomp/Make/options b/src/decompositionMethods/parMetisDecomp/Make/options similarity index 100% rename from src/decompositionAgglomeration/parMetisDecomp/Make/options rename to src/decompositionMethods/parMetisDecomp/Make/options diff --git a/src/decompositionAgglomeration/parMetisDecomp/parMetisDecomp.C b/src/decompositionMethods/parMetisDecomp/parMetisDecomp.C similarity index 100% rename from src/decompositionAgglomeration/parMetisDecomp/parMetisDecomp.C rename to src/decompositionMethods/parMetisDecomp/parMetisDecomp.C diff --git a/src/decompositionAgglomeration/parMetisDecomp/parMetisDecomp.H b/src/decompositionMethods/parMetisDecomp/parMetisDecomp.H similarity index 100% rename from src/decompositionAgglomeration/parMetisDecomp/parMetisDecomp.H rename to src/decompositionMethods/parMetisDecomp/parMetisDecomp.H diff --git a/src/decompositionAgglomeration/parMetisDecomp/parMetisDecompTemplates.C b/src/decompositionMethods/parMetisDecomp/parMetisDecompTemplates.C similarity index 100% rename from src/decompositionAgglomeration/parMetisDecomp/parMetisDecompTemplates.C rename to src/decompositionMethods/parMetisDecomp/parMetisDecompTemplates.C diff --git a/src/fvAgglomerationMethods/Allwmake b/src/fvAgglomerationMethods/Allwmake new file mode 100755 index 00000000000..17118db8182 --- /dev/null +++ b/src/fvAgglomerationMethods/Allwmake @@ -0,0 +1,7 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # run from this directory +set -x + +wmake libso MGridGenGamgAgglomeration + +# ----------------------------------------------------------------- end-of-file diff --git a/src/decompositionAgglomeration/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C similarity index 100% rename from src/decompositionAgglomeration/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C rename to src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomerate.C diff --git a/src/decompositionAgglomeration/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.C b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.C similarity index 100% rename from src/decompositionAgglomeration/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.C rename to src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.C diff --git a/src/decompositionAgglomeration/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H similarity index 100% rename from src/decompositionAgglomeration/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H rename to src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H diff --git a/src/decompositionAgglomeration/MGridGenGamgAgglomeration/Make/files b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/Make/files similarity index 100% rename from src/decompositionAgglomeration/MGridGenGamgAgglomeration/Make/files rename to src/fvAgglomerationMethods/MGridGenGamgAgglomeration/Make/files diff --git a/src/decompositionAgglomeration/MGridGenGamgAgglomeration/Make/options b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/Make/options similarity index 100% rename from src/decompositionAgglomeration/MGridGenGamgAgglomeration/Make/options rename to src/fvAgglomerationMethods/MGridGenGamgAgglomeration/Make/options diff --git a/src/meshTools/Make/options b/src/meshTools/Make/options index d550c78e4c2..1d1560eb5a4 100644 --- a/src/meshTools/Make/options +++ b/src/meshTools/Make/options @@ -1,6 +1,6 @@ EXE_INC = \ -I$(LIB_SRC)/triSurface/lnInclude \ - -I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude \ + -I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \ -I$(LIB_SRC)/lagrangian/basic/lnInclude LIB_LIBS = \ -- GitLab