Add an overload suited to pointer arguments (primitive types).
This commit is contained in:
parent
f72be4bf80
commit
903c959252
@ -42,6 +42,16 @@ namespace Opm {
|
||||
namespace ImplicitTransportLinAlgSupport {
|
||||
class CSRMatrixUmfpackSolver {
|
||||
public:
|
||||
template <class Vector>
|
||||
void
|
||||
solve(const struct CSRMatrix* A,
|
||||
const Vector b,
|
||||
Vector x) {
|
||||
|
||||
call_UMFPACK(const_cast<CSRMatrix*>(A),
|
||||
b, x);
|
||||
}
|
||||
|
||||
template <class Vector>
|
||||
void
|
||||
solve(const struct CSRMatrix& A,
|
||||
|
Loading…
Reference in New Issue
Block a user