# vertex_to_dof_map¶

dolfin.cpp.fem.vertex_to_dof_map(space)

Return a map between vertex indices and dofs indices

Only works for FunctionSpace with dofs exclusively on vertices. For mixed FunctionSpaces dof index is offset with the number of dofs per vertex.

Arguments
space (FunctionSpace)
The FunctionSpace for what the vertex to dof map should be computed for
Returns
std::vector<dolfin::la_index>
The vertex to dof map