mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-03 08:50:28 -06:00
Fixes copy&paste bugs from resize code movement
This commit is contained in:
parent
c247652188
commit
8dd3794562
@ -209,9 +209,9 @@ public:
|
||||
: sendGrid_(sendGrid), recvGrid_(recvGrid), sendState_(sendState), recvState_(recvState)
|
||||
{
|
||||
// construction does not resize surfacevol and hydroCarbonState. Do it manually.
|
||||
recvState.surfacevol().resize(grid.numCells()*state.numPhases(),
|
||||
recvState.surfacevol().resize(recvGrid.numCells()*sendState.numPhases(),
|
||||
std::numeric_limits<double>::max());
|
||||
recvState.hydroCarbonState().resize(grid.numCells());
|
||||
recvState.hydroCarbonState().resize(recvGrid.numCells());
|
||||
}
|
||||
|
||||
bool fixedsize(int /*dim*/, int /*codim*/)
|
||||
|
Loading…
Reference in New Issue
Block a user