mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
fixed bug in reprep when sit had surface species. Added capability of sit + edl, have not tested it
This commit is contained in:
parent
79956e3d9f
commit
2212f9ccb1
@ -1398,6 +1398,7 @@ protected:
|
||||
*---------------------------------------------------------------------- */
|
||||
std::vector<class unknown*> x;
|
||||
size_t count_unknowns;
|
||||
size_t sit_aqueous_unknowns;
|
||||
size_t max_unknowns;
|
||||
|
||||
class unknown* ah2o_unknown;
|
||||
|
||||
4
prep.cpp
4
prep.cpp
@ -1240,8 +1240,7 @@ build_model(void)
|
||||
}
|
||||
if (dl_type_x != cxxSurface::NO_DL && (/*pitzer_model == TRUE || */sit_model == TRUE)) //DL_pitz
|
||||
{
|
||||
error_msg("-diffuse_layer option not available for Pizer or SIT model",
|
||||
STOP);
|
||||
warning_msg("-diffuse_layer option not tested for SIT model");
|
||||
}
|
||||
/*
|
||||
* Sum diffuse layer water into hydrogen and oxygen mass balances
|
||||
@ -1285,6 +1284,7 @@ build_model(void)
|
||||
k++;
|
||||
count_unknowns++;
|
||||
}
|
||||
sit_aqueous_unknowns = count_unknowns - j0;
|
||||
}
|
||||
/*
|
||||
* Rewrite phases to current master species
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user