Hi Samuel,

ok if they do that then there is no better solution...

The clean solution is to use a custom FVGridGeometry. The BoundaryFlag class is 
set somewhere in the sub control volume traits. You have to replace it by your 
own implementation of this class. 

Have a look at the discretization folder to see how the FVGridGeometry and it‘s 
traits are defined. 

Another solution would be to convert your grid file to dgf.

However, we should think about a better out-of-the-box solution.  Unfortunately 
the use of boundaryId and boundarySegmentIndex is not streamlined throughout 
the different grid managers in Dune. They have slightly different meanings. 

Best wishes
Timo


> Am 09.04.2019 um 14:53 schrieb Samuel Scherrer <[email protected]>:
> 
> Hi Timo,
> 
> I ran
> 
> find . -wholename '*/build-cmake/*' -delete
> 
> inside the directory where all my dune modules are before rerunning
> dunecontrol and removed the line as you said. Is there anything else I
> have to do? I still get the same warning.
> 
> I found that dune-grid/config.h.cmake contains the line:
> 
> #define DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS 1
> 
> Setting this to 0 removes the warning, but I assume there are better
> solutions.
> 
> Best regards,
> Samuel
> 
> 
>> On Tue, 2019-04-09 at 12:04 +0200, Timo Koch wrote:
>> Hi Samuel,
>> 
>> did you delete the build folders before you reran dunecontrol?
>> 
>> Also you can just leave out the whole line  with 
>> DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS
>> 
>> because the default should be false.
>> 
>> Timo
>> 
>>> On 09.04.19 11:49, Samuel Scherrer wrote:
>>> Hi Bernd,
>>> 
>>> Yes, I set "-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=FALSE" in
>>> cmake.opts and ran
>>> 
>>> dune-common/bin/dunecontrol --opts=cmake.opts all
>>> 
>>> Kind regards,
>>> Samuel
>>> 
>>> 
>>> 
>>>> On Tue, 2019-04-09 at 09:32 +0000, Flemisch, Bernd wrote:
>>>> Did you leave the ":BOOL" like in
>>>> -DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS:BOOL=FALSE
>>>> ?
>>>> 
>>>> Kind regards
>>>> Bernd
>>>> 
>>>> 
>>>> --
>>>> _______________________________________________________________
>>>> 
>>>> Bernd Flemisch                         phone: +49 711 685 69162
>>>> IWS, Universität Stuttgart             fax:   +49 711 685 60430
>>>> Pfaffenwaldring 61            email: [email protected]
>>>> D-70569 Stuttgart            url: www.hydrosys.uni-stuttgart.de
>>>> _______________________________________________________________
>>>> Von: Samuel Scherrer <[email protected]>
>>>> Gesendet: Dienstag, 9. April 2019 10:49:39
>>>> An: Flemisch, Bernd; DuMuX User Forum
>>>> Betreff: Re: AW: [DuMuX] How to get intersections from scvf and
>>>> element?
>>>> 
>>>> Hi Bernd,
>>>> 
>>>> I had trouble installing UGGrid, so I would prefer using ALUGrid.
>>>> However, disabling the code for ALUGrid in boundaryflag.hh does
>>>> the
>>>> trick, but I'm having trouble setting
>>>> DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS to false. At the moment I
>>>> just

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to