mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: disable mutable access to primary variables
This commit is contained in:
parent
c464bceb3b
commit
1e1f6f5b50
@ -449,14 +449,6 @@ public:
|
||||
* \param timeIdx The index of the solution vector used by the
|
||||
* time discretization.
|
||||
*/
|
||||
PrimaryVariables& primaryVars(unsigned dofIdx, unsigned timeIdx)
|
||||
{
|
||||
assert(dofIdx < numDof(timeIdx));
|
||||
return dofVars_[dofIdx].priVars[timeIdx];
|
||||
}
|
||||
/*!
|
||||
* \copydoc primaryVars()
|
||||
*/
|
||||
const PrimaryVariables& primaryVars(unsigned dofIdx, unsigned timeIdx) const
|
||||
{
|
||||
assert(dofIdx < numDof(timeIdx));
|
||||
|
Loading…
Reference in New Issue
Block a user