mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make computeCellState() a const method.
This commit is contained in:
parent
31f74cc476
commit
e9e4416428
@ -460,7 +460,7 @@ namespace Opm {
|
|||||||
|
|
||||||
|
|
||||||
template <typename Scalar>
|
template <typename Scalar>
|
||||||
void computeCellState(const int cell, const State& state, CellState<Scalar>& cstate)
|
void computeCellState(const int cell, const State& state, CellState<Scalar>& cstate) const
|
||||||
{
|
{
|
||||||
assert(numPhases() == 3); // I apologize for this to my future self, that will have to fix it.
|
assert(numPhases() == 3); // I apologize for this to my future self, that will have to fix it.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user