mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make the member functions return a const reference.
This commit is contained in:
parent
1e41e58ce7
commit
9204434a4d
@ -59,13 +59,13 @@ namespace Opm
|
||||
return ads_index_;
|
||||
}
|
||||
|
||||
std::vector<double>
|
||||
const std::vector<double>&
|
||||
PolymerProperties::shearWaterVelocity() const
|
||||
{
|
||||
return water_vel_vals_;
|
||||
}
|
||||
|
||||
std::vector<double>
|
||||
const std::vector<double>&
|
||||
PolymerProperties::shearVrf() const
|
||||
{
|
||||
return shear_vrf_vals_;
|
||||
|
@ -164,9 +164,9 @@ namespace Opm
|
||||
|
||||
int adsIndex() const;
|
||||
|
||||
std::vector<double> shearWaterVelocity() const;
|
||||
const std::vector<double>& shearWaterVelocity() const;
|
||||
|
||||
std::vector<double> shearVrf() const;
|
||||
const std::vector<double>& shearVrf() const;
|
||||
|
||||
double viscMult(double c) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user