Complete V5 acceptance milestone
This commit is contained in:
@@ -1,3 +1,29 @@
|
||||
@echo off
|
||||
call "%~dp0..\run_example_case.bat" "%~dp0" "buckling_corrugated_shell" "--static-linear" "corrugated_shell_static_smoke.inp" "1"
|
||||
exit /b %errorlevel%
|
||||
rem FemLite benchmark runner for the corrugated shell buckling case.
|
||||
setlocal
|
||||
set "CASE_DIR=%~dp0"
|
||||
for %%I in ("%CASE_DIR%..\..") do set "ROOT_DIR=%%~fI"
|
||||
set "BUILD_DIR=%ROOT_DIR%\build-win-gcc-16"
|
||||
set "TOOL=%BUILD_DIR%\corrugated_shell_buckling_benchmark.exe"
|
||||
set "INP=%CASE_DIR%corrugated_shell_buckling_benchmark.inp"
|
||||
set "OUT_DIR=%CASE_DIR%results\auto_run"
|
||||
|
||||
if not exist "%OUT_DIR%" mkdir "%OUT_DIR%"
|
||||
del /Q "%OUT_DIR%\corrugated_buckling_*.csv" 2>nul
|
||||
|
||||
if not exist "%TOOL%" (
|
||||
echo Building corrugated_shell_buckling_benchmark...
|
||||
cmake --build "%BUILD_DIR%" --config Release --target corrugated_shell_buckling_benchmark
|
||||
if errorlevel 1 goto :fail
|
||||
)
|
||||
|
||||
"%TOOL%" "%INP%" "%OUT_DIR%"
|
||||
if errorlevel 1 goto :fail
|
||||
|
||||
echo Corrugated shell buckling benchmark completed.
|
||||
echo Results: "%OUT_DIR%"
|
||||
exit /b 0
|
||||
|
||||
:fail
|
||||
echo Corrugated shell buckling benchmark failed.
|
||||
exit /b 1
|
||||
|
||||
Reference in New Issue
Block a user