mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[bugfix] read only from the sendState in BlackoilStateDataHandle.
During BlackoilStateDataHandle::gather we did read values from the state where we should only receive values to. With this commit we read from the state where we should send values. Kudos to Bard for noticing this.
This commit is contained in:
parent
e1c9eea997
commit
aaf82d2a65
@ -81,7 +81,7 @@ public:
|
||||
}
|
||||
for ( int i=0; i<sendGrid_.numCellFaces(e.index()); ++i )
|
||||
{
|
||||
buffer.write(recvState_.faceflux()[sendGrid_.cellFace(e.index(), i)]);
|
||||
buffer.write(sendState_.faceflux()[sendGrid_.cellFace(e.index(), i)]);
|
||||
}
|
||||
}
|
||||
template<class B, class T>
|
||||
|
Loading…
Reference in New Issue
Block a user