<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Steffen,<br>
<br>
this approach (using PDELab's IntersectionIndexSet) will not work on
grids which do not support codim-1 entities, will it? Does this mean
I have to use an IdSet in this case?<br>
<br>
Jurgis<br>
<br>
<br>
<div class="moz-cite-prefix">On 07.11.2012 22:21, Steffen Müthing
wrote:<br>
</div>
<blockquote
cite="mid:9BBB7CD0-7A0B-4BBA-8684-ED69EAB6FEF8@ipvs.uni-stuttgart.de"
type="cite">
<pre wrap="">Hi Marco,
as long as your grid has a conforming macro grid (which is true for every Dune grid I know),
you can always associate the data with the face belonging to the more-refined
entity (the one with the higher level), or with the face belonging to the cell with
the lower index (if the levels are the same). To get the index of that face, you can
use the subIndex() method of the IndexSet with the cell and the value of indexInInside()
or indexInOutside() from the intersection.
In PDELab, there is an IntersectionIndexSet that does something like that. Perhaps you
can simply use that, or you can use it as inspiration for your own implementation… ;-)
Steffen
Am 07.11.2012 um 18:03 schrieb Marco Cisternino:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Duners,
I need to attach data to intersections. I would like to avoid redundance of data (using a mapper to elements and attaching a stl container to store values on its intersections) and time consumption to access data (using a stl map).
I wonder if something like a mapper is available for intersections. Choosing the right layout for a MCMG mapper would not work, I guess, on non conforming grid, doesn't it?
Thank you very much, again.
Marco
--
Marco Cisternino
Optimad Engineering s.r.l.
<a class="moz-txt-link-abbreviated" href="http://www.optimad.it">www.optimad.it</a>
<a class="moz-txt-link-abbreviated" href="mailto:marco.cisternino@optimad.it">marco.cisternino@optimad.it</a>
+3901119719782
_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<pre wrap="">
Steffen Müthing
Universität Stuttgart
Institut für Parallele und Verteilte Systeme
Universitätsstr. 38
70569 Stuttgart
Tel: +49 711 685 88429
Fax: +49 711 685 88340
Email: <a class="moz-txt-link-abbreviated" href="mailto:steffen.muething@ipvs.uni-stuttgart.de">steffen.muething@ipvs.uni-stuttgart.de</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<br>
</body>
</html>