sparse.linalg.splu can I use option Fact=SamePattern
I am using scipy in a time variable flow model. The matrix pattern does not change over time, so the matrix reordering does not need to be recalculated each timestep. SuperLU supports this with the Fact=SamePattern option - can it be done using the python interface - if so please give an example. Thanks John John Floyd Water, Wetlands and Coasts Science Office of Environment and Heritage Department of Premier and Cabinet john.floyd@environment.nsw.gov.au <mailto:e@environment.nsw.gov.au> Ph: 02-9995-5656 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- This email is intended for the addressee(s) named and may contain confidential and/or privileged information. If you are not the intended recipient, please notify the sender and then delete it immediately. Any views expressed in this email are those of the individual sender except where the sender expressly and with authority states them to be the views of the Office of Environment and Heritage, NSW Department of Premier and Cabinet. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL
09.08.2013 05:26, John Floyd kirjoitti: [clip]
SuperLU supports this with the Fact=SamePattern option - can it be done using the python interface - if so please give an example.
I'm sure you are the first to try to use the Python wrapper for this purpose, so the answers to your two questions here are not known. If the matter in using SuperLU is simply to pass in this flag, then it will probably work, but if you also need to pass in additional data telling SuperLU about the previous permutation, then it probably won't work out of the box. -- Pauli Virtanen
participants (2)
-
John Floyd -
Pauli Virtanen