19 #ifndef GEOSX_LINEARALGEBRA_INTERFACES_PETSCUTILS_HPP 20 #define GEOSX_LINEARALGEBRA_INTERFACES_PETSCUTILS_HPP 35 return reinterpret_cast< PetscInt *
>(index);
45 return reinterpret_cast< PetscInt
const *
>(index);
50 #endif //GEOSX_LINEARALGEBRA_INTERFACES_PETSCUTILS_HPP long long int globalIndex
Global index type (for indexing objects across MPI partitions).
PetscInt * toPetscInt(globalIndex *const index)
Converts a non-const array from GEOSX globalIndex type to PetscInt.