Complete V5 acceptance milestone
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
@echo off
|
||||
call "%~dp0..\run_example_case.bat" "%~dp0" "ball_adhesion_decohesion" "--run" "ball_adhesion_contact_smoke.inp" "10"
|
||||
rem FemLite ball adhesion smoke and cohesive decohesion benchmark runner.
|
||||
setlocal
|
||||
set "CASE_DIR=%~dp0"
|
||||
for %%I in ("%CASE_DIR%..\..") do set "ROOT_DIR=%%~fI"
|
||||
set "BUILD_DIR=%ROOT_DIR%\build-win-gcc-16"
|
||||
|
||||
call "%CASE_DIR%..\run_example_case.bat" "%CASE_DIR%" "ball_adhesion_decohesion" "--run" "ball_adhesion_contact_smoke.inp" "10"
|
||||
if errorlevel 1 exit /b %errorlevel%
|
||||
|
||||
set "TOOL=%BUILD_DIR%\ball_adhesion_cohesive_benchmark.exe"
|
||||
set "INP=%CASE_DIR%ball_adhesion_cohesive_benchmark.inp"
|
||||
set "OUT_DIR=%CASE_DIR%results\cohesive"
|
||||
if not exist "%OUT_DIR%" mkdir "%OUT_DIR%"
|
||||
del /Q "%OUT_DIR%\adhesion_*.csv" 2>nul
|
||||
del /Q "%OUT_DIR%\decohesion_profile.csv" 2>nul
|
||||
|
||||
if not exist "%TOOL%" (
|
||||
echo Building ball_adhesion_cohesive_benchmark...
|
||||
cmake --build "%BUILD_DIR%" --config Release --target ball_adhesion_cohesive_benchmark
|
||||
if errorlevel 1 exit /b %errorlevel%
|
||||
)
|
||||
|
||||
"%TOOL%" "%INP%" "%OUT_DIR%"
|
||||
exit /b %errorlevel%
|
||||
|
||||
Reference in New Issue
Block a user