mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Made pressurs a synonym of total_p in gas_phase_modify.
git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@4011 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
7b777201e2
commit
5e23f440df
@ -273,6 +273,7 @@ cxxGasPhase::read_raw(PHREEQC_PTR_ARG_COMMA CParser & parser, bool check)
|
||||
vopts.push_back("total_p"); //1
|
||||
vopts.push_back("volume"); //2
|
||||
vopts.push_back("component"); //3
|
||||
vopts.push_back("pressure"); //4
|
||||
}
|
||||
|
||||
std::istream::pos_type ptr;
|
||||
@ -337,6 +338,7 @@ cxxGasPhase::read_raw(PHREEQC_PTR_ARG_COMMA CParser & parser, bool check)
|
||||
break;
|
||||
|
||||
case 1: // total_p
|
||||
case 4: // pressure
|
||||
if (!(parser.get_iss() >> this->total_p))
|
||||
{
|
||||
this->total_p = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user