mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
Merge commit 'e904f5b730e622046aedacf704a6e888654c7517'
This commit is contained in:
commit
c03b987cf4
@ -3072,7 +3072,7 @@ diffuse_implicit(LDBLE DDt, int stagnant)
|
||||
}
|
||||
|
||||
// reduce oscillations in the column-boundary cells, but not for H and O, and current_A is not adjusted...
|
||||
if (icell == il1 - incr && dV_dcell * ct[0].m_s[cp].charge < 0 && strcmp(ct[0].m_s[cp].name, "H") && strcmp(ct[0].m_s[cp].name, "O") && c > 3 && mixrun > 1)
|
||||
if (icell == il1 - incr && ct[0].m_s != NULL && dV_dcell * ct[0].m_s[cp].charge < 0 && strcmp(ct[0].m_s[cp].name, "H") && strcmp(ct[0].m_s[cp].name, "O") && c > 3 && mixrun > 1)
|
||||
{
|
||||
dummy = Utilities::Rxn_find(Rxn_solution_map, 0)->Get_totals()[ct[0].m_s[cp].name] / ct[0].kgw * (1 - ct[0].dl_s);
|
||||
if (dummy > 1e-6)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user