mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
allow Fe(+3), equivalent to Fe(3), in TOT and TOTMOL. Previously fixed in SELECTED_OUTPUT -total
This commit is contained in:
parent
bea0ad10a0
commit
4aefb0660a
@ -2456,7 +2456,9 @@ total(const char *total_name)
|
||||
{
|
||||
return (total_o_x / mass_water_aq_x);
|
||||
}
|
||||
master_ptr = master_bsearch(total_name);
|
||||
std::string noplus = total_name;
|
||||
replace(noplus, "+", "");
|
||||
master_ptr = master_bsearch(noplus.c_str());
|
||||
t = 0.0;
|
||||
if (master_ptr == NULL)
|
||||
{
|
||||
@ -2525,7 +2527,9 @@ total_mole(const char *total_name)
|
||||
{
|
||||
return (total_o_x);
|
||||
}
|
||||
master_ptr = master_bsearch(total_name);
|
||||
std::string noplus = total_name;
|
||||
replace(noplus, "+", "");
|
||||
master_ptr = master_bsearch(noplus.c_str());
|
||||
t = 0.0;
|
||||
if (master_ptr == NULL)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user