I was wondering if there is any method to sequentially access all the vertex
co-ordinates(Point<dim>), similar to tria.get_vertices(). The reason behind
this is, let say, if I need to modify a vertex_index=10, then I need to loop
over all the cells through a CellAccessor, until I hit a cell that contains
this vertex and then modify it. And this could be inefficient, and I am just
curious about any alternate procedures.
No, unfortunately there is no way to do this unless you want to use a
const_cast to cast away the const-ness of whatever tria.get_vertices()
returns. (Which should work, it's just not the right way to do things :-) )
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.