7.2
general documentation
cs_time_control.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_log.h"
#include "cs_map.h"
#include "cs_time_control.h"
+ Include dependency graph for cs_time_control.c:

Functions

bool cs_time_control_is_active (cs_time_control_t *tc, const cs_time_step_t *ts)
 
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)
 
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)
 
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)
 
void cs_time_control_get_description (const cs_time_control_t *tc, char *desc, size_t desc_size)
 

Detailed Description

Time dependency control for variables or properties.

Function Documentation

◆ cs_time_control_get_description()

void cs_time_control_get_description ( const cs_time_control_t tc,
char *  desc,
size_t  desc_size 
)

◆ cs_time_control_init_by_func()

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 
)

◆ cs_time_control_init_by_time()

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 
)

◆ cs_time_control_init_by_time_step()

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 
)

◆ cs_time_control_is_active()

bool cs_time_control_is_active ( cs_time_control_t tc,
const cs_time_step_t ts 
)