mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
Remove unused function parameters and default arguments for AMG construction.
It turned out that they are not needed and used.
This commit is contained in:
parent
bf3132e9cf
commit
f381336dff
@ -202,7 +202,7 @@ template < class C, class Op, class P, class S, std::size_t index >
|
||||
inline void
|
||||
createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm,
|
||||
std::unique_ptr< BlackoilAmg<Op,S,C,P,index> >& amgPtr,
|
||||
const CPRParameter& params = CPRParameter())
|
||||
const CPRParameter& params)
|
||||
{
|
||||
using AMG = BlackoilAmg<Op,S,C,P,index>;
|
||||
// TODO: revise choice of parameters
|
||||
@ -226,8 +226,7 @@ createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm,
|
||||
|
||||
template < class C, class Op, class P, class AMG >
|
||||
inline void
|
||||
createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm, std::unique_ptr< AMG >& amgPtr,
|
||||
const CPRParameter& params = CPRParameter())
|
||||
createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm, std::unique_ptr< AMG >& amgPtr)
|
||||
{
|
||||
// TODO: revise choice of parameters
|
||||
int coarsenTarget=1200;
|
||||
|
Loading…
Reference in New Issue
Block a user