diff --git a/.github/workflows/test_pyfans.yaml b/.github/workflows/test_pyfans.yaml index 2d7c632..9fb7c5f 100644 --- a/.github/workflows/test_pyfans.yaml +++ b/.github/workflows/test_pyfans.yaml @@ -31,7 +31,7 @@ jobs: cmake .. -DFANS_LIBRARY_FOR_MICRO_MANAGER=ON make - - name: Run micro_mesh.py + - name: Run FANS as a library via a Python script run: | cd test/test_pyfans python3 run_fans_as_library.py diff --git a/pyfans/micro.hpp b/pyfans/micro.hpp index cd14feb..80a292f 100644 --- a/pyfans/micro.hpp +++ b/pyfans/micro.hpp @@ -13,8 +13,6 @@ #include "general.h" #include "matmodel.h" #include "solver.h" -#include "solverFP.h" -#include "solverCG.h" namespace py = pybind11; @@ -24,13 +22,8 @@ class MicroSimulation { py::dict solve(py::dict macro_write_data, double dt); private: - int _sim_id; - std::vector g0; - double _state; - char *input_temp_path; - char *in_place_temp_path; - char *out_temp_path; - Reader reader; + int _sim_id; + Reader reader; // Hardcoding mechanical models because these definitions need information from the input file. Matmodel<3> *matmodel; Solver<3> *solver;