I was setting the coordinates using the ldof size for the number of nodes instead of the tdof size, leading to issues with the PetscPreconditioner::GAMG null-space. This PR fixes that by removing the redundant call to PCSetCoordinates, only using the explicitly set near null space.
I was setting the coordinates using the ldof size for the number of nodes instead of the tdof size, leading to issues with the
PetscPreconditioner::GAMG
null-space. This PR fixes that by removing the redundant call toPCSetCoordinates
, only using the explicitly set near null space.