[Opm] parser - faults extract data data

Joakim Hove joakim.hove at gmail.com
Thu Jul 28 16:31:04 UTC 2016


The 'g' is a global cell index yes.

I said untested because I had not compiled the code in the email.

I consider Faults in the parser to be complete, and it is certainly used.

Joakim
28. juli 2016 18:28 skrev "Paolo Orsini" <paolo.orsini at gmail.com> følgende:

> and "g" is the cell global index, I can use to identify the cell... right?
> Sorry I missed it.
> Are you saying "untested", because nobody is currently working with faults?
> However, the parser for the faults seems complete, correct?
>
> Thanks a lot
>
> Paolo
>
> On Thu, Jul 28, 2016 at 6:18 PM, Joakim Hove <joakim.hove at gmail.com>
> wrote:
>
>> The FaultFace has begin () and end () iterators which can be used to
>> iterate over the indices. This (untested) should work:
>>
>> for (size_t g : faultface)
>>      // do something with g
>>
>> Hth - Joakim
>> 28. juli 2016 18:01 skrev "Paolo Orsini" <paolo.orsini at gmail.com>
>> følgende:
>>
>>> Hi Joakim,
>>>
>>> If I understood it right, each fault (as defined in eclipse) is a group
>>> of FaultFaces
>>> When looping on the FaultFaces, I don't see any method to  get the I, J
>>> and K of the cell the face belongs to?
>>> Not even a getGlobalIndex function...
>>> How do you work out the face the multiplier should be applied to?
>>>
>>> I clearly  am missing something
>>>
>>> Thanks a lot for your help
>>>
>>> Paolo
>>>
>>>
>>>
>>> _______________________________________________
>>> Opm mailing list
>>> Opm at opm-project.org
>>> http://opm-project.org/cgi-bin/mailman/listinfo/opm
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <//opm-project.org/pipermail/opm/attachments/20160728/f862b183/attachment.html>


More information about the Opm mailing list