You can‘t know if it‘s a dgf file. It could be in any custom group in the input file, or not specified in the input file at all.
Timo Viele Grüße, Timo > Am 10.04.2019 um 19:08 schrieb Flemisch, Bernd > <bernd.flemi...@iws.uni-stuttgart.de>: > > Would the best default be that it uses boundaryId if this is supported and a > DGF file is present, otherwise it uses boundarySegmentIndex? > > Can you open an issue? > > Kind regards > Bernd > > > > On Wed, Apr 10, 2019 at 5:52 PM +0200, "Timo Koch" > <timo.k...@iws.uni-stuttgart.de> wrote: > >> 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 : >> > >> > 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: be...@iws.uni-stuttgart.de >> >>>> D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de >> >>>> _______________________________________________________________ >> >>>> Von: Samuel Scherrer >> >>>> 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 >> Dumux@listserv.uni-stuttgart.de >> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux > _______________________________________________ > Dumux mailing list > Dumux@listserv.uni-stuttgart.de > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________ Dumux mailing list Dumux@listserv.uni-stuttgart.de https://listserv.uni-stuttgart.de/mailman/listinfo/dumux