|
GpuSeqILU0.hpp
Go to the documentation of this file.
160 , m_LU(GpuSparseMatrixWrapper<field_type, true>::fromMatrix(detail::makeMatrixWithNonzeroDiagonal(A)))
171 fmt::format("CuSparse matrix not same blocksize as DUNE matrix. {} vs {}.", m_LU.blockSize(), A[0][0].N()));
174 fmt::format("CuSparse matrix not same dimension as DUNE matrix. {} vs {}.", m_LU.dim(), A.N() * A[0][0].N()));
Interface class adding the update() method to the preconditioner interface. Definition: PreconditionerWithUpdate.hpp:34 Sequential ILU0 preconditioner on the GPU through the CuSparse library. Definition: GpuSeqILU0.hpp:52 typename std::remove_const< M >::type matrix_type The matrix type the preconditioner is for. Definition: GpuSeqILU0.hpp:55 GpuSeqILU0(const M &A, field_type w) Constructor. Definition: GpuSeqILU0.hpp:156 Y range_type The range type of the preconditioner. Definition: GpuSeqILU0.hpp:59 typename X::field_type field_type The field type of the preconditioner. Definition: GpuSeqILU0.hpp:61 bool hasPerfectUpdate() const override Definition: GpuSeqILU0.hpp:113 X domain_type The domain type of the preconditioner. Definition: GpuSeqILU0.hpp:57 static constexpr bool shouldCallPost() Definition: GpuSeqILU0.hpp:108 static constexpr bool shouldCallPre() Definition: GpuSeqILU0.hpp:102 Dune::SolverCategory::Category category() const override Category of the preconditioner (see SolverCategory::Category) The CuSparseHandle class provides a singleton for the simulator universal cuSparseHandle. Definition: CuSparseHandle.hpp:41 static CuSparseHandle & getInstance() getInstance creates (if necessary) and returns the single unique instance of CuSparseHandle (singleto... GpuSparseMatrixDescriptionPtr createLowerDiagonalDescription() createLowerDiagonalDescription creates a lower diagonal matrix description Definition: CuMatrixDescription.hpp:60 GpuSparseMatrixDescriptionPtr createUpperDiagonalDescription() createUpperDiagonalDescription creates an upper diagonal matrix description Definition: CuMatrixDescription.hpp:75 std::shared_ptr< CuSparseResource< cusparseMatDescr_t > > GpuSparseMatrixDescriptionPtr Definition: CuMatrixDescription.hpp:35 const Matrix 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 ... Definition: fix_zero_diagonal.hpp:40 A small, fixed‑dimension MiniVector class backed by std::array that can be used in both host and CUDA... Definition: GpuFlowProblem.hpp:49 |