ss_min_function

Function to call solution phase Minimization

SS_ref SS_UPDATE_function(global_variable gv, SS_ref SS_ref_db, bulk_info z_b, char *name)
[source]

Function to update xi and sum_xi during local minimization.

csd_phase_set CP_UPDATE_function(global_variable gv, SS_ref SS_ref_db, csd_phase_set cp, bulk_info z_b)
[source]

Function to update xi and sum_xi for the considered phases list (during the inner loop of the PGE stage). NOTE: When the phase is “liq”, the normalization factor is also updated as it depends on the endmember fractions

global_variable split_cp(global_variable gv, SS_ref *SS_ref_db, csd_phase_set *cp)
[source]

This function ensures that if we drift away from the set of x-eos obtained during levelling, a copy will of the phase will be added to the considered set of phase - Drifting occurs when tilting of the hyperplane moves the x-eos far away from their initial guess - Note that each instance of the phase, initialized during levelling can only be split once

void copy_to_cp(int i, int ph_id, global_variable gv, SS_ref *SS_ref_db, csd_phase_set *cp)
[source]

copy the minimized phase informations to cp structure, if the site fractions are respected

void copy_to_Ppc(int i, int pc_check, int add, int ph_id, global_variable gv, obj_type *SS_objective, SS_ref *SS_ref_db, csd_phase_set *cp)
[source]

add minimized phase to LP PGE pseudocompound list

void ss_min_PGE(global_variable gv, obj_type *SS_objective, bulk_info z_b, SS_ref *SS_ref_db, csd_phase_set *cp)
[source]

Minimization function for PGE

void init_PGE_from_LP(global_variable gv, obj_type *SS_objective, bulk_info z_b, SS_ref *SS_ref_db, csd_phase_set *cp)
[source]

Minimization function for PGE

void ss_min_LP(global_variable gv, obj_type *SS_objective, bulk_info z_b, SS_ref *SS_ref_db, csd_phase_set *cp)
[source]

Minimization function for PGE

global_variable init_ss_db(int EM_database, bulk_info z_b, global_variable gv, SS_ref *SS_ref_db)
[source]

initialize solution phase database