Skip to content
Snippets Groups Projects
Commit 2b2a31ca authored by Markus Blatt's avatar Markus Blatt
Browse files

Add a mode to SuperLU where apply uses freshly allocated vectors.

Previously the two vectors are allocated in
the first call to apply. These got resused in subsequent calls to apply
and are deallocated in the destructor. Using the new mode these vectors are allocated
at the beginning and deallocated at the end of each apply method. This allows
using the same instance of superlu from different threads.

Patch provided by Arne Morten Kvarving. I just added some more
documemtation and a missing initialization.

[[Imported from SVN: r1754]]
parent 9cff642c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment