mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Silence unused argument warnings.
This commit is contained in:
parent
0e1db0c6bd
commit
032701ffc9
@ -394,7 +394,7 @@ namespace Dune
|
||||
|
||||
template<class M, class X, class S, class PI, class A>
|
||||
template<class C>
|
||||
void AMGCPR<M,X,S,PI,A>::updateSolver(C& criterion, Operator& /* matrix */, const PI& pinfo)
|
||||
void AMGCPR<M,X,S,PI,A>::updateSolver(C& /* criterion */, Operator& /* matrix */, const PI& /* pinfo */)
|
||||
{
|
||||
Timer watch;
|
||||
smoothers_.reset(new Hierarchy<Smoother,A>);
|
||||
|
@ -450,9 +450,11 @@ public:
|
||||
delete policy_;
|
||||
delete coarseSolver_;
|
||||
}
|
||||
void updatePreconditioner(FineOperatorType& op,
|
||||
|
||||
void updatePreconditioner(FineOperatorType& /* op */,
|
||||
std::shared_ptr<SmootherType> smoother,
|
||||
CoarseLevelSolverPolicy& coarsePolicy){
|
||||
CoarseLevelSolverPolicy& coarsePolicy)
|
||||
{
|
||||
//assume new matrix is not reallocated the new precondition should anyway be made
|
||||
smoother_ = smoother;
|
||||
if (coarseSolver_) {
|
||||
@ -466,7 +468,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void pre(FineDomainType& x, FineRangeType& b)
|
||||
{
|
||||
smoother_->pre(x,b);
|
||||
|
Loading…
Reference in New Issue
Block a user