How can I access an codim<0> entity at the center of the domain? For the boundary element, I can access it as, <b>leafView.template begin<0>( )</b>. But how can I access other elements? I tried <b>leafView.template begin<0>( ) + 1 </b>or <b>leafView.template end<0>( ) - 1, </b>but to no avail. <br>
<br>In the loop, I am iterating through all the elements,<br><b><br>for (ElementLeafIterator it = leafView.template begin<0>( ); it!=leafView.template end<0>( ); ++it)</b><br><br>but later if I give a conditional statement such as, <b>if(it==leafView.template begin<0>( ) + 1) grid.mark(1,*it); </b>then I get an error saying operator + 1 does not match. I can mark the 1st element though, that is without the + 1.<br>
<br>Regards,<br>Swayam<br>