diff --git a/applications/utilities/parallelProcessing/decomposePar/decomposeParDict b/applications/utilities/parallelProcessing/decomposePar/decomposeParDict index 7ece22c5ae..288797ed1e 100644 --- a/applications/utilities/parallelProcessing/decomposePar/decomposeParDict +++ b/applications/utilities/parallelProcessing/decomposePar/decomposeParDict @@ -59,7 +59,7 @@ manualCoeffs } -//// Is the case distributred +//// Is the case distributed //distributed yes; //// Per slave (so nProcs-1 entries) the directory above the case. //roots diff --git a/applications/utilities/postProcessing/sampling/sample/sampleDict b/applications/utilities/postProcessing/sampling/sample/sampleDict index b605f29e57..215add79a7 100644 --- a/applications/utilities/postProcessing/sampling/sample/sampleDict +++ b/applications/utilities/postProcessing/sampling/sample/sampleDict @@ -180,7 +180,7 @@ surfaces triangleCut { - // Cutingplaneusing iso surface + // Cutingplane using iso surface type cuttingPlane; planeType pointAndNormal; pointAndNormalDict diff --git a/src/Allwmake b/src/Allwmake index 39ce3f16f1..f22e0729db 100755 --- a/src/Allwmake +++ b/src/Allwmake @@ -17,11 +17,12 @@ wmake libso lagrangian/basic wmake libso triSurface wmake libso edgeMesh wmake libso surfMesh -wmake libso meshTools -wmake libso finiteVolume decompositionAgglomeration/Allwmake +wmake libso meshTools +wmake libso finiteVolume + wmake libso sampling wmake libso dynamicMesh diff --git a/src/Pstream/Allwmake b/src/Pstream/Allwmake index cb2c43e843..a24dd16a5d 100755 --- a/src/Pstream/Allwmake +++ b/src/Pstream/Allwmake @@ -5,18 +5,18 @@ set -x wmake libso dummy case "$WM_MPLIB" in -GAMMA) - wmake libso gamma - ;; - LAM | *MPI* ) - WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB set +x echo echo "Note: ignore spurious warnings about missing mpicxx.h headers" set -x - wmake libso mpi + (WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB; wmake libso mpi) ;; + +#GAMMA) +# wmake libso gamma +# ;; esac + # ----------------------------------------------------------------- end-of-file diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C index 0438fa276d..5bb4a0ee2d 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.C @@ -317,25 +317,18 @@ Foam::autoHexMeshDriver::autoHexMeshDriver Info<< surfaces().names()[surfI] << ':' << nl << nl; - //const triSurfaceMesh& s = surfaces()[surfI]; - //const geometricSurfacePatchList& regions = s.patches(); - //labelList nTrisPerRegion(surfaces().countRegions(s)); - forAll(regNames, i) { - //if (nTrisPerRegion[i] > 0) - //{ - label patchI = meshRefinement::addPatch - ( - mesh, - regNames[i], - wallPolyPatch::typeName - ); + label patchI = meshRefinement::addPatch + ( + mesh, + regNames[i], + wallPolyPatch::typeName + ); - Info<< patchI << '\t' << regNames[i] << nl; + Info<< patchI << '\t' << regNames[i] << nl; - globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI; - //} + globalToPatch_[surfaces().globalRegion(surfI, i)] = patchI; } Info<< nl; diff --git a/src/decompositionAgglomeration/Allwmake b/src/decompositionAgglomeration/Allwmake index 144244776f..3294fe48c3 100755 --- a/src/decompositionAgglomeration/Allwmake +++ b/src/decompositionAgglomeration/Allwmake @@ -6,7 +6,7 @@ wmake libso decompositionMethods if [ -d "$FOAM_MPI_LIBBIN" ] then - wmake libso parMetisDecomp + (WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB; wmake libso parMetisDecomp) fi wmake libso MGridGenGamgAgglomeration diff --git a/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C b/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C index 3572bcb6d0..1926889955 100644 --- a/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C +++ b/src/finiteVolume/cfdTools/general/findRefCell/findRefCell.C @@ -52,18 +52,19 @@ void Foam::setRefCell if (refCelli < 0 || refCelli >= field.mesh().nCells()) { - FatalErrorIn + FatalIOErrorIn ( - "void Foam::setRefCell" - "(" - " const volScalarField&," - " const dictionary&," - " label& scalar&," - " bool" - ")" + "void Foam::setRefCell\n" + "(\n" + " const volScalarField&,\n" + " const dictionary&,\n" + " label& scalar&,\n" + " bool\n" + ")", + dict ) << "Illegal master cellID " << refCelli << ". Should be 0.." << field.mesh().nCells() - << exit(FatalError); + << exit(FatalIOError); } } else @@ -79,36 +80,38 @@ void Foam::setRefCell label sumHasRef = returnReduce