mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make use of template argument deduction for createAMGPreconditionerPointer
This commit is contained in:
@@ -276,7 +276,7 @@ createEllipticPreconditionerPointer(const M& Ae, double relax,
|
||||
/// \param relax The relaxation parameter for ILU0.
|
||||
/// \param comm The object describing the parallelization information and communication.
|
||||
// \param amgPtr The unique_ptr to be filled (return)
|
||||
template <class Op, class P, class AMG, int pressureIndex=0 >
|
||||
template < int pressureIndex=0, class Op, class P, class AMG >
|
||||
inline void
|
||||
createAMGPreconditionerPointer( Op& opA, const double relax, const P& comm, std::unique_ptr< AMG >& amgPtr )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user