Dear Bhanu, As Bruno said, the geometry of a triangulation and ordering of degrees of freedom on a cell are not connected. There are numerous functions that can help you determine which solution component any local degree of freedom is associated with. There are numerous example of this in the tutorials but what you'd typically be looking for is this one <https://www.dealii.org/8.5.0/doxygen/deal.II/classFiniteElement.html#a27220a135402b96c7e6eecbb04acda56>, namely
fe.system_to_component_index(i).first where "i" denotes the i-th local degree of freedom on a cell. There's also a handy table sitting in a comment on the github repository <https://github.com/dealii/dealii/issues/3646#issuecomment-263506872> that might provide some further help on how to interpret the output from this function. However, in your example you assume that the support points and the vertices coincide. This is in fact a special case (e.g. with FE_Q(1) elements) that can be handled with another function, namely vertex_dof_index() <https://www.dealii.org/8.5.0/doxygen/deal.II/classDoFAccessor.html#a5560151b5407e4851d5c1009c7753764>. The are numerous posts on the forum <https://groups.google.com/forum/#!searchin/dealii/vertex_dof_index%7Csort:relevance> discussing how to use this function, so I won't repeat those explanations here. I hope this helps you further. Kind regards, J-P On Thursday, May 11, 2017 at 9:33:12 PM UTC+2, Bruno Turcksin wrote: > > Bhanu, > > On Thursday, May 11, 2017 at 3:03:03 PM UTC-4, Bhanu Teja wrote: > >> What is the order these vertices are placed in the vector(does it >> correspond to the node/vertex number/index as defined by the dof_handler?)? >> >> I think you misundertand what is a vertex in deal.II A vertex is only a > geometric quantity that has nothing to do with your finite element space. > There are not related to degrees of freedom. I think that the interpolate > function > http://dealii.org/8.5.0/doxygen/deal.II/namespaceVectorTools.html#a0d267850685f04deb2943076b3640b4f > > does what you want. > > Best, > > Bruno > -- 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.