1 #ifndef __CS_EQUATION_BC_H__ 2 #define __CS_EQUATION_BC_H__ 99 const short int neu_tags[],
127 const short int neu_tags[],
239 const short int *f2v_ids,
void cs_equation_compute_dirichlet_fb(const cs_mesh_t *mesh, const cs_cdo_quantities_t *quant, const cs_cdo_connect_t *connect, const cs_equation_param_t *eqp, const cs_cdo_bc_t *face_bc, cs_real_t t_eval, cs_cell_builder_t *cb, cs_real_t *values)
Compute the values of the Dirichlet BCs when DoFs are attached to CDO face-based schemes.
Definition: cs_equation_bc.c:636
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources...
Definition: cs_equation_param.h:159
#define BEGIN_C_DECLS
Definition: cs_defs.h:462
cs_flag_t * cs_equation_set_vertex_bc_flag(const cs_cdo_connect_t *connect, const cs_cdo_bc_t *face_bc)
Define an array of flags for each vertex collecting the flags of associated boundary faces...
Definition: cs_equation_bc.c:782
Set of local quantities and connectivities related to a mesh cell This is a key structure for all cel...
Definition: cs_cdo_local.h:163
Definition: cs_cdo_bc.h:95
Definition: cs_cdo_connect.h:74
double cs_real_t
Floating-point value.
Definition: cs_defs.h:297
Definition: cs_cdo_quantities.h:94
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:112
void cs_equation_compute_neumann_fb(short int def_id, short int f, const cs_cdo_quantities_t *quant, const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_real_t t_eval, double *neu_values)
Compute the values of the Neumann BCs when DoFs are attached to faces.
Definition: cs_equation_bc.c:961
short int * cs_equation_tag_neumann_face(const cs_cdo_quantities_t *quant, const cs_equation_param_t *eqp)
Tag each face related to a Neumann BC with its definition id. Default tag is -1 (not a Neumann face) ...
Definition: cs_equation_bc.c:821
void cs_equation_vb_set_cell_bc(const cs_cell_mesh_t *cm, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_equation_param_t *eqp, const cs_real_t dir_values[], const short int neu_tags[], cs_real_t t_eval, cs_cell_sys_t *csys, cs_cell_builder_t *cb)
Set the BC into a cellwise view of the current system. Case of vertex-based schemes.
Definition: cs_equation_bc.c:241
void cs_equation_fb_set_cell_bc(const cs_cell_mesh_t *cm, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_equation_param_t *eqp, const cs_real_t dir_values[], const short int neu_tags[], cs_real_t t_eval, cs_cell_sys_t *csys, cs_cell_builder_t *cb)
Set the BC into a cellwise view of the current system. Case of Face-based schemes.
Definition: cs_equation_bc.c:332
Set of local and temporary buffers useful for building the algebraic system with a cellwise process...
Definition: cs_cdo_local.h:75
void cs_equation_compute_neumann_sv(short int def_id, short int f, const cs_cdo_quantities_t *quant, const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const short int *f2v_ids, cs_real_t t_eval, double *neu_values)
Compute the values of the Neumann BCs when DoFs are scalar-valued and attached to vertices...
Definition: cs_equation_bc.c:868
#define END_C_DECLS
Definition: cs_defs.h:463
unsigned short int cs_flag_t
Definition: cs_defs.h:299
void cs_equation_init_boundary_flux_from_bc(cs_real_t t_eval, const cs_cdo_quantities_t *cdoq, const cs_equation_param_t *eqp, cs_real_t *values)
Set the values for the normal boundary flux stemming from the Neumann boundary conditions (zero is le...
Definition: cs_equation_bc.c:152
void cs_equation_compute_dirichlet_vb(const cs_mesh_t *mesh, const cs_cdo_quantities_t *quant, const cs_cdo_connect_t *connect, const cs_equation_param_t *eqp, const cs_cdo_bc_t *face_bc, cs_real_t t_eval, cs_cell_builder_t *cb, cs_real_t *values)
Compute the values of the Dirichlet BCs when DoFs are attached to vertices.
Definition: cs_equation_bc.c:409
Structure and routines handling the specific settings related to a cs_equation_t structure.