Skip to content
Snippets Groups Projects
Commit 9fbc1db5 authored by Katherina Baber's avatar Katherina Baber
Browse files

added a function residualReference() that returns the residual as

reference


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4397 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 52ef4ca5
No related branches found
No related tags found
No related merge requests found
......@@ -237,6 +237,13 @@ public:
const PrimaryVariables residual(int scvIdx) const
{ return residual_[scvIdx]; }
/*!
* \brief Returns the local residual for a given sub-control
* volume of the element - as a reference!
*/
PrimaryVariables& residualReference(int scvIdx)
{ return residual_[scvIdx]; }
protected:
Implementation &asImp_()
{ return *static_cast<Implementation*>(this); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment