Commits on Source (6)
-
Mark OLESEN authoredbeebe4e2
-
Mark OLESEN authored8e63f084
-
mattijs authored8ab37e13
-
Mark OLESEN authored
- simplifies code, covers most cases. Can use wmake -show-api or wmakeBuildInfo to query the make rules. STYLE: Allwmake script adjustments - use bin/foamEtcFile instead of relying on PATH. The make environment may not have the OpenFOAM bin/ in it. - simpler shell syntax
d483123c -
Mark OLESEN authored
- '-c' option (as per shell), '-Dkey[=value]' option to provide preferences via the command-line. For example, etc/openfoam -DWM_COMPILER=Clang -int64 ./Allwmake -j -s -l These can also be combined with other options. Eg, etc/openfoam -DWM_COMPILER=Clang \ -c 'wmake -show-path-cxx -show-cxxflags' - relocated from bin/tools/ => etc/ for easier access - bin/tools/openfoam.in : for autoconfig-style installation - Auto-detect if the shell script was executed with openfoam and interpret accordingly. Simple example, -------------- #!/usr/bin/openfoam cd "${0%/*}" || exit # Run -*-sh-*- from this dir blockMesh simpleFoam -------------- Note it is NOT currently possible to provide any other parameters this way. Eg, `#!/usr/bin/openfoam -sp` (NOT) This will either fail to run, or result in infinite recursion.
f90de021 -
Mark OLESEN authoredec3de712
Showing
- Allwmake 13 additions, 12 deletionsAllwmake
- applications/Allwmake 5 additions, 4 deletionsapplications/Allwmake
- applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C 14 additions, 6 deletions...ities/miscellaneous/foamFormatConvert/foamFormatConvert.C
- applications/utilities/postProcessing/dataConversion/foamToVTK/convertVolumeFields.H 7 additions, 7 deletions...Processing/dataConversion/foamToVTK/convertVolumeFields.H
- applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C 6 additions, 6 deletions...ities/postProcessing/dataConversion/foamToVTK/foamToVTK.C
- bin/foamEtcFile 15 additions, 55 deletionsbin/foamEtcFile
- bin/foamGetDict 2 additions, 2 deletionsbin/foamGetDict
- bin/tools/openfoam.in 26 additions, 0 deletionsbin/tools/openfoam.in
- bin/tools/source-bashrc 12 additions, 10 deletionsbin/tools/source-bashrc
- doc/openfoam.1.in 70 additions, 0 deletionsdoc/openfoam.1.in
- etc/bashrc 9 additions, 5 deletionsetc/bashrc
- etc/config.sh/setup 2 additions, 2 deletionsetc/config.sh/setup
- etc/cshrc 9 additions, 5 deletionsetc/cshrc
- etc/openfoam 272 additions, 0 deletionsetc/openfoam
- src/Allwmake 5 additions, 4 deletionssrc/Allwmake
- src/Allwmake-scan 3 additions, 13 deletionssrc/Allwmake-scan
- src/OpenFOAM/containers/HashTables/HashSet/HashSet.C 26 additions, 18 deletionssrc/OpenFOAM/containers/HashTables/HashSet/HashSet.C
- src/OpenFOAM/containers/HashTables/HashSet/HashSet.H 28 additions, 33 deletionssrc/OpenFOAM/containers/HashTables/HashSet/HashSet.H
- src/OpenFOAM/containers/HashTables/HashTable/HashTable.H 54 additions, 43 deletionssrc/OpenFOAM/containers/HashTables/HashTable/HashTable.H
- src/OpenFOAM/containers/HashTables/HashTable/HashTableCore.H 12 additions, 27 deletionssrc/OpenFOAM/containers/HashTables/HashTable/HashTableCore.H
bin/tools/openfoam.in
0 → 100644
doc/openfoam.1.in
0 → 100644