File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Install dependencies
2424 run : |
2525 apt update
26- apt install -y cmake make g++ python3 python3-numpy python3-pip wget
26+ apt install -y cmake make g++ wget python3-dev python3-venv
2727
2828 - name : Install preCICE
2929 run : |
3232
3333 - name : Install the Micro Manager
3434 run : |
35+ python3 -m venv .venv
36+ . .venv/bin/activate
3537 pip install micro-manager-precice
3638
3739 - name : Configure
4244
4345 - name : Run a dummy macro-micro coupling test
4446 run : |
47+ . .venv/bin/activate
4548 cd test/test_pyfans
46- python3 macro-cube.py & micro-manager-precice micro-manager. config.json
49+ python3 macro-cube.py & micro-manager-precice micro-manager- config.json
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def main():
5858 participant .advance (dt )
5959 dt = participant .get_max_time_step_size ()
6060
61- participant .finalize ()
61+ participant .finalize ()
6262
6363
6464if __name__ == "__main__" :
Original file line number Diff line number Diff line change 4848 </participant >
4949
5050 <participant name =" Micro-Manager" >
51- <receive-mesh name =" cube" from =" macro-cube" direct -access =" true" safety-factor =" 0.0" />
51+ <receive-mesh name =" cube" from =" macro-cube" api -access =" true" safety-factor =" 0.0" />
5252 <read-data name =" strains1to3" mesh =" cube" />
5353 <read-data name =" strains4to6" mesh =" cube" />
5454 <write-data name =" stresses1to3" mesh =" cube" />
7777 <exchange data =" cmat5" mesh =" cube" from =" Micro-Manager" to =" macro-cube" />
7878 <exchange data =" cmat6" mesh =" cube" from =" Micro-Manager" to =" macro-cube" />
7979 <exchange data =" cmat7" mesh =" cube" from =" Micro-Manager" to =" macro-cube" />
80- <exchange data =" strains1to3" mesh =" cube" from =" macro-cube" to =" Micro-Manager" initialize = " yes " />
81- <exchange data =" strains4to6" mesh =" cube" from =" macro-cube" to =" Micro-Manager" initialize = " yes " />
80+ <exchange data =" strains1to3" mesh =" cube" from =" macro-cube" to =" Micro-Manager" />
81+ <exchange data =" strains4to6" mesh =" cube" from =" macro-cube" to =" Micro-Manager" />
8282 </coupling-scheme : serial-explicit >
8383
8484</precice-configuration >
You can’t perform that action at this time.
0 commit comments