← Back to team overview

dolfin team mailing list archive

Re: mixed dof numbering

 


Johan Hoffman wrote:
About the global dof numbering for the different components in a function
defined by a mixed element: I get the impression that we use a different
ordering for the mixed dofs than for the dofs of a regular vector valued
function?


I don't think so. For both mixed and vector elements, dofs at the same node do not lie next to each other in the dof mapping.

It will be possible to choose the dof ordering soon when the new assembly is up and running. There is already a new class DofMap which will handle this.

Garth



I guess the natural way is to order the global dofs such that all
components for a given node (e.g. a vertex for Lagrange elements) lies
together, which I think gives the better block structure? It appears that
the mixed dofs are ordered differently?

Maybe I'm wrong? But if not, we should take care of this as soon as
possible, since it is very confusing.

/Johan



_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References