74 lines
3.1 KiB
C
Executable file
74 lines
3.1 KiB
C
Executable file
#ifndef CTC_REACTOR_H
|
|
#define CTC_REACTOR_H
|
|
|
|
#include "clib_defs.h"
|
|
|
|
extern "C" {
|
|
|
|
int DLL_IMPORT reactor_new(int type);
|
|
int DLL_IMPORT reactor_del(int i);
|
|
int DLL_IMPORT reactor_copy(int i);
|
|
int DLL_IMPORT reactor_assign(int i, int j);
|
|
int DLL_IMPORT reactor_setInitialVolume(int i, double v);
|
|
int DLL_IMPORT reactor_setInitialTime(int i, double t);
|
|
int DLL_IMPORT reactor_setEnergy(int i, int eflag);
|
|
int DLL_IMPORT reactor_setThermoMgr(int i, int n);
|
|
int DLL_IMPORT reactor_setKineticsMgr(int i, int n);
|
|
int DLL_IMPORT reactor_advance(int i, double t);
|
|
double DLL_IMPORT reactor_step(int i, double t);
|
|
double DLL_IMPORT reactor_time(int i);
|
|
double DLL_IMPORT reactor_mass(int i);
|
|
double DLL_IMPORT reactor_volume(int i);
|
|
double DLL_IMPORT reactor_density(int i);
|
|
double DLL_IMPORT reactor_temperature(int i);
|
|
double DLL_IMPORT reactor_enthalpy_mass(int i);
|
|
double DLL_IMPORT reactor_intEnergy_mass(int i);
|
|
double DLL_IMPORT reactor_pressure(int i);
|
|
double DLL_IMPORT reactor_massFraction(int i, int k);
|
|
|
|
//int DLL_IMPORT reactor_setArea(int i, double a);
|
|
//int DLL_IMPORT reactor_setExtTemp(int i, double t);
|
|
//int DLL_IMPORT reactor_setExtRadTemp(int i, double t);
|
|
//int DLL_IMPORT reactor_setVDotCoeff(int i, double v);
|
|
//int DLL_IMPORT reactor_setHeatTransferCoeff(int i, double h);
|
|
//int DLL_IMPORT reactor_setEmissivity(int i, double eps);
|
|
//int DLL_IMPORT reactor_setExtPressure(int i, double p);
|
|
//int DLL_IMPORT reactor_setEnergy(int i, int eflag);
|
|
|
|
int DLL_IMPORT flowdev_new(int type);
|
|
int DLL_IMPORT flowdev_del(int i);
|
|
//int DLL_IMPORT flowdev_copy(int i);
|
|
//int DLL_IMPORT flowdev_assign(int i, int j);
|
|
int DLL_IMPORT flowdev_install(int i, int n, int m);
|
|
double DLL_IMPORT flowdev_massFlowRate(int i);
|
|
double DLL_IMPORT flowdev_setpoint(int i);
|
|
int DLL_IMPORT flowdev_setSetpoint(int i, double v);
|
|
//int DLL_IMPORT flowdev_setGains(int i, int n, double* gains);
|
|
//int DLL_IMPORT flowdev_getGains(int i, int n, double* gains);
|
|
int DLL_IMPORT flowdev_setParameters(int i, int n, double* v);
|
|
int DLL_IMPORT flowdev_setFunction(int i, int n);
|
|
//int DLL_IMPORT flowdev_reset(int i);
|
|
//int DLL_IMPORT flowdev_update(int i);
|
|
//double DLL_IMPORT flowdev_maxError(int i);
|
|
int DLL_IMPORT flowdev_ready(int i);
|
|
|
|
int DLL_IMPORT wall_new(int type);
|
|
int DLL_IMPORT wall_del(int i);
|
|
int DLL_IMPORT wall_copy(int i);
|
|
int DLL_IMPORT wall_assign(int i, int j);
|
|
int DLL_IMPORT wall_install(int i, int n, int m);
|
|
int DLL_IMPORT wall_setkinetics(int i, int n, int m);
|
|
double DLL_IMPORT wall_vdot(int i, double t);
|
|
double DLL_IMPORT wall_Q(int i, double t);
|
|
double DLL_IMPORT wall_area(int i);
|
|
int DLL_IMPORT wall_setArea(int i, double v);
|
|
int DLL_IMPORT wall_setThermalResistance(int i, double rth);
|
|
int DLL_IMPORT wall_setHeatTransferCoeff(int i, double u);
|
|
int DLL_IMPORT wall_setHeatFlux(int i, int n);
|
|
int DLL_IMPORT wall_setExpansionRateCoeff(int i, double k);
|
|
int DLL_IMPORT wall_setExpansionRate(int i, int n);
|
|
int DLL_IMPORT wall_ready(int i);
|
|
|
|
}
|
|
|
|
#endif
|