From 47ae71a70c0df18fee59da5aa188f7eaaec8922d Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 19 Mar 2010 10:31:47 +0000 Subject: [PATCH 1/2] STYLE: Show how to use different paraview --- etc/prefs.csh-EXAMPLE | 15 ++++++++------- etc/prefs.sh-EXAMPLE | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/etc/prefs.csh-EXAMPLE b/etc/prefs.csh-EXAMPLE index 3e7065fced..775747ea66 100644 --- a/etc/prefs.csh-EXAMPLE +++ b/etc/prefs.csh-EXAMPLE @@ -37,16 +37,17 @@ # #------------------------------------------------------------------------------ -# Specify system compiler -# ~~~~~~~~~~~~~~~~~~~~~~~ -set compilerInstall=system +## Specify system compiler +## ~~~~~~~~~~~~~~~~~~~~~~~ +#set compilerInstall=system -# Specify system openmpi -# ~~~~~~~~~~~~~~~~~~~~~~ -setenv WM_MPLIB SYSTEMOPENMPI +## Specify system openmpi +## ~~~~~~~~~~~~~~~~~~~~~~ +#setenv WM_MPLIB SYSTEMOPENMPI # Specify ParaView version # ~~~~~~~~~~~~~~~~~~~~~~~~ -setenv ParaView_VERSION 3.7.0 # eg, cvs/git version +setenv ParaView_VERSION git # eg, cvs/git version +setenv ParaView_MAJOR 3.7 # ----------------------------------------------------------------------------- diff --git a/etc/prefs.sh-EXAMPLE b/etc/prefs.sh-EXAMPLE index 7d03887ab4..5878e82dbc 100644 --- a/etc/prefs.sh-EXAMPLE +++ b/etc/prefs.sh-EXAMPLE @@ -47,6 +47,6 @@ export WM_MPLIB=SYSTEMOPENMPI # Specify ParaView version # ~~~~~~~~~~~~~~~~~~~~~~~~ -export ParaView_VERSION=3.7.0 # eg, cvs/git version - +export ParaView_VERSION=git # eg, cvs/git version +export ParaView_MAJOR=3.7 # ----------------------------------------------------------------------------- From f5322b0bed3412908554d3db93e46c5f7f313b8f Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 19 Mar 2010 10:32:18 +0000 Subject: [PATCH 2/2] STYLE: Corrected error message --- .../autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C index 5bfa725225..fd1969e976 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriver.C @@ -102,9 +102,10 @@ Foam::Map Foam::autoSnapDriver::getZoneBafflePatches FatalErrorIn("getZoneBafflePatches(const bool)") << "Face " << faceI << " fc:" << mesh.faceCentres()[faceI] - << " is in faceZone " + << " in zone " << fZone.name() + << " is in patch " << mesh.boundaryMesh()[oldPatchI].name() - << " and in faceZone " + << " and in patch " << mesh.boundaryMesh()[patchI].name() << abort(FatalError); }