On 05/12/2017 02:22 AM, Jean-Paul Pelteret wrote:
By Vertex, I meant the geometric quantity only. As I have used first order
scalar basis functions i.e FE_Q<2> fe(1) to distribute the degrees of
freedom by dof_handler.distribute_dofs(fe);. I expect 'n_dofs =
n_vertices' and also the finite element nodes to be residing directly on
the geometric vertices. So when I use 'vertices =
triangulation.get_vertices();' I expect the number of elements(Points) in
vertices array to be equal to the number of nodes(geometric vertices) in
my mesh.
This is all correct.
But only somewhat. While it is true that their *number* is the same, vertices
are not necessarily numbered consecutively. So the largest vertex index is not
necessarily equal to the largest dof index. And they are definitely not
numbered so that vertex_index=dof_index.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.