Dear Steffen,

you want to have a look at the class TriaAccessor. There you can find the functions TriaAccessor::index, which gives you the local index of the vertex, and TriaAccessor::vertex, which gives you the coordinates of the vertex. Then you can follow the vertex in time with the pair cell_iterator and local vertex index, if you do not use any adaptivity of the mesh.

Best Regards,
Markus



On 28.06.2012 21:30, Stefan Malzer wrote:
Dear all,
I would like to follow the motion of a specific (but arbitrary) vertex as a time based problem (similar to step-18), to record the position as a function of time. The vertex has most likely an index (unsigned int) which I could get how? Secondly, once I have the unsigned int, how can I access the vertex-pointer to further get the coordinates?
(I tried to dig through the documentation, but could not find it.)

Thanks,
Steffen


Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android. *https://produkte.web.de/freem ail_mobile_startseite/* <https://produkte.web.de/freemail_mobile_startseite/>



_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to