File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 31
31
cmake .. -DFANS_LIBRARY_FOR_MICRO_MANAGER=ON
32
32
make
33
33
34
- - name : Run micro_mesh.py
34
+ - name : Run FANS as a library via a Python script
35
35
run : |
36
36
cd test/test_pyfans
37
37
python3 run_fans_as_library.py
Original file line number Diff line number Diff line change 13
13
#include " general.h"
14
14
#include " matmodel.h"
15
15
#include " solver.h"
16
- #include " solverFP.h"
17
- #include " solverCG.h"
18
16
19
17
namespace py = pybind11;
20
18
@@ -24,13 +22,8 @@ class MicroSimulation {
24
22
py::dict solve (py::dict macro_write_data, double dt);
25
23
26
24
private:
27
- int _sim_id;
28
- std::vector<double > g0;
29
- double _state;
30
- char *input_temp_path;
31
- char *in_place_temp_path;
32
- char *out_temp_path;
33
- Reader reader;
25
+ int _sim_id;
26
+ Reader reader;
34
27
// Hardcoding mechanical models because these definitions need information from the input file.
35
28
Matmodel<3 > *matmodel;
36
29
Solver<3 > *solver;
You can’t perform that action at this time.
0 commit comments