Skip to content

Commit 2ea2815

Browse files
committed
Remove unnecessary code
1 parent a04944e commit 2ea2815

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/test_pyfans.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
cmake .. -DFANS_LIBRARY_FOR_MICRO_MANAGER=ON
3232
make
3333
34-
- name: Run micro_mesh.py
34+
- name: Run FANS as a library via a Python script
3535
run: |
3636
cd test/test_pyfans
3737
python3 run_fans_as_library.py

pyfans/micro.hpp

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include "general.h"
1414
#include "matmodel.h"
1515
#include "solver.h"
16-
#include "solverFP.h"
17-
#include "solverCG.h"
1816

1917
namespace py = pybind11;
2018

@@ -24,13 +22,8 @@ class MicroSimulation {
2422
py::dict solve(py::dict macro_write_data, double dt);
2523

2624
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;
3427
// Hardcoding mechanical models because these definitions need information from the input file.
3528
Matmodel<3> *matmodel;
3629
Solver<3> *solver;

0 commit comments

Comments
 (0)