Skip to content

Commit

Permalink
Merge branch 'Peng-Robinson' of https://github.com/gkogekar/cantera i…
Browse files Browse the repository at this point in the history
…nto Peng-Robinson
  • Loading branch information
gkogekar committed Mar 26, 2021
2 parents 89bc3d6 + ff98d49 commit d1578cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/cantera/thermo/PengRobinson.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PengRobinson : public MixtureFugacityTP
* first phase definition in the input file will be used.
*/
explicit PengRobinson(const std::string& infile="",
const std::string& id="");
const std::string& id="");

virtual std::string type() const {
return "PengRobinson";
Expand Down Expand Up @@ -246,7 +246,7 @@ class PengRobinson : public MixtureFugacityTP
protected:
//! Value of b in the equation of state
/*!
* m_b is a function the mole fractions and species-specific b values.
* m_b is a function of the mole fractions and species-specific b values.
*/
double m_b;

Expand Down
2 changes: 1 addition & 1 deletion src/thermo/MixtureFugacityTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ void MixtureFugacityTP::_updateReferenceStateThermo() const
doublereal pref = refPressure();
if (pref <= 0.0) {
throw CanteraError("MixtureFugacityTP::_updateReferenceStateThermo",
"neg ref pressure");
"negative reference pressure");
}
}
}
Expand Down

0 comments on commit d1578cd

Please sign in to comment.