mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
Error in sys("equi",...).
Returned the values from the phases structure rather than from the unknown structure. So, the value from the beginning of the simulation was given rather than the reacted amount. git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@12204 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
52ea727147
commit
9a6ec5b140
@ -3246,7 +3246,8 @@ system_total_equi(void)
|
||||
int l;
|
||||
struct phase *phase_ptr = phase_bsearch(comp_ptr->Get_name().c_str(), &l, FALSE);
|
||||
sys[count_sys].name = string_duplicate(phase_ptr->name);
|
||||
sys[count_sys].moles = comp_ptr->Get_moles();
|
||||
//sys[count_sys].moles = comp_ptr->Get_moles();
|
||||
sys[count_sys].moles = equi_phase(sys[count_sys].name);
|
||||
sys_tot += sys[count_sys].moles;
|
||||
sys[count_sys].type = string_duplicate("equi");
|
||||
count_sys++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user