1: #pragma once 3: typedef struct _PetscHashIJKey { 4: PetscInt i, j; 5: } PetscHashIJKey; 7: #define PetscHashIJKeyHash(key) PetscHashCombine(PetscHashInt((key).i), PetscHashInt((key).j)) 8: #define PetscHashIJKeyEqual(k1, k2) ((k1).i == (k2).i && (k1).j == (k2).j)