Commit 5a0a8a1a authored by Timo Koch's avatar Timo Koch
Browse files

Return perm by reference from volvars

for all ported models (1p, 1p2c, 2p, 2p2c, 2pnc, richards)
parent a0893a3c
......@@ -171,7 +171,7 @@ public:
/*!
* \brief Returns the permeability within the control volume in \f$[m^2]\f$.
*/
PermeabilityType permeability() const
const PermeabilityType& permeability() const
{ return permeability_; }
/*!
......
......@@ -276,7 +276,7 @@ public:
/*!
* \brief Returns the permeability within the control volume in \f$[m^2]\f$.
*/
PermeabilityType permeability() const
const PermeabilityType& permeability() const
{ return permeability_; }
protected:
......
......@@ -239,7 +239,7 @@ public:
/*!
* \brief Returns the permeability within the control volume in \f$[m^2]\f$.
*/
PermeabilityType permeability() const
const PermeabilityType& permeability() const
{ return permeability_; }
protected:
......
......@@ -559,7 +559,7 @@ public:
/*!
* \brief Returns the average permeability within the control volume in \f$[m^2]\f$.
*/
PermeabilityType permeability() const
const PermeabilityType& permeability() const
{ return permeability_; }
/*!
......
......@@ -452,7 +452,7 @@ public:
/*!
* \brief Returns the permeability within the control volume.
*/
PermeabilityType permeability() const
const PermeabilityType& permeability() const
{ return permeability_; }
......
......@@ -156,7 +156,7 @@ public:
/*!
* \brief Returns the permeability within the control volume in \f$[m^2]\f$.
*/
PermeabilityType permeability() const
const PermeabilityType& permeability() const
{ return permeability_; }
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment