On Sep 13, 2007, at 8:42 PM, Elizabeth Tseng wrote:
I'm wondering how to do with the "dt = " setting in my sweeps
when I use exponential time steps.
:
:
What happens if I change time increase according to manual example:
dexp = -5.
while time() < endTime:
time.setValue(numpy.exp(dexp))
dexp += .5
while ....:
????
I'm not aware that we ever set the total time as an exponential. We
set the time *step* as an exponential in
examples.cahnHilliard.inputTanh1D, which we then pass to solve() (or
sweep()) as normal. If you really want total time to be an
exponential, then you'll need to keep track the difference between
the new time and the old time manually.