18 Feb
2021
18 Feb
'21
6:22 a.m.
Mark monitors are not supposed to change the TS. You can think at monitors being 'const' methods of the TS. Also, TSMonitor is called at the beginning of each step , see here https://gitlab.com/petsc/petsc/-/blob/master/src/ts/interface/ts.c#L4169 Il giorno gio 18 feb 2021 alle ore 15:16 Mark Adams <[email protected]> ha scritto:
TSSetConvergedReason(ts,TS_CONVERGED_USER);
does not seem to stop the iteration in a user monitor function. I have verified that it works from a post step method. Is this intentional?
Mark
-- Stefano
1998
Age (days ago)
1998
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefano Zampini