#1577 Refactor FromVertexMatching
Currently FromVertexMatching
is using an awkward object DofProgramWiseIndexListPerVertexCoordIndexList
, which stores for each Coord
the list of program-wise dofs.
The drawback is that it entails doing the job before the reduction, as both meshes might not be reduced the same way, which is at odd with my intent in #1571 (closed) to postpone Dof computation after the reduction.
In this case, we could probably instead:
- Store the
Coords
in target that must be kept. - Keep on a given processor the
Coords
that have been tagged as required, and store them as ghosts if they were not kept otherwise. We should therefore be able to postpone the matrix initialization after the reduction.