Reference documentation for deal.II version Git d902c8c1aa 2019-12-15 00:36:45 -0500
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | Public Attributes | List of all members
CUDAWrappers::SolverDirect< Number >::AdditionalData Struct Reference

#include <deal.II/lac/cuda_solver_direct.h>

Public Member Functions

 AdditionalData (const std::string &solver_type="LU_dense")
 

Public Attributes

std::string solver_type
 

Detailed Description

template<typename Number>
struct CUDAWrappers::SolverDirect< Number >::AdditionalData

Struct for additional settings for SolverDirect.

Definition at line 49 of file cuda_solver_direct.h.

Constructor & Destructor Documentation

◆ AdditionalData()

template<typename Number >
CUDAWrappers::SolverDirect< Number >::AdditionalData::AdditionalData ( const std::string &  solver_type = "LU_dense")
explicit

Set the additional data field to the desired solver.

Member Data Documentation

◆ solver_type

template<typename Number >
std::string CUDAWrappers::SolverDirect< Number >::AdditionalData::solver_type

Set the solver type. Possibilities are:

  • "Cholesky" which performs a Cholesky decomposition on the device
  • "LU_dense" which converts the sparse matrix to a dense matrix and uses LU factorization
  • "LU_host" which uses LU factorization on the host

Definition at line 66 of file cuda_solver_direct.h.


The documentation for this struct was generated from the following file: