30 #define PROGRAM_NAME "ISLEC" // program name 31 #define PROGRAM_COMMAND "islec" // command name 32 #define PROGRAM_SITE "http://www.islec.net" // program website 33 #define COPYRIGHT "2011-2018" // copyright year 34 #define AUTHOR "Dongdong Li" // author 35 #define AUTHOR_EMAIL "ddong_li@hotmail.com" // author email 39 #define TEMP_FILE "temp.db" 47 #define WATER_SYMBOL "H2O(aq)" 79 char species_symbol[64];
82 double thermo_coeff[7];
224 extern bool load_db (
char *input,
char *temp);
double rkg_a(SOLIDSOLUTION_PHASE ss, int index, double *n, double T, double P)
struct SOLID_PHASE SOLID_PHASE
int solidsolution_phase_num
struct NIITERPARAM NIITERPARAM
struct AQUEOUS_PHASE AQUEOUS_PHASE
IIBINPARAM * ii_bin_params
struct IIITERPARAM IIITERPARAM
struct IIBINPARAM IIBINPARAM
struct NNBINPARAM NNBINPARAM
double * total_components
double psc_a(AQUEOUS_PHASE aq, int index, double *n, double T, double P)
SPECIES * aqueous_species
struct GAS_PHASE GAS_PHASE
NNBINPARAM * nn_bin_params
double psc_r(AQUEOUS_PHASE aq, int index, double *n, double T, double P)
char BLOCK_KEYWORDS[2][64]
NIITERPARAM * nii_ter_params
SOLIDSOLUTION_PHASE * solidsolution
struct NNIIQUAPARAM NNIIQUAPARAM
bool load_db(char *input, char *temp)
char PHASE_KEYWORDS[4][64]
IIITERPARAM * iii_ter_params
NNIIQUAPARAM * nnii_qua_params
int gem_ipopt()
Perform Gibbs energy minimization (GEM) using the IPOPT algrithium.
struct NIIIQUAPARAM NIIIQUAPARAM
NIIIQUAPARAM * niii_qua_params
struct SOLIDSOLUTION_PHASE SOLIDSOLUTION_PHASE
struct SUBRPARAM SUBRPARAM
SPECIES * solidsolution_species