Miguel Angel Salazar de Troya <[email protected]> writes: > I would like to record the information about the failed steps in an > adaptive time stepping algorithm. I have noticed that I could call > TSPreStep() and get the current time step, but I want to store it in an > external data structure. Now, for TSMonitor(), one of the arguments is a > context that I can use to store some results. Is there a similar thing for > TSPreStep() How could I implement it?
You could use TSSetApplicationContext and TSGetApplicationContext. I think it is purely historical that TSSetPreStep() does not include a context -- perhaps it should be changed.
signature.asc
Description: PGP signature
