mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: pass by reference as intended
This commit is contained in:
@@ -197,7 +197,7 @@ namespace Opm
|
||||
mu_w_eff = 1./mu_w_eff;
|
||||
}
|
||||
|
||||
void PolymerProperties::effectiveViscWithDer(const double c, const double mu_w, double& mu_w_eff, double dmu_w_eff_dc) const {
|
||||
void PolymerProperties::effectiveViscWithDer(const double c, const double mu_w, double& mu_w_eff, double& dmu_w_eff_dc) const {
|
||||
effectiveInvViscWithDer(c, mu_w, mu_w_eff, dmu_w_eff_dc);
|
||||
mu_w_eff = 1./mu_w_eff;
|
||||
dmu_w_eff_dc = -dmu_w_eff_dc*mu_w_eff*mu_w_eff;
|
||||
|
||||
@@ -283,7 +283,7 @@ namespace Opm
|
||||
|
||||
void effectiveViscWithDer(const double c, const double visc
|
||||
, double& mu_w_eff
|
||||
, double dmu_w_eff_dc) const;
|
||||
, double& dmu_w_eff_dc) const;
|
||||
|
||||
void effectiveInvVisc(const double c, const double mu_w,
|
||||
double& inv_mu_w_eff) const;
|
||||
|
||||
Reference in New Issue
Block a user