Re: [OPM] UG grid - ignoring ACTUNUM

2014-06-28 Thread Bård Skaflestad
There is no such method in class GridManager. However, if you "just" need an UnstructuredGrid that doesn't observe ACTNUM you can accomplish the task manually by extracting the grid information through Method GridManager::createGrdecl(), assign a null pointer to grdecl::actnum and then form t

Re: [OPM] Require Boost:regex

2014-06-28 Thread Bård Skaflestad
Boost,.Regex is fine by me too. Bård From: Opm [opm-boun...@opm-project.org] on behalf of Alf Birger Rustad [a...@statoil.com] Sent: 28 June 2014 23:55 To: Andreas Lauser Cc: opm@opm-project.org Subject: Re: [OPM] Require Boost:regex I believe Boost is

Re: [OPM] Require Boost:regex

2014-06-28 Thread Alf Birger Rustad
I believe Boost is the best solution here. We already use Boost to remedy the shortcomings of the gcc versions we need to support, and regex provides necessary functionality. Cheers, Alf Andreas Lauser : Hi, Some remarks from the offender (i.e. me) seem to be appropriate. I've chosen boost::

[OPM] UG grid - ignoring ACTUNUM

2014-06-28 Thread Paolo Orsini
Hi, Is there any method to call the GridManager to load an eclipse mesh from deck and build ug ignoring the active cell information? Basically, I want to build a ug mesh including the non-active cells, and retain the information loaded from ACTNUM. If there isn't anything I can add a new method

Re: [OPM] Require Boost:regex

2014-06-28 Thread Andreas Lauser
Hi, On Saturday, June 28, 2014 16:44:45 Atgeirr Rasmussen wrote: > I assume that it would not increase the minimum required version we require > of boost? AFAICS, no. (It is available in boost 1.44.) cheers Andreas > 28. juni 2014 kl. 18:31 skrev Andreas Lauser : > > Hi, > > > > Some remarks

Re: [OPM] Require Boost:regex

2014-06-28 Thread Atgeirr Rasmussen
I am OK with introducing this dependency, since it is part of boost. I assume that it would not increase the minimum required version we require of boost? Atgeirr 28. juni 2014 kl. 18:31 skrev Andreas Lauser : > Hi, > > Some remarks from the offender (i.e. me) seem to be appropriate. I've ch

Re: [OPM] Require Boost:regex

2014-06-28 Thread Andreas Lauser
Hi, Some remarks from the offender (i.e. me) seem to be appropriate. I've chosen boost::regex because: - it is the library which got graduated to std:: in c++-2011, so that the code changes should be minimal once GCC 4.9 is the minimum supported compiler version of OPM - we already use quite a

[OPM] Require Boost:regex

2014-06-28 Thread Joakim Hove
Hello; In the PR: https://github.com/OPM/opm-parser/pull/249 Andreas has implemented support for regex matching of keywords in the deck. We need this functionality, and modulo minor fixes I intend to merge this PR. However, the PR uses Boost::regex; so going with it as it is now will introduce