# vertex_to_dof_map¶

dolfin.cpp.fem.vertex_to_dof_map()

Return a map between vertex indices and dof indices Only works for FunctionSpace with dofs exclusively on vertices. For mixed FunctionSpaces dof index is offset with the number of dofs per vertex.

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