summaryrefslogtreecommitdiff
path: root/src/main/Simulator/Flowsheet_13opt.c
diff options
context:
space:
mode:
authorbrenda-br2023-02-24 13:32:34 +0530
committerbrenda-br2023-02-24 13:32:34 +0530
commitb50743bc2fc56b8c071fa7ccce34698a038a7d3e (patch)
treeb92d12b28dbd00252757cae9c560819fbeeb1dfa /src/main/Simulator/Flowsheet_13opt.c
parent688385aad786326be5d18c25d8f2a62e845d73e0 (diff)
downloadChemical-Simulator-GUI-b50743bc2fc56b8c071fa7ccce34698a038a7d3e.tar.gz
Chemical-Simulator-GUI-b50743bc2fc56b8c071fa7ccce34698a038a7d3e.tar.bz2
Chemical-Simulator-GUI-b50743bc2fc56b8c071fa7ccce34698a038a7d3e.zip
Fix #62 Restructure -3
Diffstat (limited to 'src/main/Simulator/Flowsheet_13opt.c')
-rw-r--r--src/main/Simulator/Flowsheet_13opt.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/main/Simulator/Flowsheet_13opt.c b/src/main/Simulator/Flowsheet_13opt.c
deleted file mode 100644
index e285eeb..0000000
--- a/src/main/Simulator/Flowsheet_13opt.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Optimization */
-#include "Flowsheet_model.h"
-#include "Flowsheet_12jac.h"
-#if defined(__cplusplus)
-extern "C" {
-#endif
-int Flowsheet_mayer(DATA* data, modelica_real** res,short *i) {
- throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
-}
-int Flowsheet_lagrange(DATA* data, modelica_real** res, short * i1, short*i2) {
- throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
-}
-int Flowsheet_pickUpBoundsForInputsInOptimization(DATA* data, modelica_real* min, modelica_real* max, modelica_real*nominal, modelica_boolean *useNominal, char ** name, modelica_real * start, modelica_real * startTimeOpt) {
- throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
-}
-int Flowsheet_setInputData(DATA *data, const modelica_boolean file) {
- throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
-}
-int Flowsheet_getTimeGrid(DATA *data, modelica_integer * nsi, modelica_real**t) {
- throwStreamPrint(NULL, "The model was not compiled with -g=Optimica and the corresponding goal function. The optimization solver cannot be used.");
-}
-#if defined(__cplusplus)
-}
-#endif \ No newline at end of file