mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
23 lines
621 B
Bash
Executable File
23 lines
621 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Parse arguments for compilation (at least for error catching)
|
|
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
|
|
|
|
wmake -all $targetType blockMesh
|
|
wmake -all $targetType extrude
|
|
wmake -all $targetType extrude2DMesh
|
|
wmake -all $targetType snappyHexMesh
|
|
|
|
if [ -n "$FOAMY_HEX_MESH" ]
|
|
then
|
|
# Get CGAL and boost versions
|
|
. $WM_PROJECT_DIR/etc/config.sh/functions
|
|
_foamEval $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/CGAL)
|
|
|
|
foamyMesh/Allwmake $targetType $*
|
|
fi
|
|
|
|
|
|
#------------------------------------------------------------------------------
|