|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_DOMAIN_H__
2 #define __CS_DOMAIN_H__
57 #define CS_DOMAIN_CDO_MODE_OFF -1
58 #define CS_DOMAIN_CDO_MODE_WITH_FV 1
59 #define CS_DOMAIN_CDO_MODE_ONLY 2
Structure storing the main features of the computational domain and pointers to the main geometrical ...
Definition: cs_domain.h:87
Structure storing medata for defining a quantity in a very flexible way.
Definition: cs_xdef.h:126
void cs_domain_set_cdo_mode(cs_domain_t *domain, int mode)
Set the global variable storing the mode of activation to apply to CDO/HHO schemes.
Definition: cs_domain.c:255
void cs_domain_increment_time(cs_domain_t *domain)
Update time step after one temporal iteration.
Definition: cs_domain.c:442
cs_timer_counter_t tcp
Definition: cs_domain.h:120
Definition: cs_timer.h:57
Structure storing information related to the "physical" boundaries that one want to set on the comput...
Definition: cs_boundary.h:77
bool cs_domain_needs_iteration(cs_domain_t *domain)
Check if one needs to continue iterations in time.
Definition: cs_domain.c:302
cs_boundary_t * boundaries
Definition: cs_domain.h:101
#define END_C_DECLS
Definition: cs_defs.h:468
High-level metadata for handling CDO/HHO schemes.
Definition: cs_domain.h:69
cs_cdo_connect_t * connect
Definition: cs_domain.h:97
cs_xdef_t * time_step_def
Definition: cs_domain.h:107
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
int cs_domain_get_cdo_mode(const cs_domain_t *domain)
Get the mode of activation for the CDO/HHO schemes.
Definition: cs_domain.c:281
Definition: cs_mesh_quantities.h:90
static void cs_domain_increment_time_step(cs_domain_t *domain)
Update the time step after one temporal iteration.
Definition: cs_domain.h:145
void cs_domain_cdo_log(const cs_domain_t *domain)
Print a welcome message indicating which mode of CDO is activated.
Definition: cs_domain.c:463
cs_timer_counter_t tcs
Definition: cs_domain.h:122
cs_flag_t vb_scheme_flag
Definition: cs_domain.h:77
cs_domain_t * cs_glob_domain
Definition: cs_domain.c:85
void cs_domain_define_current_time_step(cs_domain_t *domain)
Set the current time step for this new time iteration.
Definition: cs_domain.c:365
void cs_domain_free(cs_domain_t **p_domain)
Free a cs_domain_t structure.
Definition: cs_domain.c:214
cs_mesh_t * mesh
Definition: cs_domain.h:90
void const cs_int_t * mode
Definition: cs_syr_coupling.h:132
time step descriptor
Definition: cs_time_step.h:51
cs_domain_cdo_context_t * cdo_context
Definition: cs_domain.h:117
time step options descriptor
Definition: cs_time_step.h:80
void cs_int_t cs_int_t cs_int_t cs_real_t * ts
Definition: cs_at_plugin.h:63
Definition: cs_cdo_quantities.h:94
Definition: cs_cdo_connect.h:74
bool is_last_iter
Definition: cs_domain.h:106
int verbosity
Definition: cs_domain.h:114
cs_flag_t hho_scheme_flag
Definition: cs_domain.h:79
cs_mesh_quantities_t * mesh_quantities
Definition: cs_domain.h:91
cs_time_step_t * time_step
Definition: cs_domain.h:108
bool cs_domain_needs_log(const cs_domain_t *domain)
Check if an ouput is requested according to the domain setting.
Definition: cs_domain.c:336
bool only_steady
Definition: cs_domain.h:105
cs_time_step_options_t time_options
Definition: cs_domain.h:109
cs_cdo_quantities_t * cdo_quantities
Definition: cs_domain.h:98
unsigned short int cs_flag_t
Definition: cs_defs.h:304
int mode
Definition: cs_domain.h:72
int output_nt
Definition: cs_domain.h:112
cs_flag_t vcb_scheme_flag
Definition: cs_domain.h:78
cs_flag_t fb_scheme_flag
Definition: cs_domain.h:76
int restart_nt
Definition: cs_domain.h:113
cs_boundary_t * ale_boundaries
Definition: cs_domain.h:102
cs_domain_t * cs_domain_create(void)
Create and initialize by default a cs_domain_t structure.
Definition: cs_domain.c:151