[Dune] questions about ElementID_to_physical_entity

Jayesh Badwaik jayeshb.work at gmail.com
Sat Apr 9 11:02:31 CEST 2011


hi,

i am trying to use elementid_to_physical_entity feature of the gmsh reader
and the code i'm using is as follows

std::vector<int>    boundaryid;
std::vector<int>    elementid;
GridReader gridreader;
GridPointer gridptr =  gridreader.read(gridfile, boundaryid, elementid,
true, true);


when trying to implement the feature, i have noticed that there is no
one-to-one correspondence between the
members of elementid and the members of
GrdiType::LeafView::Codim<0>::Iterator
e.g. the elementid[0] does not correspond to gv.begin<0>()

is there any way to map them?
or am i using the feature in an incorrect manner?

Cheers and Regards,
Jayesh Vinay Badwaik
-----------------------------------------------------------------------------------------------------------

We are servants rather than masters in mathematics   --- Charles Hermite
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110409/863597a5/attachment.htm>


More information about the Dune mailing list