Hi Júlio,

The behaviour you observe is quite probably a bug. The WellState class is 
essentially
a struct, and when the wellRates() were added last May as it was needed for the 
fully
implicit simulator we forgot to update it for all the other simulators. This is 
a good argument
for making the state classes less struct-like and with a more well-defined and 
strict API.

For now, the workaround is to simply ignore this field for the two-phase 
simulators.
Please post an issue to the opm-core github repo about this, and we will try to 
fix it
when we do the next release. Or even better, if you are able to implement a fix 
you
can do so in your own github clone, open a pull request, and we’ll merge it.

Atgeirr


23. feb. 2014 kl. 14:34 skrev Júlio Hoffimann <[email protected]>:

> Sorry, the indexing is not correct for the second case, it should be odd/even 
> slicing.
> 
> Anyways, It should print non-zero somewhere.
> 
> Sincerely,
> Júlio.
> _______________________________________________
> Opm mailing list
> [email protected]
> http://www.opm-project.org/mailman/listinfo/opm


_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to