cpr_amg_operations.hpp File Reference
Include dependency graph for cpr_amg_operations.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::detail
 

Functions

template<typename T , bool transpose>
void Opm::gpuistl::detail::getQuasiImpesWeights (const GpuSparseMatrixWrapper< T > &matrix, std::size_t pressureVarIndex, GpuVector< T > &weights, const GpuVector< int > &diagonalIndices)
 Calculates quasi-IMPES weights for CPR preconditioner on GPU. More...
 
template<typename T , bool transpose>
void Opm::gpuistl::detail::calculateCoarseEntries (const GpuSparseMatrixWrapper< T > &fineMatrix, GpuSparseMatrixWrapper< T > &coarseMatrix, const GpuVector< T > &weights, std::size_t pressureVarIndex)
 Calculates the coarse level matrix entries based on the fine level matrix and weights. More...
 
template<typename T , bool transpose>
void Opm::gpuistl::detail::restrictVector (const GpuVector< T > &fine, GpuVector< T > &coarse, const GpuVector< T > &weights, std::size_t pressureVarIndex)
 Restricts a fine level vector to a coarse level vector based on pressure index. More...
 
template<typename T , bool transpose>
void Opm::gpuistl::detail::prolongateVector (const GpuVector< T > &coarse, GpuVector< T > &fine, const GpuVector< T > &weights, std::size_t pressureVarIndex)
 Prolongs a coarse level vector to a fine level vector based on pressure index. More...