tem_timeControl_type Derived Type

type, public :: tem_timeControl_type

Definition of a time control.

The control is active in the range of time between min and max. It will trigger its action after a time interval specified in interval. For all time definitions always the one that occurs first is being used.


Inherits

type~~tem_timecontrol_type~~InheritsGraph type~tem_timecontrol_type tem_timeControl_type type~tem_time_type tem_time_type type~tem_timecontrol_type->type~tem_time_type min, max, interval, trigger

Inherited by

type~~tem_timecontrol_type~~InheritedByGraph type~tem_timecontrol_type tem_timeControl_type type~tem_convergenceheader_type tem_convergenceHeader_type type~tem_convergenceheader_type->type~tem_timecontrol_type timeControl type~tem_output_type tem_output_type type~tem_output_type->type~tem_timecontrol_type timeControl type~tem_tracking_config_type tem_tracking_config_type type~tem_tracking_config_type->type~tem_timecontrol_type timeControl type~tem_restartcontrol_type tem_restartControl_type type~tem_restartcontrol_type->type~tem_timecontrol_type timeControl type~tem_surfdata_type tem_surfData_type type~tem_surfdata_type->type~tem_timecontrol_type timeControl type~tem_simcontrol_type tem_simControl_type type~tem_simcontrol_type->type~tem_timecontrol_type timeControl type~tem_abortcriteria_type tem_abortCriteria_type type~tem_simcontrol_type->type~tem_abortcriteria_type abortCriteria type~tem_adapt_type tem_adapt_type type~tem_adapt_type->type~tem_timecontrol_type time type~tem_balance_type tem_balance_type type~tem_balance_type->type~tem_timecontrol_type timeControl type~tem_convergence_type tem_convergence_type type~tem_convergence_type->type~tem_convergenceheader_type header type~tem_general_type tem_general_type type~tem_general_type->type~tem_simcontrol_type simControl type~tem_general_type->type~tem_balance_type balance type~tem_restart_type tem_restart_type type~tem_general_type->type~tem_restart_type restart type~tem_restart_type->type~tem_restartcontrol_type controller type~tem_tracking_type tem_tracking_type type~tem_tracking_type->type~tem_tracking_config_type config type~solver_type solver_type type~solver_type->type~tem_general_type general type~solver_type~8 solver_type type~solver_type~8->type~tem_general_type general type~solver_type~4 solver_type type~solver_type~4->type~tem_general_type general type~hvs_output_file_type hvs_output_file_type type~hvs_output_file_type->type~tem_restart_type restart type~solver_type~6 solver_type type~solver_type~6->type~tem_general_type general type~tem_abortcriteria_type->type~tem_convergence_type convergence type~solver_type~9 solver_type type~solver_type~9->type~tem_general_type general type~solver_type~3 solver_type type~solver_type~3->type~tem_general_type general type~solver_type~2 solver_type type~solver_type~2->type~tem_general_type general type~solver_type~5 solver_type type~solver_type~5->type~tem_general_type general type~solver_type~7 solver_type type~solver_type~7->type~tem_general_type general type~tem_tracking_instance_type tem_tracking_instance_type type~tem_tracking_instance_type->type~hvs_output_file_type output_file

Contents


Components

TypeVisibilityAttributesNameInitial
type(tem_time_type), private :: min

Minimal point in time, from where on, this control should be active. Whichever time definition happens first will be used.

type(tem_time_type), private :: max

Maximal point in time, after which the control should not be active anymore. Whichever time definition happens first will be used.

type(tem_time_type), private :: interval

A regular interval at which an action should be triggered between min and max.

type(tem_time_type), private :: trigger

Keep track of the next point in time, at which an action should be triggered by this control.

logical, private :: delay_check =.false.

Configuration flag, whether to use nonblocking allreduces to determine whether an event has triggered across all processes.

Note that this delays the reaction on the trigger by one check interval (given by check_iter in number of iterations).

integer, private :: check_iter =1

Trigger checking can involve communication and is potentially hurting the performance.

With this setting, the iteration interval at which these trigger updates should be done, can be controlled. Per default each iteration a check is done, but if this is too frequent, it can be increased here. However, it should be noted, that all trigger checks are only done every check_iter iteration.

integer, private :: check_request =MPI_REQUEST_NULL

IAllreduce request handle

logical, private :: globally_triggered

Flag to indicate whether trigger was globally activated

logical, private :: needs_reduce

Flag to indicate if this control object needs a MPI_reduce to determine trigger status.

logical, private :: min_reached =.false.

Flag that indicates whether the minimal point in time specified in min has already been reached.