[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:
Markus Blatt 2015-03-02 11:04:54 +01:00
parent e1c9eea997
commit aaf82d2a65

View File

@ -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>