mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-06 03:45:02 -05:00
Remove R_u_ratio, not needed in this function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -2344,12 +2344,7 @@ void HelmholtzEOSMixtureBackend::calc_all_alphar_deriv_cache(const std::vector<l
|
||||
for (std::size_t i = 0; i < N; ++i){
|
||||
HelmholtzDerivatives derivs = components[i]->pEOS->alphar.all(tau, delta);
|
||||
long double xi = mole_fractions[i];
|
||||
long double R_u_ratio;
|
||||
if (get_config_bool(NORMALIZE_GAS_CONSTANTS)){
|
||||
R_u_ratio = components[0]->pEOS->R_u/R_u_CODATA;
|
||||
}else{
|
||||
R_u_ratio = 1;
|
||||
}
|
||||
|
||||
summer_base += xi*derivs.alphar;
|
||||
summer_dDelta += xi*derivs.dalphar_ddelta;
|
||||
summer_dTau += xi*derivs.dalphar_dtau;
|
||||
|
||||
Reference in New Issue
Block a user