openclCPR.hpp
Go to the documentation of this file.
43class openclCPR : public openclPreconditioner<Scalar,block_size>, public CprCreation<Scalar, block_size>
58 std::vector<OpenclMatrix<Scalar>> d_Amatrices, d_Rmatrices; // scalar matrices that represent the AMG hierarchy
Definition: BlockedMatrix.hpp:29 This class implements a Constrained Pressure Residual (CPR) preconditioner. Definition: CprCreation.hpp:39 This class implements a Constrained Pressure Residual (CPR) preconditioner. Definition: openclCPR.hpp:44 void apply(const cl::Buffer &y, cl::Buffer &x) override bool create_preconditioner(BlockedMatrix< Scalar > *mat, BlockedMatrix< Scalar > *jacMat) override openclCPR(bool opencl_ilu_parallel, int verbosity) bool analyze_matrix(BlockedMatrix< Scalar > *mat) override bool analyze_matrix(BlockedMatrix< Scalar > *mat, BlockedMatrix< Scalar > *jacMat) override bool create_preconditioner(BlockedMatrix< Scalar > *mat) override void apply(Scalar &, Scalar &) override Definition: openclCPR.hpp:98 void setOpencl(std::shared_ptr< cl::Context > &context, std::shared_ptr< cl::CommandQueue > &queue) override Definition: openclPreconditioner.hpp:32 std::shared_ptr< cl::Context > context Definition: openclPreconditioner.hpp:35 std::vector< cl::Event > events Definition: openclPreconditioner.hpp:37 std::shared_ptr< cl::CommandQueue > queue Definition: openclPreconditioner.hpp:36 Definition: amgclSolverBackend.hpp:44 |