This class does not implement a solver, but converts the BCSR format to normal CSR and uses amgcl for solving Note amgcl also implements blocked solvers, but looks like it needs unblocked input data.
More...
|
| | amgclSolverBackend (int linear_solver_verbosity, int maxit, double tolerance, unsigned int platformID, unsigned int deviceID) |
| | Construct a openclSolver.
|
| |
|
| ~amgclSolverBackend () |
| | Destroy a openclSolver, 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.
|
| |
| void | get_result (double *x) override |
| | Get result after linear solve, and peform postprocessing if necessary.
|
| |
| | BdaSolver (int linear_solver_verbosity, int max_it, double tolerance_) |
| | Construct a BdaSolver.
|
| |
|
| 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.
|
| |
template<
unsigned int block_size>
class Opm::Accelerator::amgclSolverBackend< block_size >
This class does not implement a solver, but converts the BCSR format to normal CSR and uses amgcl for solving Note amgcl also implements blocked solvers, but looks like it needs unblocked input data.