Skip to content
Snippets Groups Projects
Commit d05c9b64 authored by Andreas Dedner's avatar Andreas Dedner
Browse files

adapt to removal of deprecated ISTLCGOp

parent f6f6d97a
No related branches found
No related tags found
1 merge request!9adapt to removal of deprecated ISTLCGOp
Pipeline #25647 passed
......@@ -333,8 +333,9 @@ namespace Fem
template<class DSpace, class RSpace = DSpace>
using LinearInverseOperatorType =
typename std::conditional<symmetric,
Dune::Fem::ISTLCGOp< DiscreteFunctionType<DSpace>, LinearOperatorType<DSpace,RSpace> >,
Dune::Fem::ISTLBICGSTABOp< DiscreteFunctionType<DSpace>, LinearOperatorType<DSpace,RSpace> > >::type;
Dune::Fem::ISTLInverseOperator< DiscreteFunctionType<DSpace>, SolverParameter::cg>,
Dune::Fem::ISTLInverseOperator< DiscreteFunctionType<DSpace>, SolverParameter::bicgstab>
>::type;
};
#else
template< bool dummy >
......@@ -473,8 +474,9 @@ namespace Fem
template<class DSpace, class RSpace = DSpace>
using LinearInverseOperatorType
= typename std::conditional<symmetric,
Dune::Fem::ISTLCGOp< DiscreteFunctionType<DSpace>, LinearOperatorType<DSpace,RSpace> >,
Dune::Fem::ISTLGMResOp< DiscreteFunctionType<DSpace>, LinearOperatorType<DSpace,RSpace> > >::type;
Dune::Fem::ISTLInverseOperator< DiscreteFunctionType<DSpace>, SolverParameter::cg>,
Dune::Fem::ISTLInverseOperator< DiscreteFunctionType<DSpace>, SolverParameter::bicgstab>
>::type;
};
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment