last scalars

This commit is contained in:
Razvan Nane
2024-06-05 15:30:08 +02:00
parent b51f27517b
commit a1c238df8e
3 changed files with 3 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ public:
// via Lz = y
// and Ux = z
void apply(const cl::Buffer& y, cl::Buffer& x) override;
void apply(double& y, double& x) {}
void apply(Scalar& y, Scalar& x) {}
std::tuple<std::vector<int>, std::vector<int>, std::vector<int>>
get_preconditioner_structure()

View File

@@ -125,7 +125,7 @@ public:
// apply preconditioner, x = prec(y)
void apply(const cl::Buffer& y, cl::Buffer& x) override;
void apply(double& y, double& x) {}
void apply(Scalar& y, Scalar& x) {}
};
/// Similar function to csrPatternToCsc. It gives an offset map from CSR to CSC instead of the full CSR to CSC conversion.

View File

@@ -95,7 +95,7 @@ public:
// applies blocked ilu0
// also applies amg for pressure component
void apply(const cl::Buffer& y, cl::Buffer& x) override;
void apply(double& y, double& x) {}
void apply(Scalar& y, Scalar& x) {}
bool create_preconditioner(BlockedMatrix<Scalar>* mat) override;
bool create_preconditioner(BlockedMatrix<Scalar>* mat,