Saves the abortCriteria to a given configuration.
For further information, see TEM_abortCriteria_load()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_abortCriteria_type), | intent(in) | :: | me |
The abortCriteria to write out as a Lua table. |
||
type(aot_out_type), | intent(inout) | :: | conf |
Handle for the Lua script to write to. |
||
character(len=*), | optional | :: | key |
A name for the table to write the abortCriteria to. Default: 'abort_criteria'. |
subroutine tem_abortCriteria_out(me, conf, key) ! -------------------------------------------------------------------- ! !> The abortCriteria to write out as a Lua table. type(tem_abortCriteria_type), intent(in) :: me !> Handle for the Lua script to write to. type(aot_out_type), intent(inout) :: conf !> A name for the table to write the abortCriteria to. !! Default: 'abort_criteria'. character(len=*), optional :: key ! -------------------------------------------------------------------- ! character(len=labelLen) :: loc_key ! -------------------------------------------------------------------- ! loc_key = 'abort_criteria' if (present(key)) loc_key = key call aot_out_open_table( put_conf = conf, & & tname = loc_key ) call aot_out_val( put_conf = conf, & & val = me%stop_file, & & vname = 'stop_file' ) call aot_out_val( put_conf = conf, & & val = me%steady_state, & & vname = 'steady_state' ) call aot_out_close_table(put_conf = conf) end subroutine tem_abortCriteria_out