|
1 | 1 | encapsulated package RuntimeSources |
2 | 2 | constant String fmu_sources_dir = "/@SOURCE_FMU_SOURCES_DIR@"; |
3 | 3 |
|
4 | | - constant list<String> commonFiles={@SOURCE_FMU_COMMON_FILES@}; |
| 4 | + constant list<String> simrt_c_sources={@SOURCE_FMU_COMMON_FILES@}; |
5 | 5 |
|
6 | | - constant list<String> commonHeaders={@SOURCE_FMU_COMMON_HEADERS@}; |
| 6 | + constant list<String> simrt_c_headers={@SOURCE_FMU_COMMON_HEADERS@}; |
7 | 7 |
|
8 | 8 | constant list<String> fmi1Files={"fmi-export/fmu1_model_interface.c.inc","fmi-export/fmu1_model_interface.h"}; |
9 | 9 | constant list<String> fmi2Files={"fmi-export/fmu2_model_interface.c.inc","fmi-export/fmu2_model_interface.h", "fmi-export/fmu_read_flags.c.inc", "fmi-export/fmu_read_flags.h"}; |
10 | 10 |
|
11 | 11 | constant list<String> defaultFileSuffixes={".c", "_functions.c", "_records.c", "_01exo.c", "_02nls.c", "_03lsy.c", "_04set.c", "_05evt.c", "_06inz.c", "_07dly.c", "_08bnd.c", "_09alg.c", "_10asr.c", "_11mix.c", "_12jac.c", "_13opt.c", "_14lnz.c", "_15syn.c", "_16dae.c", "_17inl.c", "_18spd.c", "_init_fmu.c", "_FMU.c"}; |
12 | 12 |
|
13 | | - constant list<String> cvodeFiles={"sundials/cvode/cvode_ls.h", |
14 | | - "sundials/cvode/cvode_proj.h", |
15 | | - "sundials/cvode/cvode.h"}; |
16 | 13 |
|
17 | | - constant list<String> sundialsFiles={"sundials/sundials/sundials_config.h", |
18 | | - "sundials/sundials/sundials_dense.h", |
19 | | - "sundials/sundials/sundials_direct.h", |
20 | | - "sundials/sundials/sundials_iterative.h", |
21 | | - "sundials/sundials/sundials_linearsolver.h", |
22 | | - "sundials/sundials/sundials_matrix.h", |
23 | | - "sundials/sundials/sundials_nonlinearsolver.h", |
24 | | - "sundials/sundials/sundials_types.h", |
25 | | - "sundials/sunlinsol/sunlinsol_dense.h", |
26 | | - "sundials/sunmatrix/sunmatrix_dense.h", |
27 | | - "sundials/sunnonlinsol/sunnonlinsol_fixedpoint.h"}; |
| 14 | + constant list<String> sundials_headers={"../../cvode/cvode_ls.h", |
| 15 | + "../../cvode/cvode_proj.h", |
| 16 | + "../../cvode/cvode.h", |
| 17 | + "../../sundials/sundials_config.h", |
| 18 | + "../../sundials/sundials_dense.h", |
| 19 | + "../../sundials/sundials_direct.h", |
| 20 | + "../../sundials/sundials_iterative.h", |
| 21 | + "../../sundials/sundials_linearsolver.h", |
| 22 | + "../../sundials/sundials_matrix.h", |
| 23 | + "../../sundials/sundials_nonlinearsolver.h", |
| 24 | + "../../sundials/sundials_types.h", |
| 25 | + "../../sunlinsol/sunlinsol_dense.h", |
| 26 | + "../../sunmatrix/sunmatrix_dense.h", |
| 27 | + "../../sunnonlinsol/sunnonlinsol_fixedpoint.h", |
| 28 | + "../../nvector/nvector_serial.h", |
| 29 | + "../../sundials/sundials_nvector.h"}; |
28 | 30 |
|
29 | | - constant list<String> nvectorFiles={"sundials/nvector/nvector_serial.h", |
30 | | - "sundials/sundials/sundials_nvector.h"}; |
| 31 | + constant list<String> simrt_c_sundials_sources={@SOURCE_FMU_CVODE_RUNTIME_FILES@}; |
31 | 32 |
|
32 | | - constant list<String> external3rdPartyFiles=listAppend(listAppend(cvodeFiles,sundialsFiles), nvectorFiles); |
| 33 | + constant list<String> dgesv_headers={"./external_solvers/blaswrap.h", "./external_solvers/clapack.h", "./external_solvers/f2c.h"}; |
33 | 34 |
|
34 | | - constant list<String> dgesvFiles={@SOURCE_FMU_DGESV_FILES@}; |
| 35 | + constant list<String> dgesv_sources={@SOURCE_FMU_DGESV_FILES@}; |
35 | 36 |
|
36 | | - constant list<String> cvodeRuntimeFiles={"simulation/solver/cvode_solver.c", |
37 | | - "simulation/solver/sundials_error.c"}; |
| 37 | + constant list<String> cminpack_headers = {"./external_solvers/cminpack.h", "./external_solvers/minpack.h"}; |
38 | 38 |
|
39 | | - constant list<String> lsFiles={@SOURCE_FMU_LS_FILES@}; |
| 39 | + constant list<String> cminpack_sources = {@SOURCE_FMU_CMINPACK_FILES@}; |
40 | 40 |
|
41 | | - constant list<String> nlsFiles={@SOURCE_FMU_CMINPACK_FILES@, @SOURCE_FMU_NLS_FILES@}; |
| 41 | + constant list<String> simrt_linear_solver_sources={@SOURCE_FMU_LS_FILES@}; |
42 | 42 |
|
43 | | - constant list<String> mixedFiles={@SOURCE_FMU_MIXED_FILES@}; |
| 43 | + constant list<String> simrt_non_linear_solver_sources={@SOURCE_FMU_NLS_FILES@}; |
| 44 | + |
| 45 | + constant list<String> simrt_mixed_solver_sources={@SOURCE_FMU_MIXED_FILES@}; |
44 | 46 |
|
45 | 47 | annotation(__OpenModelica_Interface="backend"); |
46 | 48 | end RuntimeSources; |
|
0 commit comments