dof_to_vertex_map¶

dolfin.cpp.fem.dof_to_vertex_map()

Return a map between dof indices and vertex indices Only works for FunctionSpace with dofs exclusively on vertices. For mixed FunctionSpaces vertex index is offset with the number of dofs per vertex. In parallel the returned map maps both owned and unowned dofs (using local indices) thus covering all the vertices. Hence the returned map is an inversion of vertex_to_dof_map.

Parameters: FunctionSpace & space (const) – (FunctionSpace ) The FunctionSpace for what the dof to vertex map should be computed for std::vector< std::size_t > std::vector The dof to vertex map