Revise d2v and v2d maps
Revise dof_to_vertex_map
and vertex_to_dof_map
functions after
- switching to local DOF indexing
- introduction of ghost mesh entities
For instance, dof_to_vertex_map
(which is contiguous array) does not contain unowned dofs due to prior global dof indexing. This can change now. Also interaction with ghost meshes was questioned in #493.
Comments (7)
-
-
reporter It would need changing the current semantics: working exclusively on the space having just vertex dofs makes
dof_to_vertex_map
contiguous and one-to-one (when modulated bynum_dofs_per_vertex
). Something like this does not make a sense fordof_to_facet_map
as there is no exclusively-facet space (so far).On the other hand "inverse" map
facet_to_dof_map
could still have a sense. But it then becomes more complex how to modulate it for multiple dofs on one entity.Is
GenericDofMap
interface insufficient for you? Or do you have any more concrete suggestion? -
reporter Fix in next d460a32
-
reporter Extending to unowned filed as a separate issue
#536. -
reporter - changed status to resolved
-
reporter -
- removed milestone
Removing milestone: 1.6 (automated comment)
- Log in to comment
It would be great to have these generalised for mesh entities of any dim.