mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Merge commit '9882e3df3cca85659da2a430ffe240f895cdb272'
This commit is contained in:
commit
fcaf4393f9
@ -1759,7 +1759,7 @@ pr_pressure(const char* phase_name)
|
||||
class phase* phase_ptr_gas = phase_bsearch(gas_comp_ptr->Get_phase_name().c_str(), &j, FALSE);
|
||||
if (phase_ptr == phase_ptr_gas)
|
||||
{
|
||||
if (gas_phase_ptr->Get_pr_in())
|
||||
if (gas_phase_ptr->Get_pr_in() && phase_ptr->moles_x)
|
||||
{
|
||||
return phase_ptr->pr_p;
|
||||
}
|
||||
@ -1807,7 +1807,7 @@ pr_phi(const char* phase_name)
|
||||
class phase* phase_ptr_gas = phase_bsearch(gas_comp_ptr->Get_phase_name().c_str(), &j, FALSE);
|
||||
if (phase_ptr == phase_ptr_gas)
|
||||
{
|
||||
if (gas_phase_ptr->Get_pr_in())
|
||||
if (gas_phase_ptr->Get_pr_in() && phase_ptr->moles_x)
|
||||
return phase_ptr->pr_phi;
|
||||
else
|
||||
return gas_comp_ptr->Get_phi();
|
||||
|
||||
@ -2439,7 +2439,7 @@ read_mean_gammas(void)
|
||||
/* ---------------------------------------------------------------------- */
|
||||
{
|
||||
/*
|
||||
* Reads kinetics data
|
||||
* Reads MEAN_GAMMAS data
|
||||
*
|
||||
* Arguments:
|
||||
* none
|
||||
@ -2540,7 +2540,7 @@ read_mean_gammas(void)
|
||||
break;
|
||||
case OPTION_ERROR:
|
||||
input_error++;
|
||||
error_msg("Unknown input in KINETICS keyword.", CONTINUE);
|
||||
error_msg("Unknown input in MEAN_GAMMAS keyword.", CONTINUE);
|
||||
error_msg(line_save, CONTINUE);
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user