LLNL / serac

Serac is a high order nonlinear thermomechanical simulation code
BSD 3-Clause "New" or "Revised" License
178 stars 33 forks source link

Fix bug in near-null space setup and remove PCSetCoordinates #1196

Closed zatkins-work closed 1 month ago

zatkins-work commented 1 month ago

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.