Neko  0.8.1
A portable framework for high-order spectral element flow simulations
time_based_controller.f90 File Reference

Go to the source code of this file.

Data Types

type  time_based_controller::time_based_controller_t
 A utility type for determening whether an action should be executed based on the current time value. Used to e.g. control whether we should write a file or execute a simcomp. Note that the nexecutions variable should be incremented externally by calling the register_execution procedure. This is to allow running the the check multiple times at the same time step. More...
 
interface  time_based_controller::assignment(=)
 

Modules

module  time_based_controller
 Contains the time_based_controller_t type.
 

Functions/Subroutines

subroutine time_based_controller::time_based_controller_init (this, end_time, control_mode, control_value)
 Constructor. More...
 
logical function time_based_controller::time_based_controller_check (this, t, tstep, force)
 Check if the execution should be performed. More...
 
subroutine time_based_controller::time_based_controller_assignment (ctrl1, ctrl2)
 Assignment operator. Simply copies attribute values. More...
 
subroutine time_based_controller::time_based_controller_register_execution (this)
 Increment nexectutions. More...
 
subroutine time_based_controller::time_based_controller_set_counter (this, t)
 Set the counter based on a time (for restarts) More...