MONC
Modules | Functions/Subroutines | Variables
terminationcheck.F90 File Reference

Go to the source code of this file.

Modules

module  terminationcheck_mod
 This component will check for termination conditions at stages of the model run and terminate that specific stage if the parameters have been met.
 

Functions/Subroutines

type(component_descriptor_type) function, public terminationcheck_mod::terminationcheck_get_descriptor ()
 Provides the descriptor back to the caller and is used in component registration. More...
 
subroutine terminationcheck_mod::init_callback (current_state)
 Called upon model initialisation. Will basically read from the options database and set options in the database that are appropriate. More...
 
subroutine terminationcheck_mod::timestep_callback (current_state)
 Timestep hook which is called at each timestep to determine whether or not to terminate timestep iterations. More...
 
integer function terminationcheck_mod::check_messages_file (current_state)
 Checks the messages file for commands which determine user control of the model. More...
 

Variables

integer, parameter terminationcheck_mod::file_line_len =100
 
integer, parameter terminationcheck_mod::file_unit =10
 
integer terminationcheck_mod::max_timesteps
 
integer terminationcheck_mod::check_messages_file_frequency
 
integer terminationcheck_mod::check_walltime_frequency
 
integer terminationcheck_mod::max_walltime_secs
 
real(kind=default_precision) terminationcheck_mod::termination_time
 
character(len=string_length) terminationcheck_mod::messages_file_name
 
logical terminationcheck_mod::check_for_walltime