mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: adjust comments, indentation
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
# foamConfigurePaths
|
# foamConfigurePaths
|
||||||
#
|
#
|
||||||
# Description
|
# Description
|
||||||
# Adjust hardcoded versions and installation paths (for bash, POSIX shell).
|
# Adjust hardcoded installation versions and paths in bashrc and config.sh/
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
usage() {
|
usage() {
|
||||||
@ -30,8 +30,8 @@ usage: ${0##*/}
|
|||||||
-SP | -float32 specify 'WM_PRECISION_OPTION'
|
-SP | -float32 specify 'WM_PRECISION_OPTION'
|
||||||
-DP | -float64 specify 'WM_PRECISION_OPTION'
|
-DP | -float64 specify 'WM_PRECISION_OPTION'
|
||||||
-int32 | -int64 specify 'WM_LABEL_SIZE'
|
-int32 | -int64 specify 'WM_LABEL_SIZE'
|
||||||
-system NAME specify 'system' compiler to be used
|
-system NAME specify 'system' compiler to use (eg, Gcc, Icc,...)
|
||||||
-third NAME specify 'ThirdParty' compiler to be used
|
-third NAME specify 'ThirdParty' compiler to use (eg, Clang40,...)
|
||||||
-boost VER specify 'boost_version'
|
-boost VER specify 'boost_version'
|
||||||
-boost-path DIR specify 'BOOST_ARCH_PATH'
|
-boost-path DIR specify 'BOOST_ARCH_PATH'
|
||||||
-cgal ver specify 'cgal_version'
|
-cgal ver specify 'cgal_version'
|
||||||
@ -40,16 +40,18 @@ usage: ${0##*/}
|
|||||||
-cmake VER specify 'cmake_version'
|
-cmake VER specify 'cmake_version'
|
||||||
-fftw VER specify 'fffw_version'
|
-fftw VER specify 'fffw_version'
|
||||||
-fftw-path DIR specify 'FFTW_ARCH_PATH'
|
-fftw-path DIR specify 'FFTW_ARCH_PATH'
|
||||||
|
-kahip VER specify 'KAHIP_VERSION'
|
||||||
|
-kahip-path DIR specify 'KAHIP_ARCH_PATH'
|
||||||
-metis ver specify 'METIS_VERSION'
|
-metis ver specify 'METIS_VERSION'
|
||||||
-metis-path DIR specify 'METIS_ARCH_PATH'
|
-metis-path DIR specify 'METIS_ARCH_PATH'
|
||||||
-paraview VER specify 'ParaView_VERSION' (eg, 5.4.1)
|
-paraview VER specify 'ParaView_VERSION' (eg, 5.4.1)
|
||||||
-paraview-path DIR specify 'ParaView_DIR' (eg, /opt/ParaView-5.4.1)
|
-paraview-path DIR specify 'ParaView_DIR' (eg, /opt/ParaView-5.4.1)
|
||||||
-mpi NAME specify type for 'WM_MPLIB' (eg, FJMPI, INTELMPI, etc)
|
-mpi NAME specify 'WM_MPLIB' type (eg, FJMPI, INTELMPI, etc)
|
||||||
-openmpi VER specify ThirdParty openmpi version for 'FOAM_MPI'
|
-openmpi VER specify ThirdParty openmpi version for 'FOAM_MPI'
|
||||||
-openmpi-system activate system openmpi
|
-openmpi-system activate system openmpi
|
||||||
-openmpi-third activate ThirdParty openmpi (using default version)
|
-openmpi-third activate ThirdParty openmpi (using default version)
|
||||||
-scotch VER specify 'SCOTCH_VERSION' (eg, scotch_6.0.4)
|
-scotch VER specify 'SCOTCH_VERSION' (eg, scotch_6.0.4)
|
||||||
-scotch-path dir specify 'SCOTCH_ARCH_PATH' (eg, /opt/OpenFOAM-scotch_6.0.4)
|
-scotch-path DIR specify 'SCOTCH_ARCH_PATH' (eg, /opt/OpenFOAM-scotch_6.0.4)
|
||||||
-vtk VER specify 'vtk_version' (eg, VTK-7.1.0)
|
-vtk VER specify 'vtk_version' (eg, VTK-7.1.0)
|
||||||
-mesa VER specify 'mesa_version' (eg, mesa-13.0.1)
|
-mesa VER specify 'mesa_version' (eg, mesa-13.0.1)
|
||||||
-sigfpe | -no-sigfpe [defunct - now under etc/controlDict]
|
-sigfpe | -no-sigfpe [defunct - now under etc/controlDict]
|
||||||
|
|||||||
@ -80,7 +80,7 @@ OptimisationSwitches
|
|||||||
fileHandler uncollated;
|
fileHandler uncollated;
|
||||||
|
|
||||||
//- collated: thread buffer size for queued file writes.
|
//- collated: thread buffer size for queued file writes.
|
||||||
// If set to 0 or not sufficient for the file size threading is not used.
|
// If set to 0 or not sufficient for the file size, threading is not used.
|
||||||
// Default: 1e9
|
// Default: 1e9
|
||||||
maxThreadFileBufferSize 0;
|
maxThreadFileBufferSize 0;
|
||||||
|
|
||||||
@ -108,11 +108,11 @@ OptimisationSwitches
|
|||||||
maxCommsSize 0;
|
maxCommsSize 0;
|
||||||
|
|
||||||
// Trap floating point exception.
|
// Trap floating point exception.
|
||||||
// Can override with FOAM_SIGFPE (true|false)
|
// Can override with FOAM_SIGFPE env variable (true|false)
|
||||||
trapFpe 1;
|
trapFpe 1;
|
||||||
|
|
||||||
// Initialization malloced memory to NaN.
|
// Initialization malloced memory to NaN.
|
||||||
// Can override with FOAM_SETNAN (true|false)
|
// Can override with FOAM_SETNAN env variable (true|false)
|
||||||
setNaN 0;
|
setNaN 0;
|
||||||
|
|
||||||
// Force dumping (at next timestep) upon signal (-1 to disable)
|
// Force dumping (at next timestep) upon signal (-1 to disable)
|
||||||
|
|||||||
Reference in New Issue
Block a user