Mark Adams <[email protected]> writes: >> thank you for your input and sorry my late reply: I saw your email only >> now. >> By setting up the solver each time step you mean re-defining the KSP >> context every time? >> > > THe simplest thing is to just delete the object and create it again. THere > are "reset" methods that do the same thing semantically but it is probably > just easier to destroy the KSP object and recreate it and redo your setup > code.
Mark, if PCReset (via KSPReset) does not produce the same behavior as destroying the KSP and recreating it, it is a bug. I think this is the case, but if it's not, it needs to be fixed.
pgpAIsGYEAWnt.pgp
Description: PGP signature
