← Back to team overview

dolfin team mailing list archive

[Question #105253]: Lu.factorize solver by UMFPACK

 

New question #105253 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/105253

I am trying to use Lu factorized solver, for that did like this.

LUSolver solver("lu");
Matrix M;
Vector b;
assemble(M, *a);
assemble(b, *L);
solver.factorize(M);
solver.factorized_solve(u.vector(), b);

The matrix M is a mass matrix. But I get runtime error:

terminate called after throwing an instance of 'std::runtime_error'
  what():  *** Error: Unable to return pointers to underlying matrix data.

Did someone experienced such output? Do you know how to fix it?

Thanks,
Murtazo

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups