20 #ifndef OPM_PRECONDITIONER_HEADER_INCLUDED 21 #define OPM_PRECONDITIONER_HEADER_INCLUDED 24 #include <opm/simulators/linalg/gpubridge/opencl/opencl.hpp> 27 #include <opm/simulators/linalg/gpubridge/WellContributions.hpp> 33 enum PreconditionerType {
39 template<
class Scalar>
class BlockedMatrix;
41 template<
class Scalar,
unsigned int block_size,
class ApplyScalar = Scalar>
52 : verbosity(verbosity_)
59 static std::unique_ptr<Preconditioner> create(PreconditionerType type,
60 bool opencl_ilu_parallel,
64 virtual void apply(
const ApplyScalar& y,
Definition: amgclSolverBackend.cpp:49
Definition: Preconditioner.hpp:42
This class serves to eliminate the need to include the WellContributions into the matrix (with –matr...
Definition: GpuBridge.hpp:30
This struct resembles a blocked csr matrix, like Dune::BCRSMatrix.
Definition: BlockedMatrix.hpp:28