mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
Fixes for dumped no_edl SURFACE.
and EDL("charge", "xx") for no_edl SURFACE.
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8875 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
cf02876f87
commit
76bd0c2908
@ -490,7 +490,7 @@ diff_layer_total(const char *total_name, const char *surface_name)
|
||||
Utilities::replace("_", " ", token);
|
||||
std::string::iterator b = token.begin();
|
||||
std::string::iterator e = token.end();
|
||||
CParser::copy_token(token, b, e);
|
||||
CParser::copy_token(name, b, e);
|
||||
}
|
||||
if (surface_name != NULL)
|
||||
{
|
||||
|
||||
5
tidy.cpp
5
tidy.cpp
@ -3900,7 +3900,10 @@ tidy_min_surface(void)
|
||||
}
|
||||
|
||||
/* area */
|
||||
surface_charge_ptr->Set_grams(jit->second.Get_moles());
|
||||
if (surface_charge_ptr)
|
||||
{
|
||||
surface_charge_ptr->Set_grams(jit->second.Get_moles());
|
||||
}
|
||||
/*
|
||||
* make sure surface elements are in phase
|
||||
* logically necessary for mass balance and to avoid negative concentrations when dissolving phase
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user