|
template<typename VectorType > |
void | Opm::gpuistl::HypreInterface::setContinuousVectorForHypre (const VectorType &v, std::vector< HYPRE_Real > &continuous_vector_values, const std::vector< int > &local_hypre_to_local_dune) |
| Extract owned vector values in the order expected by HYPRE. More...
|
|
template<typename VectorType > |
void | Opm::gpuistl::HypreInterface::setDuneVectorFromContinuousVector (VectorType &v, const std::vector< HYPRE_Real > &continuous_vector_values, const std::vector< int > &local_hypre_to_local_dune) |
| Distribute HYPRE vector values back to original vector positions. More...
|
|
template<typename VectorType > |
void | Opm::gpuistl::HypreInterface::transferCpuVectorToHypre (const VectorType &cpu_vec, HYPRE_IJVector hypre_vec, HypreHostDataArrays &host_arrays, const HypreDeviceDataArrays &device_arrays, const ParallelInfo &par_info, bool use_gpu_backend) |
| Transfer CPU vector to Hypre vector. More...
|
|
template<typename VectorType > |
void | Opm::gpuistl::HypreInterface::transferHypreToCpuVector (HYPRE_IJVector hypre_vec, VectorType &cpu_vec, HypreHostDataArrays &host_arrays, const HypreDeviceDataArrays &device_arrays, const ParallelInfo &par_info, bool use_gpu_backend) |
| Transfer Hypre vector to CPU vector. More...
|
|
template<typename MatrixType > |
void | Opm::gpuistl::HypreInterface::updateMatrixFromCpuMatrix (const MatrixType &cpu_matrix, HYPRE_IJMatrix hypre_matrix, const SparsityPattern &sparsity_pattern, const HypreHostDataArrays &host_arrays, const HypreDeviceDataArrays &device_arrays, bool use_gpu_backend) |
| Update Hypre matrix from CPU matrix Uses HYPRE_IJMatrixSetValues2 with pre-computed row_indexes, which allows us to use the original CPU matrix data (with potential ghost values) directly. More...
|
|