File tree 6 files changed +24
-80
lines changed
6 files changed +24
-80
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
set -e -u
3
3
4
+ . ../../tools/log.sh
5
+ exec > >( tee --append " $LOGFILE " ) 2>&1
4
6
5
7
if [ ! -f ../solver-fmi/Oscillator.fmu ]; then
6
8
cd ../solver-fmi/fmu
16
18
17
19
fmiprecice fmi-settings.json precice-settings.json
18
20
python3 ../solver-fmi/calculate-error.py ../mass-left-fmi/fmi-settings.json ../mass-left-fmi/precice-settings.json ../mass-right-fmi/fmi-settings.json ../mass-right-fmi/precice-settings.json Mass-Left
21
+
22
+ close_log
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
set -e -u
3
3
4
- python3 ../solver-python/oscillator.py Mass-Left
4
+ . ../../tools/log.sh
5
+ exec > >( tee --append " $LOGFILE " ) 2>&1
6
+
7
+ python3 ../solver-python/oscillator.py Mass-Left
8
+
9
+ close_log
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
set -e -u
3
3
4
+ . ../../tools/log.sh
5
+ exec > >( tee --append " $LOGFILE " ) 2>&1
4
6
5
7
if [ ! -f ../solver-fmi/Oscillator.fmu ]; then
6
8
cd ../solver-fmi/fmu
16
18
17
19
fmiprecice fmi-settings.json precice-settings.json
18
20
python3 ../solver-fmi/calculate-error.py ../mass-left-fmi/fmi-settings.json ../mass-left-fmi/precice-settings.json ../mass-right-fmi/fmi-settings.json ../mass-right-fmi/precice-settings.json Mass-Right
21
+
22
+ close_log
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
set -e -u
3
3
4
- python3 ../solver-python/oscillator.py Mass-Right
4
+ . ../../tools/log.sh
5
+ exec > >( tee --append " $LOGFILE " ) 2>&1
6
+
7
+ python3 ../solver-python/oscillator.py Mass-Right
8
+
9
+ close_log
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments