#include "common/DataTypes.hpp"
#include <petscsys.h>
Go to the source code of this file.
◆ toPetscInt() [1/2]
PetscInt* geos::petsc::toPetscInt |
( |
globalIndex *const |
index | ) |
|
|
inline |
Converts a non-const array from GEOSX globalIndex type to PetscInt.
- Parameters
-
- Returns
- the converted array
Definition at line 49 of file PetscUtils.hpp.
◆ toPetscInt() [2/2]
PetscInt const* geos::petsc::toPetscInt |
( |
globalIndex const *const |
index | ) |
|
|
inline |
Converts a const array from GEOSX globalIndex type to PetscInt.
- Parameters
-
- Returns
- the converted array
Definition at line 59 of file PetscUtils.hpp.