mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
anonymize unused parameters to quell compiler warnings
This commit is contained in:
parent
2a9077a45c
commit
405a907d63
@ -103,7 +103,7 @@ public:
|
||||
// via Lz = y
|
||||
// and Ux = z
|
||||
void apply(const cl::Buffer& y, cl::Buffer& x) override;
|
||||
void apply(Scalar& y, Scalar& x) {}
|
||||
void apply(Scalar&, Scalar&) {}
|
||||
|
||||
std::tuple<std::vector<int>, std::vector<int>, std::vector<int>>
|
||||
get_preconditioner_structure()
|
||||
|
@ -125,7 +125,7 @@ public:
|
||||
|
||||
// apply preconditioner, x = prec(y)
|
||||
void apply(const cl::Buffer& y, cl::Buffer& x) override;
|
||||
void apply(Scalar& y, Scalar& x) {}
|
||||
void apply(Scalar&, Scalar&) {}
|
||||
};
|
||||
|
||||
/// Similar function to csrPatternToCsc. It gives an offset map from CSR to CSC instead of the full CSR to CSC conversion.
|
||||
|
@ -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(Scalar& y, Scalar& x) {}
|
||||
void apply(Scalar&, Scalar&) {}
|
||||
|
||||
bool create_preconditioner(BlockedMatrix<Scalar>* mat) override;
|
||||
bool create_preconditioner(BlockedMatrix<Scalar>* mat,
|
||||
|
Loading…
Reference in New Issue
Block a user