HypreUtils.hpp File Reference
#include <opm/simulators/linalg/gpuistl/hypreinterface/HypreErrorHandling.hpp>
#include <HYPRE.h>
#include <_hypre_utilities.h>
#include <algorithm>
#include <vector>
Include dependency graph for HypreUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Opm
 
namespace  Opm::gpuistl
 
namespace  Opm::gpuistl::HypreInterface
 Unified interface for Hypre operations with both CPU and GPU data structures.
 

Functions

std::vector< HYPRE_Real > Opm::gpuistl::HypreInterface::getMatrixValues (HYPRE_IJMatrix hypre_matrix, const std::vector< HYPRE_Int > &ncols, const std::vector< HYPRE_BigInt > &rows, const std::vector< HYPRE_BigInt > &cols, bool use_gpu_backend=false)
 Get matrix values from Hypre matrix. More...