mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
Add an overload suited to pointer arguments (primitive types).
This commit is contained in:
1 parent
4f488a08e7
commit
01eb7a2214
1 file changed
+10
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user