← Back to team overview

dolfin team mailing list archive

Re: [Question #95085]: Mesh traversal

 

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?

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups