MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / neff

Method neff

src/AbstractState.cpp:728–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

726 return smolar_idealgas() / molar_mass();
727}
728double AbstractState::neff() {
729 const double tau = calc_T_reducing() / _T;
730 const double delta = _rhomolar / calc_rhomolar_reducing();
731 const double Ar01 = delta * dalphar_dDelta();
732 const double Ar11 = tau * delta * d2alphar_dDelta_dTau();
733 const double Ar20 = tau * tau * d2alphar_dTau2();
734 return -3.0 * (Ar01 - Ar11) / Ar20;
735}
736double AbstractState::smolar_excess() {
737 if (!_smolar_excess) calc_excess_properties();
738 return _smolar_excess;

Callers 1

test_neff_finiteFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_neff_finiteFunction · 0.64