Skip to content

Commit

Permalink
Merge commit '49101ba7c4df56e8a71a580adb590bee2844524b'
Browse files Browse the repository at this point in the history
  • Loading branch information
Darth Vader committed Feb 18, 2025
2 parents 72b362e + 49101ba commit b4f10dc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/IPhreeqcPhast/IPhreeqc/phreeqcpp/GasComp.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
// Allow return to Exchange for more processing
break;

case 0: // phase_name
case 7: // phase_name
output_msg("-phase_name is obsolete. Define with -component\n");
break;

Expand Down Expand Up @@ -138,7 +138,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
}
break;

case 5: // p
case 0: // p
if (!(parser.get_iss() >> this->p))
{
this->p = 0;
Expand All @@ -148,7 +148,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
}
break;

case 6: // phi
case 5: // phi
if (!(parser.get_iss() >> this->phi))
{
this->phi = 0;
Expand All @@ -158,7 +158,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
}
break;

case 7: // f
case 6: // f
if (!(parser.get_iss() >> this->f))
{
this->f = 0;
Expand Down Expand Up @@ -253,13 +253,13 @@ cxxGasComp::Deserialize(Dictionary & dictionary, std::vector < int >&ints,
}

const std::vector< std::string >::value_type temp_vopts[] = {
std::vector< std::string >::value_type("phase_name"), // 0
std::vector< std::string >::value_type("p"), // 0
std::vector< std::string >::value_type("name"), // 1
std::vector< std::string >::value_type("p_read"), // 2
std::vector< std::string >::value_type("moles"), // 3
std::vector< std::string >::value_type("initial_moles"), // 4
std::vector< std::string >::value_type("p"), // 5
std::vector< std::string >::value_type("phi"), // 6
std::vector< std::string >::value_type("f") // 7
std::vector< std::string >::value_type("phi"), // 5
std::vector< std::string >::value_type("f"), // 6
std::vector< std::string >::value_type("phase_name") // 7
};
const std::vector< std::string > cxxGasComp::vopts(temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0]);

0 comments on commit b4f10dc

Please sign in to comment.