1 #ifndef __CS_TIME_CONTROL_H__ 2 #define __CS_TIME_CONTROL_H__ Definition: cs_time_control.h:88
time step descriptor
Definition: cs_time_step.h:64
int current_time_step
Definition: cs_time_control.h:126
int start_nt
Definition: cs_time_control.h:106
bool() cs_time_control_func_t(const cs_time_step_t *ts, void *input)
Function pointer to a time control function.
Definition: cs_time_control.h:76
Definition: cs_time_control.h:96
double interval_t
Definition: cs_time_control.h:117
#define BEGIN_C_DECLS
Definition: cs_defs.h:495
int end_nt
Definition: cs_time_control.h:111
bool current_state
Definition: cs_time_control.h:125
double start_t
Definition: cs_time_control.h:107
Definition: cs_time_control.h:86
cs_time_control_type_t type
Definition: cs_time_control.h:100
bool at_start
Definition: cs_time_control.h:102
void * control_input
Definition: cs_time_control.h:121
double last_t
Definition: cs_time_control.h:129
#define END_C_DECLS
Definition: cs_defs.h:496
Definition: cs_time_control.h:87
cs_time_control_func_t * control_func
Definition: cs_time_control.h:120
bool cs_time_control_is_active(cs_time_control_t *tc, const cs_time_step_t *ts)
Definition: cs_time_control.c:153
int interval_nt
Definition: cs_time_control.h:116
void cs_time_control_init_by_time_step(cs_time_control_t *tc, int nt_start, int nt_end, int nt_interval, bool at_start, bool at_end)
Definition: cs_time_control.c:229
double end_t
Definition: cs_time_control.h:112
void cs_time_control_init_by_time(cs_time_control_t *tc, double t_start, double t_end, double t_interval, bool at_start, bool at_end)
Definition: cs_time_control.c:265
int last_nt
Definition: cs_time_control.h:128
bool at_end
Definition: cs_time_control.h:103
cs_time_control_type_t
Definition: cs_time_control.h:84
void cs_time_control_init_by_func(cs_time_control_t *tc, cs_time_control_func_t *control_func, void *control_input, bool at_start, bool at_end)
Definition: cs_time_control.c:306
void cs_time_control_get_description(const cs_time_control_t *tc, char *desc, size_t desc_size)
Definition: cs_time_control.c:335