My Project
Opm::Accelerator::BILU0< block_size > Class Template Reference

This class implements a Blocked ILU0 preconditioner The decomposition is done on CPU, and reorders the rows of the matrix. More...

#include <BILU0.hpp>

Inheritance diagram for Opm::Accelerator::BILU0< block_size >:
Opm::Accelerator::Preconditioner< block_size >

Public Member Functions

 BILU0 (ILUReorder opencl_ilu_reorder, int verbosity)
 
bool analyze_matrix (BlockedMatrix *mat) override
 
bool create_preconditioner (BlockedMatrix *mat) override
 
void apply (const cl::Buffer &y, cl::Buffer &x) override
 
int * getToOrder () override
 
int * getFromOrder () override
 
BlockedMatrixgetRMat () override
 
std::tuple< std::vector< int >, std::vector< int >, std::vector< int > > get_preconditioner_structure ()
 
std::pair< cl::Buffer, cl::Buffer > get_preconditioner_data ()
 
- Public Member Functions inherited from Opm::Accelerator::Preconditioner< block_size >
virtual void setOpencl (std::shared_ptr< cl::Context > &context, std::shared_ptr< cl::CommandQueue > &queue)
 

Additional Inherited Members

- Public Types inherited from Opm::Accelerator::Preconditioner< block_size >
enum  PreconditionerType { BILU0 , CPR , BISAI }
 
- Static Public Member Functions inherited from Opm::Accelerator::Preconditioner< block_size >
static std::unique_ptr< Preconditionercreate (PreconditionerType type, int verbosity, ILUReorder opencl_ilu_reorder)
 
- Protected Member Functions inherited from Opm::Accelerator::Preconditioner< block_size >
 Preconditioner (int verbosity_)
 
- Protected Attributes inherited from Opm::Accelerator::Preconditioner< block_size >
int N = 0
 
int Nb = 0
 
int nnz = 0
 
int nnzb = 0
 
int verbosity = 0
 
std::shared_ptr< cl::Context > context
 
std::shared_ptr< cl::CommandQueue > queue
 
std::vector< cl::Event > events
 
cl_int err
 

Detailed Description

template<unsigned int block_size>
class Opm::Accelerator::BILU0< block_size >

This class implements a Blocked ILU0 preconditioner The decomposition is done on CPU, and reorders the rows of the matrix.


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