30 #define PROGRAM_NAME "ISLRE" // program name 31 #define PROGRAM_COMMAND "islre" // command name 32 #define PROGRAM_SITE "http://www.islec.net" // program website 33 #define COPYRIGHT "2011-2015" // copyright year 34 #define AUTHOR "Dongdong Li" // author 35 #define AUTHOR_EMAIL "ddong_li@hotmail.com" // author email 39 #define TEMP_FILE "temp.db" 41 #define C1 4.5810 // higher order constants 46 #define WATER_SYMBOL "H2O(aq)" 47 #define H_SYMBOL "H+(aq)" 49 #define AW 1 // water activity 50 #define GA 2 // mean activity coefficient 51 #define SOL 3 // solubilities 78 char species_symbol[64];
81 double thermo_coeff[7];
157 int ii_bin_param_num;
159 int nn_bin_param_num;
161 int nii_ter_param_num;
163 int iii_ter_param_num;
165 int niii_qua_param_num;
167 int nnii_qua_param_num;
180 SPECIES *solidsolution_species;
295 extern bool load_db (
char *input,
char *temp);
struct SOLIDSOLUTION_PHASE SOLIDSOLUTION_PHASE
char PHASE_KEYWORDS[4][64]
double rkg_a(SOLIDSOLUTION_PHASE ss, int index, double *n, double T, double P)
int solidsolution_phase_num
struct GAS_PHASE GAS_PHASE
struct SOLID_PHASE SOLID_PHASE
double psc_a(AQUEOUS_PHASE aq, int index, double *n, double T, double P)
struct NIITERPARAM NIITERPARAM
bool load_db(char *input, char *temp)
char BLOCK_KEYWORDS[2][64]
struct IIBINPARAM IIBINPARAM
double * total_components
struct NNIIQUAPARAM NNIIQUAPARAM
int gem_ipopt()
Perform Gibbs energy minimization (GEM) using the IPOPT algrithium.
struct NIIIQUAPARAM NIIIQUAPARAM
double psc_r(AQUEOUS_PHASE aq, int index, double *n, double T, double P)
struct AQUEOUS_PHASE AQUEOUS_PHASE
struct SUBRPARAM SUBRPARAM
struct IIITERPARAM IIITERPARAM
struct NNBINPARAM NNBINPARAM