dbeacham wrote: > Question #95085 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/95085 > > Status: Answered => Solved > > dbeacham confirmed that the question is solved: > Thanks for this - I hadn't appreciated the need to call mesh.init. > > One quick clarification: > > Say that a vertex, v, has v.entities(1) = [300 400 500] (ie is adjacent > to edges 300, 400 and 500), then in order to find the information on any > of those edges, I'd have to cycle through the edge iterator until I > found the edge, e, such that e.index() = 300, 400 or 500? >
If you know the index, you can create the edge Edge edge(const Mesh& mesh, uint index); Garth _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp