From 248ab45998ec2177646fde5bf1fce0c33e9dde43 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sun, 15 May 2016 18:12:26 +0100 Subject: [PATCH] Updates to script documentation Patch contributed by Bruno Santos Resolves text report http://bugs.openfoam.org/view.php?id=2089 --- etc/config.csh/CGAL | 3 ++- etc/config.csh/paraview | 1 + etc/config.sh/CGAL | 5 +++++ etc/config.sh/example/paraview | 2 +- etc/config.sh/metis | 1 + etc/config.sh/scotch | 4 ++++ .../utilities/writeRegisteredObject/controlDict | 2 +- 7 files changed, 15 insertions(+), 3 deletions(-) diff --git a/etc/config.csh/CGAL b/etc/config.csh/CGAL index 0ec72b5e76..7fb32e2493 100644 --- a/etc/config.csh/CGAL +++ b/etc/config.csh/CGAL @@ -27,7 +27,8 @@ # Description # Setup file for CGAL (& boost) include/libraries. # Sourced from OpenFOAM-/etc/cshrc -##------------------------------------------------------------------------------ +# +#------------------------------------------------------------------------------ set boost_version=boost-system set cgal_version=CGAL-4.7 diff --git a/etc/config.csh/paraview b/etc/config.csh/paraview index 7cabc85248..8201255cb2 100644 --- a/etc/config.csh/paraview +++ b/etc/config.csh/paraview @@ -31,6 +31,7 @@ # Note # The env. variables 'ParaView_DIR' and 'ParaView_MAJOR' # are required for building plugins +# #------------------------------------------------------------------------------ # Clean the PATH diff --git a/etc/config.sh/CGAL b/etc/config.sh/CGAL index 4d0ca25ff6..072f1e669d 100644 --- a/etc/config.sh/CGAL +++ b/etc/config.sh/CGAL @@ -33,6 +33,11 @@ # # boost_version=boost-system # cgal_version=cgal-system +# +# Note +# If CGAL/Boost is to be entirely disabled, either rename this file or +# create an empty one with the same name at a user or site location. +# #------------------------------------------------------------------------------ boost_version=boost-system diff --git a/etc/config.sh/example/paraview b/etc/config.sh/example/paraview index 06caae46cc..704c209dac 100644 --- a/etc/config.sh/example/paraview +++ b/etc/config.sh/example/paraview @@ -30,7 +30,7 @@ # # Note # This file could be copied to a user or site location, but should never -# replace the default shipped version as this will cause an infinite loop +# replace the default shipped version as this will cause an infinite loop. # #------------------------------------------------------------------------------ diff --git a/etc/config.sh/metis b/etc/config.sh/metis index 6811eff70b..70260f97f0 100644 --- a/etc/config.sh/metis +++ b/etc/config.sh/metis @@ -31,6 +31,7 @@ # Note # A csh version is not needed, since the values here are only sourced # during the wmake process +# #------------------------------------------------------------------------------ export METIS_VERSION=metis-5.1.0 diff --git a/etc/config.sh/scotch b/etc/config.sh/scotch index 95e79ce33c..7f9800965d 100644 --- a/etc/config.sh/scotch +++ b/etc/config.sh/scotch @@ -31,6 +31,10 @@ # Note # A csh version is not needed, since the values here are only sourced # during the wmake process +# +# If Scotch is to be entirely disabled, either rename this file or create +# an empty one with the same name at a user or site location. +# #------------------------------------------------------------------------------ export SCOTCH_VERSION=scotch_6.0.3 diff --git a/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict index 4ddf310200..0267dd2ee7 100644 --- a/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict +++ b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict @@ -81,7 +81,7 @@ functions writeInterval 1; // (timeStep, writeTime) // Interval of time (sec) to write down( - writeInterval 10.5 //(adjustableRunTime, runTime, clockTime, cpuTime) + writeInterval 10.5; //(adjustableRunTime, runTime, clockTime, cpuTime) } dumpObjects