opm
simulators
linalg
gpuistl
detail
Namespaces
|
Functions
fix_zero_diagonal.hpp File Reference
#include <limits>
#include <vector>
Include dependency graph for fix_zero_diagonal.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<class Matrix >
const Matrix
Opm::gpuistl::detail::makeMatrixWithNonzeroDiagonal
(const Matrix &matrix, const typename Matrix::field_type replacementValue=std::numeric_limits< typename Matrix::field_type >::epsilon())
makeMatrixWithNonzeroDiagonal creates a new matrix with the zero diagonal elements (when viewed as a matrix of scalrars) set to replacementValue
More...