mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-20 11:48:25 -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
|
inline void
|
||||||
createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm,
|
createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm,
|
||||||
std::unique_ptr< BlackoilAmg<Op,S,C,P,index> >& amgPtr,
|
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>;
|
using AMG = BlackoilAmg<Op,S,C,P,index>;
|
||||||
// TODO: revise choice of parameters
|
// 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 >
|
template < class C, class Op, class P, class AMG >
|
||||||
inline void
|
inline void
|
||||||
createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm, std::unique_ptr< AMG >& amgPtr,
|
createAMGPreconditionerPointer(Op& opA, const double relax, const P& comm, std::unique_ptr< AMG >& amgPtr)
|
||||||
const CPRParameter& params = CPRParameter())
|
|
||||||
{
|
{
|
||||||
// TODO: revise choice of parameters
|
// TODO: revise choice of parameters
|
||||||
int coarsenTarget=1200;
|
int coarsenTarget=1200;
|
||||||
|
Loading…
Reference in New Issue
Block a user