1 #ifndef __CS_CDOVB_PRIV_H__ 2 #define __CS_CDOVB_PRIV_H__ 96 const double inv_dtcur,
Store common elements used when building an algebraic system related to an equation.
void() cs_cdovb_advection_bc_t(const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, cs_real_t t_eval, cs_face_mesh_t *fm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Compute the BC contribution for the advection operator in CDO vertex-based (or vertex+cell-based) sch...
Definition: cs_cdo_advection.h:182
cs_cdovb_advection_bc_t * add_advection_bc
Definition: cs_cdovb_priv.h:145
cs_hodge_t ** diffusion_hodge
Definition: cs_cdovb_priv.h:139
void() cs_cdovb_advection_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme. The local matrix related to this operator is stored in cb->loc.
Definition: cs_cdo_advection.h:161
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources...
Definition: cs_equation_param.h:186
void() cs_cdo_enforce_bc_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_face_mesh_t *fm, cs_hodge_t *hodge, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Enforcement of a boundary condition (Dirichlet, Robin, sliding...)
Definition: cs_equation_bc.h:89
cs_hodge_compute_t * get_mass_matrix
Definition: cs_cdovb_priv.h:160
Definition: cs_cdovb_priv.h:107
#define BEGIN_C_DECLS
Definition: cs_defs.h:510
Set of local quantities and connectivities related to a mesh cell.
Definition: cs_cdo_local.h:203
int var_field_id
Definition: cs_cdovb_priv.h:111
Structure associated to a discrete Hodge operator *.
Definition: cs_hodge.h:186
cs_hodge_compute_t * get_stiffness_matrix
Definition: cs_cdovb_priv.h:140
cs_hodge_t ** mass_hodge
Definition: cs_cdofb_priv.h:104
cs_cdo_enforce_bc_t * enforce_sliding
Definition: cs_cdovb_priv.h:135
double cs_real_t
Floating-point value.
Definition: cs_defs.h:322
Set of arrays and local (small) dense matrices related to a mesh cell This is a key structure for bui...
Definition: cs_cdo_local.h:147
cs_hodge_param_t mass_hodgep
Definition: cs_cdovb_priv.h:158
cs_hodge_t ** mass_hodge
Definition: cs_cdovb_priv.h:159
void() cs_cdovb_reaction_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_hodge_t *mass_hodge, const cs_equation_builder_t *eqb, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the reaction term for a CDO vertex-based scheme.
Definition: cs_cdovb_priv.h:71
cs_flag_t * vtx_bc_flag
Definition: cs_cdovb_priv.h:129
cs_lnum_t n_dofs
Definition: cs_cdovb_priv.h:116
int bflux_field_id
Definition: cs_cdovb_priv.h:112
cs_real_t * source_terms
Definition: cs_cdovb_priv.h:121
cs_cdovb_advection_t * get_advection_matrix
Definition: cs_cdovb_priv.h:144
cs_cdo_enforce_bc_t * enforce_robin_bc
Definition: cs_cdovb_priv.h:131
Set of local and temporary buffers.
Definition: cs_cdo_local.h:60
cs_real_t * cell_values
Definition: cs_cdovb_priv.h:125
cs_cdovb_time_t * add_unsteady_term
Definition: cs_cdovb_priv.h:153
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:316
#define END_C_DECLS
Definition: cs_defs.h:511
unsigned short int cs_flag_t
Definition: cs_defs.h:324
cs_cdovb_reaction_t * add_reaction_term
Definition: cs_cdovb_priv.h:149
bool() cs_hodge_compute_t(const cs_cell_mesh_t *cm, cs_hodge_t *hodge, cs_cell_builder_t *cb)
Build a discrete Hodge operator or a related operator (such as the stiffmess matrix) for a given cell...
Definition: cs_hodge.h:221
void() cs_cdovb_time_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_hodge_t *mass_hodge, const double inv_dtcur, cs_equation_builder_t *eqb, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Apply the time scheme for a CDO vertex-based scheme.
Definition: cs_cdovb_priv.h:93
Structure storing all metadata/parameters related to the usage of a discrete Hodge operator...
Definition: cs_hodge.h:154
cs_cdo_enforce_bc_t * enforce_dirichlet
Definition: cs_cdovb_priv.h:130