mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
Need to set new_def to trap error with surface related to rate.
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@10634 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
dec66bb848
commit
8f51d9279b
2
prep.cpp
2
prep.cpp
@ -6151,6 +6151,8 @@ check_same_model(void)
|
||||
(kinetics_ptr->Find(use.Get_surface_ptr()->Get_surface_comps()[i].Get_rate_name()) == NULL))
|
||||
{
|
||||
Rxn_new_surface.insert(use.Get_n_surface_user());
|
||||
cxxSurface *surf_ptr = Utilities::Rxn_find(Rxn_surface_map, use.Get_n_surface_user());
|
||||
surf_ptr->Set_new_def(true);
|
||||
this->tidy_kin_surface();
|
||||
return (FALSE);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user