|
| cusparseSolverBackend (int linear_solver_verbosity, int maxit, double tolerance, unsigned int deviceID) |
| Construct a cusparseSolver. More...
|
|
| ~cusparseSolverBackend () |
| Destroy a cusparseSolver, and free memory.
|
|
SolverStatus | solve_system (std::shared_ptr< BlockedMatrix > matrix, double *b, std::shared_ptr< BlockedMatrix > jacMatrix, WellContributions &wellContribs, BdaResult &res) override |
| Solve linear system, A*x = b, matrix A must be in blocked-CSR format. More...
|
|
void | get_result (double *x) override |
| Get resulting vector x after linear solve, also includes post processing if necessary. More...
|
|
| BdaSolver (int linear_solver_verbosity, int max_it, double tolerance_) |
| Construct a BdaSolver. More...
|
|
| BdaSolver (int linear_solver_verbosity, int max_it, double tolerance_, unsigned int deviceID_) |
|
| BdaSolver (int linear_solver_verbosity, int max_it, double tolerance_, unsigned int platformID_, unsigned int deviceID_) |
|
virtual | ~BdaSolver () |
| Define virtual destructor, so that the derivedclass destructor will be called.
|
|
virtual SolverStatus | solve_system (std::shared_ptr< BlockedMatrix > matrix, double *b, std::shared_ptr< BlockedMatrix > jacMatrix, WellContributions &wellContribs, BdaResult &res)=0 |
| Define as pure virtual functions, so derivedclass must implement them. More...
|
|
virtual void | get_result (double *x)=0 |
|
template<unsigned int block_size>
class Opm::Accelerator::cusparseSolverBackend< block_size >
This class implements a cusparse-based ilu0-bicgstab solver on GPU.