mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-23 12:58:03 -05:00
Implement fugacity through low-level interface; closes #699
This commit is contained in:
@@ -431,10 +431,14 @@ double AbstractState::gas_constant(void){
|
||||
if (!_gas_constant) _gas_constant = calc_gas_constant();
|
||||
return _gas_constant;
|
||||
}
|
||||
double AbstractState::fugacity_coefficient(int i){
|
||||
double AbstractState::fugacity_coefficient(std::size_t i){
|
||||
// TODO: Cache the fug. coeff for each component
|
||||
return calc_fugacity_coefficient(i);
|
||||
}
|
||||
double AbstractState::fugacity(std::size_t i){
|
||||
// TODO: Cache the fug. coeff for each component
|
||||
return calc_fugacity(i);
|
||||
}
|
||||
void AbstractState::build_phase_envelope(const std::string &type)
|
||||
{
|
||||
calc_phase_envelope(type);
|
||||
|
||||
Reference in New Issue
Block a user