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)
|
double linsolver_prolongate_factor)
|
||||||
{
|
{
|
||||||
// Solve with AMG solver.
|
// Solve with AMG solver.
|
||||||
typedef Dune::MatrixAdapter<typename O::matrix_type, Vector, Vector> Operator;
|
typedef Dune::MatrixAdapter<typename O::matrix_type, Vector, Vector> AMGOperator;
|
||||||
Operator sOpA(opA.getmat());
|
AMGOperator sOpA(opA.getmat());
|
||||||
|
|
||||||
#if FIRST_DIAGONAL
|
#if FIRST_DIAGONAL
|
||||||
typedef Dune::Amg::FirstDiagonal CouplingMetric;
|
typedef Dune::Amg::FirstDiagonal CouplingMetric;
|
||||||
@ -482,7 +482,7 @@ namespace Opm
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef Dune::Amg::CoarsenCriterion<CriterionBase> Criterion;
|
typedef Dune::Amg::CoarsenCriterion<CriterionBase> Criterion;
|
||||||
typedef Dune::Amg::FastAMG<Operator,Vector> Precond;
|
typedef Dune::Amg::FastAMG<AMGOperator, Vector> Precond;
|
||||||
|
|
||||||
// Construct preconditioner.
|
// Construct preconditioner.
|
||||||
Criterion criterion;
|
Criterion criterion;
|
||||||
|
Loading…
Reference in New Issue
Block a user