mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Merge commit 'b1888bb5d68d0ae9736556acd5702d44448eb492'
This commit is contained in:
commit
01a8b140bc
@ -1056,8 +1056,13 @@ int IPhreeqc::test_db(void)
|
||||
{
|
||||
std::ostringstream oss;
|
||||
int sn = this->PhreeqcPtr->next_user_number(Keywords::KEY_SOLUTION);
|
||||
oss << "SOLUTION " << sn <<"; DELETE; -solution " << sn;
|
||||
|
||||
//oss << "SOLUTION " << sn <<"; DELETE; -solution " << sn;
|
||||
oss << "SOLUTION " << sn << ";";
|
||||
if (this->PhreeqcPtr->llnl_temp.size() > 0)
|
||||
{
|
||||
oss << "-temp " << this->PhreeqcPtr->llnl_temp[0] << ";";
|
||||
}
|
||||
oss << "DELETE; -solution " << sn;
|
||||
this->PhreeqcPtr->set_reading_database(TRUE);
|
||||
int n = this->RunString(oss.str().c_str());
|
||||
this->PhreeqcPtr->set_reading_database(FALSE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user