Actual source code: hashijkkey.h

  1: #pragma once

  3: typedef struct _PetscHashIJKKey {
  4:   PetscInt i, j, k;
  5: } PetscHashIJKKey;

  7: #define PetscHashIJKKeyHash(key)     PetscHashCombine(PetscHashInt((key).i), PetscHashCombine(PetscHashInt((key).j), PetscHashInt((key).k)))
  8: #define PetscHashIJKKeyEqual(k1, k2) ((k1).i == (k2).i && (k1).j == (k2).j && (k1).k == (k2).k)