Dear Tsai,
There is no visitor for points (mesh nodes) of a mesh region. The more
straighforward mean is to iterate on elements/face of a region and then
on points of element/face andpaying attention to repetitions of points
(storing the visited point in a dal::bit-vector for instance).
Yves.
Le 06/07/2012 10:55, CC Tsai a écrit :
>
> Dear Yves,
>
> As we know, we can obtain a visitor for points of a mesh and get their
> positions by
>
> for (dal::bv_visitor i(mesh.points_index()); !i.finished(); ++i)
> {
> bgeot::base_node &pt = mesh.points()[i];
> ...
> }
>
> Therefore, I wounder if there is a means to obtain a visitor for
> points of a mesh region.
>
> sincerely
> CC Tsai
>
>
>
>
>
> _______________________________________________
> Getfem-users mailing list
> [email protected]
> https://mail.gna.org/listinfo/getfem-users
--
Yves Renard ([email protected]) tel : (33) 04.72.43.87.08
Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29
20, rue Albert Einstein
69621 Villeurbanne Cedex, FRANCE
http://math.univ-lyon1.fr/~renard
---------
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users