<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi Andreas,<br>
<br>
thanks for your answer.<br>
<div>Sorry but I'm a bit perplexed about the method "numberInSelf()" ... I tried to call it, but I get an error from the compiler, saying that there is no such method.<br>
To which class does it belong? I didn't find it in the documentation.<br>
<br>
The subIndex method is from IntersectionIterator? Or from elsewhere?<br>
<div style="font-family:Tahoma; font-size:13px"><br>
Cheers,<br>
Andrea<br>
__________________________________________________________<br>
<br>
Andrea Sacconi<br>
PhD student, Applied Mathematics<br>
AMMP Section, Department of Mathematics, Imperial College London,<br>
London SW7 2AZ, UK<br>
a.sacconi11@imperial.ac.uk<br>
</div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF154375" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dedner, Andreas [A.S.Dedner@warwick.ac.uk]<br>
<b>Sent:</b> 03 May 2013 17:26<br>
<b>To:</b> Sacconi, Andrea; dune@dune-project.org<br>
<b>Subject:</b> RE: Intersection iterator and global labels of vertices<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi.<br>
Definitely a dune question:<br>
<br>
Probably the easiest way is to use the codim 1 subentity which (in the case of alberta) corresponds to the intersection, i.e., e=intersection.numberInSelf().<br>
Then you can get the index of your corners for that edge by using the subIndex method.<br>
Best<br>
Andreas<br>
<br>
<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF233123" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> dune-bounces+a.s.dedner=warwick.ac.uk@dune-project.org [dune-bounces+a.s.dedner=warwick.ac.uk@dune-project.org] on behalf of Sacconi, Andrea [a.sacconi11@imperial.ac.uk]<br>
<b>Sent:</b> 03 May 2013 17:01<br>
<b>To:</b> dune@dune-project.org<br>
<b>Subject:</b> [Dune] Intersection iterator and global labels of vertices<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi everyone,<br>
<br>
I have a quick question about the Intersection Iterator. Before starting, I'm using AlbertGrid.<br>
<br>
Suppose you have a triangle ABC, and you need to perform some operations related to its boundary edges, i.e., the three segments AB, AC, BC.<br>
When you call the intersection iterator, you get three iterators, one for each edge. So far, so good.<br>
But what is the correspondence? I mean, iterator -> geometry().corner(0) gives you the local first corner of the codim-1 entity. To which global vertex does it correspond? A, B or C?<br>
<br>
I'm not even sure if this question is related to DUNE in general, or maybe should be addressed to DUNE-FEM.<br>
<div>Thanks for your help!<br>
<br>
Andrea<br>
<div style="font-family:Tahoma; font-size:13px"><br>
__________________________________________________________<br>
<br>
Andrea Sacconi<br>
PhD student, Applied Mathematics<br>
AMMP Section, Department of Mathematics, Imperial College London,<br>
London SW7 2AZ, UK<br>
a.sacconi11@imperial.ac.uk<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>