[Dune] Creating an ALUCubeGrid from a DGF file

Andreas Dedner dedner at mathematik.uni-freiburg.de
Mon Jun 14 15:23:36 CEST 2010


Ok,
1) is of course 2^dim (in your case 8) and are local numbers in the
    dune reference element (a permutation of 0,..7).
    I will fix that
2) The mapping is your ref -> dune ref. You are right of course that
    the example is not enough since the permutation is self inverse.
3) That is a good point and probably a bug - It seems that the remapping
     for boundary segments is missing.
Thank for the help with the documentation.
Best
Andreas
On 06/14/2010 02:48 PM, Sven Marnach wrote:
> Andreas Dedner schrieb am Mo, 14. Jun 2010, um 14:10:49 +0200:
>> If the ordering of the local vertices of the cube elements does not
>> follow the Dune reference element then the mapping between the local
>> numbering used and the dune reference cube has to be prescribed by a
>> line starting with the keyword map followed by dimworld^2 values
>> describing the mapping between the local vertex numbers.
>
> There are three points I do not understand:
>
>   1. What do the dimworld^2 "values" (i.e. 9 in my case) describe?  Are
>      they integers or real numbers?
>
>   2. Is this the mapping from the local numbering in your file to the
>      DUNE numbering or the other way around?  In the example you gave
>      the two possibilities would be the same, because the permutation
>      is an involution.  But in other cases I just wouldn't know.
>
>   3. Is a map line also possible for a BoundarySegment block? The
>      documentation does not say so, but the parser does not give an
>      error as well.
>
> To be honest, I would know the answer to the first question :)
>
> Greetings,
>      Sven
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune




More information about the Dune mailing list