dof_to_vertex_map

dolfin.cpp.fem.dof_to_vertex_map(*args)

Return a map between dofs indices and vertex indices

Only works for FunctionSpace with dofs exclusively on vertices. For MixedFunctionSpaces vertex index is offset with the number of dofs per vertex. In parallel the returned map only maps local (to processor) dofs.

Arguments
space (FunctionSpace)
The FunctionSpace for what the dof to vertex map should be computed for
Returns
numpy.array(int)
The dof to vertex map