Definition of the various abort criteria.
Currently we only have two in addition to the time controlled and erroneous aborts. Solvers may pass an additional type to load extra parameters for aborts from the abortcriteria table.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=labelLen), | public | :: | stop_file |
A file which should cause the simulation to stop. Default: ''. If this is a non empty string, the solver will stop at the next opportunity if it detects a file with the name provided here in the current working directory. Thus the simulation could be stopped by doing a "touch stop" in the working directory of the application. Such an empty file will be deleted, after it is detected. If you want the stop file to stay on the file system, there has to be something in it, which can be achieved by "echo keep > stop" for example. |
|||
logical, | public | :: | steady_state |
Should the simulation be checked for a steady state convergence and stop if it is detected? Default: .false. |
|||
type(tem_convergence_type), | public, | allocatable | :: | convergence(:) |
Convergence conditions for steady state check. Filled only when steady_state is True |
type tem_abortCriteria_type !> A file which should cause the simulation to stop. !! Default: ''. !! !! If this is a non empty string, the solver will stop at the next !! opportunity if it detects a file with the name provided here in the !! current working directory. Thus the simulation could be stopped by !! doing a "touch stop" in the working directory of the application. !! Such an empty file will be deleted, after it is detected. !! If you want the stop file to stay on the file system, there has to !! be something in it, which can be achieved by "echo keep > stop" !! for example. character(len=labelLen) :: stop_file !> Should the simulation be checked for a steady state convergence and !! stop if it is detected? Default: .false. logical :: steady_state !> Convergence conditions for steady state check. !! Filled only when steady_state is True type(tem_convergence_type), allocatable :: convergence(:) end type tem_abortCriteria_type