PetscObjectObjectTypeCompare#
Determines whether two PETSc objects are of the same type
Synopsis#
#include "petscsys.h"    
PetscErrorCode PetscObjectObjectTypeCompare(PetscObject obj1, PetscObject obj2, PetscBool *same)
Logically Collective
Input Parameters#
Output Parameter#
- same - - PETSC_TRUEif they are the same or both unset, else- PETSC_FALSE
See Also#
PetscObjectTypeCompare(), VecGetType(), KSPGetType(), PCGetType(), SNESGetType(), PetscObjectBaseTypeCompare(), PetscObjectTypeCompareAny(), PetscObjectBaseTypeCompareAny()
Level#
intermediate
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages