On 7/17/21 6:39 AM, Kaushik Das wrote:
I am assuming that the ordering/sequence of dofs that we get
from cell->get_dof_indices() will always be the same as the ordering/sequence
of vertexes in a cell, that is the 'canonical' ordering given in GeometryInfo.
Will that be true for linear hex Q1
Thank you, Prof. Bangerth.
Yes, I am using Q1 elements.
I was able to do it following your hint.
I am assuming that the ordering/sequence of dofs that we get
from cell->get_dof_indices() will always be the same as the
ordering/sequence of vertexes in a cell, that is the 'canonical' ordering
given
To add to what Wolfgang has already said, there’s this entry in our FAQ on this
topic (well, the reverse mapping from vertex to DoF):
https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#how-do-i-get-the-degree-of-freedom-indices-at-vertices
On 7/15/21 3:09 PM, Kaushik Das wrote:
Is there a way to know which dof_index is located at which vertex.
For example, I want to "map" a dof_index that I get from
affine_constrains.get_constraint_entries(line);
to a vertex index that are in the range of triangulation.begin_vertex() and
Hello,
Is there a way to know which dof_index is located at which vertex.
For example, I want to "map" a dof_index that I get from
affine_constrains.get_constraint_entries(line);
to a vertex index that are in the range of triangulation.begin_vertex() and
triangulation.end_vertex().
Thank