Skip to content

Commit 362606a

Browse files
fsimonisMakisH
andauthored
Build cpp solvers as part of run (#330)
* Build cpp solvers as part of run * Update elastic-tube-1d/fluid-cpp/run.sh Co-authored-by: Gerasimos Chourdakis <[email protected]> * Fix solid-cpp run Co-authored-by: Gerasimos Chourdakis <[email protected]> --------- Co-authored-by: Gerasimos Chourdakis <[email protected]>
1 parent 9309af5 commit 362606a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

elastic-tube-1d/fluid-cpp/run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/sh
22
set -e -u
33

4+
if [ ! -d build ]; then
5+
mkdir build
6+
cmake -S . -B build
7+
cmake --build build
8+
fi
9+
410
./build/FluidSolver ../precice-config.xml

elastic-tube-1d/solid-cpp/run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/sh
22
set -e -u
33

4+
if [ ! -d build ]; then
5+
mkdir build
6+
cmake -S . -B build
7+
cmake --build build
8+
fi
9+
410
./build/SolidSolver ../precice-config.xml

0 commit comments

Comments
 (0)