Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
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 46 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.

Definition at line 423 of file cuda_solver_direct.cc.

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 64 of file cuda_solver_direct.h.


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