My Project
programmer's documentation
|
Store common elements used when building an algebraic system related to an equation. More...
#include <cs_equation_common.h>
Data Fields | |
bool | init_step |
Flags to know what to build and how to build such terms | |
cs_flag_t | msh_flag |
cs_flag_t | bd_msh_flag |
cs_flag_t | st_msh_flag |
cs_flag_t | sys_flag |
Metadata related to associated physical properties | |
bool | diff_pty_uniform |
bool | time_pty_uniform |
bool | reac_pty_uniform [CS_CDO_N_MAX_REACTIONS] |
Source terms | |
cs_mask_t * | source_mask |
cs_source_term_cellwise_t * | compute_source [CS_N_MAX_SOURCE_TERMS] |
Boundary conditions | |
cs_cdo_bc_face_t * | face_bc |
Performance monitoring | |
Monitoring the efficiency of the algorithm used to manipulate/build an equation. | |
cs_timer_counter_t | tcb |
cs_timer_counter_t | tcd |
cs_timer_counter_t | tca |
cs_timer_counter_t | tcr |
cs_timer_counter_t | tcs |
cs_timer_counter_t | tce |
Store common elements used when building an algebraic system related to an equation.
cs_flag_t bd_msh_flag |
Information related to what to build in a cs_cell_mesh_t structure for a cell close to the boundary
compute_source |
Pointer to functions which compute the value of the source term
bool diff_pty_uniform |
Is diffusion property uniform ?
face_bc |
Information about boundary conditions applied to faces
face_bc should not change during the simulation. The case of a definition of the BCs which changes of type during the simulation is possible but not implemented. You just have to call the initialization step each time the type of BCs is modified to define an updated cs_cdo_bc_face_t structure.
bool init_step |
true if this is the initialization step
cs_flag_t msh_flag |
Information related to what to build in a cs_cell_mesh_t structure for a generic cell
bool reac_pty_uniform[CS_CDO_N_MAX_REACTIONS] |
Is each reaction property uniform ?
cs_mask_t* source_mask |
NULL if no source term or one source term is defined. Allocated to n_cells in order to know in each cell which source term has to be computed
cs_flag_t st_msh_flag |
Information related to what to build in a cs_cell_mesh_t structure when only the source term has to be built
cs_flag_t sys_flag |
Information related to the sytem
Cumulated elapsed time for building advection terms
Cumulated elapsed time for building the current system: tcb >= tcd+tca+tcr+tcs+tcs
Cumulated elapsed time for building diffusion terms
Cumulated elapsed time for computing all extra operations (post, balance, fluxes...)
Cumulated elapsed time for building reaction terms
Cumulated elapsed time for building source terms
bool time_pty_uniform |
Is time property uniform ?