28 Nov
2012
28 Nov
'12
3 p.m.
Hello SfePy users.
A question:
Is the VariableTimeStepper usable yet? Is there a "proper" way to use it? Are there any examples I have overlooked?
I have tried to manually replace it, i.e.: ### time_solver.ts=VariableTimeStepper(0.,30.,dt=0.001,step=0.,n_step=30001.) problem.ts=time_solver.ts.copy() ###
but this throws up problems when using the problem.advance(ts). As far as i can see the ProblemDef.update_time_stepper(ts) and the ts.set_from_ts(ts) functions are not compatible with the VariableTimeStepper subclass, and does not copy the n_step0 and dt variables correctly.
But then again I might just be doing it wrong ;D
Hope that somebody can help me!