Geometrical Points and Iteration

In this tutorial we investigate different element iteration mechanisms. Using the function domain.get_point(vertex) we can get instances of point type such as gsse::point. The first coordinate element can be accessed by point[0]. In analogy to the vertex_ on_cell_iterator we can also use edges. The following iterators can be used for this task.

vertex_on_cell_iterator
vertex_on_edge_iterator
cell_on_vertex_iterator
cell_on_edge_iterator
edge_on_cell_iterator
edge_on_vertex_iterator

A simple template file can be found in: gsse/tutorials/lesson3/

 

Tasks

 

Hints