|
static std::unique_ptr< openclPreconditioner< Scalar, block_size > > | create (PreconditionerType type, int verbosity, bool opencl_ilu_parallel) |
|
static std::unique_ptr< Preconditioner > | create (PreconditionerType type, bool opencl_ilu_parallel, int verbosity) |
|
using | DuneMat = Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > |
|
using | DuneVec = Dune::BlockVector< Dune::FieldVector< Scalar, 1 > > |
|
using | MatrixOperator = Dune::MatrixAdapter< DuneMat, DuneVec, DuneVec > |
|
using | DuneAmg = Dune::Amg::MatrixHierarchy< MatrixOperator, Dune::Amg::SequentialInformation > |
|
| openclPreconditioner (int verbosity_) |
|
| Preconditioner (int verbosity_) |
|
void | analyzeHierarchy () |
|
void | analyzeAggregateMaps () |
|
void | create_preconditioner_amg (BlockedMatrix< Scalar > *mat) |
|
std::shared_ptr< cl::Context > | context |
|
std::shared_ptr< cl::CommandQueue > | queue |
|
std::vector< cl::Event > | events |
|
cl_int | err |
|
int | N |
|
int | Nb |
|
int | nnz |
|
int | nnzb |
|
int | verbosity |
|
int | num_levels |
|
std::vector< Scalar > | weights |
|
std::vector< Scalar > | coarse_vals |
|
std::vector< Scalar > | coarse_x |
|
std::vector< Scalar > | coarse_y |
|
std::vector< Matrix< Scalar > > | Amatrices |
|
std::vector< Matrix< Scalar > > | Rmatrices |
|
std::vector< std::vector< int > > | PcolIndices |
|
std::vector< std::vector< Scalar > > | invDiags |
|
BlockedMatrix< Scalar > * | mat = nullptr |
|
std::unique_ptr< DuneAmg > | dune_amg |
|
std::unique_ptr< DuneMat > | dune_coarse |
|
std::shared_ptr< MatrixOperator > | dune_op |
|
std::vector< int > | level_sizes |
|
std::vector< std::vector< int > > | diagIndices |
|
std::conditional_t< std::is_same_v< Scalar, double >, Dune::UMFPack< DuneMat >, int > | umfpack |
|
bool | always_recalculate_aggregates = false |
|
bool | recalculate_aggregates = true |
|
const int | pressure_idx = 1 |
|
unsigned | num_pre_smooth_steps |
|
unsigned | num_post_smooth_steps |
|
template<
class Scalar,
unsigned int block_size>
class Opm::Accelerator::openclCPR< Scalar, block_size >
This class implements a Constrained Pressure Residual (CPR) preconditioner.