00001 00011 #include <DSimEngine2/DSimEngine2.h> 00012 00013 #ifndef PH_PROCESS 00014 #define PH_PROCESS 00015 00017 00033 class ph_process : public dsim_model 00034 { 00035 public: 00036 ph_process(dsim_model_setup *setup); 00037 ~ph_process(); 00038 void initialize_data(); 00039 void initialization_complete(); 00040 void initialize_timestep(); 00041 void rhs(double t,double jd); 00042 void complete_timestep(); 00043 00044 protected: 00046 dsim_variable wA1_dsim; 00048 dsim_variable wA2_dsim ; 00050 dsim_variable wA3_dsim; 00052 dsim_variable wB1_dsim; 00054 dsim_variable wB2_dsim; 00056 dsim_variable wB3_dsim; 00058 dsim_variable a_dsim; 00060 dsim_variable cV_dsim; 00062 dsim_variable n_dsim; 00064 dsim_variable z_dsim; 00066 dsim_variable q1_dsim; 00068 dsim_variable q2_dsim; 00070 dsim_variable q3_dsim; 00072 dsim_variable wA4_dsim; 00074 dsim_variable wB4_dsim; 00076 dsim_variable h_dsim; 00077 00078 private: 00079 }; 00080 #endif