diff options
author | brenda-br | 2023-03-02 15:49:11 +0530 |
---|---|---|
committer | brenda-br | 2023-03-02 15:49:11 +0530 |
commit | 7af3526e105cc330422f8742ec5edec1c4a0a98f (patch) | |
tree | c00e283eaa3f67c64f66c828f518bb74abe55752 /Simulator/Flowsheet_functions.h | |
parent | 78624489cbff516cc4d15b0df738c6c2fe4f8a8d (diff) | |
download | Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.tar.gz Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.tar.bz2 Chemical-Simulator-GUI-7af3526e105cc330422f8742ec5edec1c4a0a98f.zip |
Restructuring Finalized for App Bundling
Diffstat (limited to 'Simulator/Flowsheet_functions.h')
-rw-r--r-- | Simulator/Flowsheet_functions.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Simulator/Flowsheet_functions.h b/Simulator/Flowsheet_functions.h new file mode 100644 index 0000000..bde8163 --- /dev/null +++ b/Simulator/Flowsheet_functions.h @@ -0,0 +1,76 @@ +#ifndef Flowsheet__H +#define Flowsheet__H +#include "meta/meta_modelica.h" +#include "util/modelica.h" +#include <stdio.h> +#include <stdlib.h> +#include <errno.h> + +#include "simulation/simulation_runtime.h" +#ifdef __cplusplus +extern "C" { +#endif + + +DLLExport +modelica_real omc_Simulator_Files_ThermodynamicFunctions_HLiqId(threadData_t *threadData, modelica_real _SH, real_array _VapCp, real_array _HOV, modelica_real _Tc, modelica_real _T); +DLLExport +modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_HLiqId(threadData_t *threadData, modelica_metatype _SH, modelica_metatype _VapCp, modelica_metatype _HOV, modelica_metatype _Tc, modelica_metatype _T); +static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HLiqId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_HLiqId,0}}; +#define boxvar_Simulator_Files_ThermodynamicFunctions_HLiqId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HLiqId) + + +DLLExport +modelica_real omc_Simulator_Files_ThermodynamicFunctions_HV(threadData_t *threadData, real_array _HOV, modelica_real _Tc, modelica_real _T); +DLLExport +modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_HV(threadData_t *threadData, modelica_metatype _HOV, modelica_metatype _Tc, modelica_metatype _T); +static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HV,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_HV,0}}; +#define boxvar_Simulator_Files_ThermodynamicFunctions_HV MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HV) + + +DLLExport +modelica_real omc_Simulator_Files_ThermodynamicFunctions_HVapId(threadData_t *threadData, modelica_real _SH, real_array _VapCp, real_array _HOV, modelica_real _Tc, modelica_real _T); +DLLExport +modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_HVapId(threadData_t *threadData, modelica_metatype _SH, modelica_metatype _VapCp, modelica_metatype _HOV, modelica_metatype _Tc, modelica_metatype _T); +static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HVapId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_HVapId,0}}; +#define boxvar_Simulator_Files_ThermodynamicFunctions_HVapId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_HVapId) + + +DLLExport +modelica_real omc_Simulator_Files_ThermodynamicFunctions_LiqCpId(threadData_t *threadData, real_array _LiqCp, modelica_real _T); +DLLExport +modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_LiqCpId(threadData_t *threadData, modelica_metatype _LiqCp, modelica_metatype _T); +static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_LiqCpId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_LiqCpId,0}}; +#define boxvar_Simulator_Files_ThermodynamicFunctions_LiqCpId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_LiqCpId) + + +DLLExport +modelica_real omc_Simulator_Files_ThermodynamicFunctions_Psat(threadData_t *threadData, real_array _VP, modelica_real _T); +DLLExport +modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_Psat(threadData_t *threadData, modelica_metatype _VP, modelica_metatype _T); +static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_Psat,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_Psat,0}}; +#define boxvar_Simulator_Files_ThermodynamicFunctions_Psat MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_Psat) + + +DLLExport +modelica_real omc_Simulator_Files_ThermodynamicFunctions_SId(threadData_t *threadData, real_array _VapCp, real_array _HOV, modelica_real _Tb, modelica_real _Tc, modelica_real _T, modelica_real _P, modelica_real _xliq, modelica_real _xvap, modelica_real *out_Svap); +DLLExport +modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_SId(threadData_t *threadData, modelica_metatype _VapCp, modelica_metatype _HOV, modelica_metatype _Tb, modelica_metatype _Tc, modelica_metatype _T, modelica_metatype _P, modelica_metatype _xliq, modelica_metatype _xvap, modelica_metatype *out_Svap); +static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_SId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_SId,0}}; +#define boxvar_Simulator_Files_ThermodynamicFunctions_SId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_SId) + + +DLLExport +modelica_real omc_Simulator_Files_ThermodynamicFunctions_VapCpId(threadData_t *threadData, real_array _VapCp, modelica_real _T); +DLLExport +modelica_metatype boxptr_Simulator_Files_ThermodynamicFunctions_VapCpId(threadData_t *threadData, modelica_metatype _VapCp, modelica_metatype _T); +static const MMC_DEFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_VapCpId,2,0) {(void*) boxptr_Simulator_Files_ThermodynamicFunctions_VapCpId,0}}; +#define boxvar_Simulator_Files_ThermodynamicFunctions_VapCpId MMC_REFSTRUCTLIT(boxvar_lit_Simulator_Files_ThermodynamicFunctions_VapCpId) +#include "Flowsheet_model.h" + + +#ifdef __cplusplus +} +#endif +#endif + |