Xiangdong <epsco...@gmail.com> writes: > It seems that TSAdaptChoose_Basic only uses the local truncation error to > predict the next time step. Do you also include the number of snes > iterations in computing the next time step in some adapt option?
TSAdaptChoose_Basic doesn't use the number of iterations (you can set your own callback for whatever policy you want), but TSAdaptCheckStage handles SNES failures and you can set a max number of SNES iterations. (This could be less efficient than a progressive function that gradually reduces time step as the number of iterations increases.)
signature.asc
Description: PGP signature