Project coordinates to a different space
dm - The
disc - The new coordinate discretization or
NULLto ensure a coordinate discretization exists
This function takes the current mesh coordinates, which are discretized using some
PetscFE space, and projects this function into a new
The coordinate projection is done on the continuous coordinates, and if possible, the discontinuous coordinates are also updated.
With more effort, we could directly project the discontinuous coordinates also.