mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixed warnings
This commit is contained in:
parent
273c99b36f
commit
929cc619f6
@ -466,8 +466,8 @@ namespace Opm
|
||||
double linsolver_prolongate_factor)
|
||||
{
|
||||
// Solve with AMG solver.
|
||||
typedef Dune::MatrixAdapter<typename O::matrix_type, Vector, Vector> Operator;
|
||||
Operator sOpA(opA.getmat());
|
||||
typedef Dune::MatrixAdapter<typename O::matrix_type, Vector, Vector> AMGOperator;
|
||||
AMGOperator sOpA(opA.getmat());
|
||||
|
||||
#if FIRST_DIAGONAL
|
||||
typedef Dune::Amg::FirstDiagonal CouplingMetric;
|
||||
@ -482,7 +482,7 @@ namespace Opm
|
||||
#endif
|
||||
|
||||
typedef Dune::Amg::CoarsenCriterion<CriterionBase> Criterion;
|
||||
typedef Dune::Amg::FastAMG<Operator,Vector> Precond;
|
||||
typedef Dune::Amg::FastAMG<AMGOperator, Vector> Precond;
|
||||
|
||||
// Construct preconditioner.
|
||||
Criterion criterion;
|
||||
|
Loading…
Reference in New Issue
Block a user