MAT[SEQ/MPI]AIJ
PetscObjectBaseTypeCompare() strips off the and compares
PetscObjectTypeCompare() compares the entire string
As discussed with Richard recently for likely a similar need we also need
a
PetscObjectRootTypeCompare() that strips out the
I have a test failing: ksp_ksp_tutorials-ex7_gamg_cuda_nsize-2 (
https://gitlab.com/petsc/petsc/-/jobs/2601658676)
I have this code that I want to be true here (2 processors):
PetscCall(PetscObjectTypeCompare((PetscObject)Gmat, MATMPIAIJ, ));
But it is returning false. Should I have a