dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22558
Re: [Question #152507]: Different answer for each time the solver gets called
Question #152507 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/152507
Status: Answered => Open
Ole Elvetun is still having a problem:
I tried typing "%reset", but that didn't help.
When running from command line, it works, but I assume that in this
case, everything is totally forgotten, but it doesn't seem that way when
running from iPython, even though I clear everything out(which is really
weird!).
The reason why I'm bothered by this, is because I have to call the
solver several times when I'm computing the Hessian of a cost-
functional, and the same effect takes place here. That is, the solver
gets really messed up at repeated calls, and I don't see how I can avoid
this.
Just as additional information: I tried using Krylov-solver with ILU-
conditioning on a somewhat similar problem(not this one, but one with
subdomains and neumann conditions), and when calling first time, I
always got the same solution, but when calling repeatedly, it
"converged" at zero iteration to u = 0.
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
References