1#ifndef __CS_MACFB_PRIV_H__
2#define __CS_MACFB_PRIV_H__
117 cs_macfb_priv_t *eqc);
#define BEGIN_C_DECLS
Definition cs_defs.h:542
double cs_real_t
Floating-point value.
Definition cs_defs.h:342
#define END_C_DECLS
Definition cs_defs.h:543
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:335
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:90
void cs_macfb_adv_close_hook_t(const cs_cell_mesh_t *cm, const cs_macfb_builder_t *macb, const cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Operation done after the matrix related to the advection term has been defined.
Definition cs_macfb_advection.h:137
void cs_macfb_adv_open_hook_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_macfb_builder_t *macb, const cs_cell_sys_t *csys, void *input, cs_cell_builder_t *cb)
Perform preprocessing such as the computation of the advection flux at the expected location in order...
Definition cs_macfb_advection.h:72
void cs_macfb_adv_build_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_macfb_builder_t *macb, cs_macfb_adv_scheme_t *scheme_func, cs_cell_sys_t *csys, cs_cell_builder_t *cb)
Build the cellwise advection operator for MAC-Fb schemes The local matrix related to this operator is...
Definition cs_macfb_advection.h:118
void cs_macfb_adv_scheme_t(const cs_cell_mesh_t *cm, const cs_macfb_builder_t *macb, cs_cell_builder_t *cb, cs_sdm_t *adv, cs_real_t *rhs)
Define the local convection operator in MAC-Fb schemes. Case of an operator that should be assemble i...
Definition cs_macfb_advection.h:94
void cs_macfb_set_advection_function(const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, cs_macfb_priv_t *eqc)
Set the advection-related parameters in the context structure of MAC face-based schemes.
Definition cs_macfb_priv.cpp:90
Definition cs_macfb_priv.h:51
cs_lnum_t n_dofs
Definition cs_macfb_priv.h:61
cs_macfb_adv_build_t * advection_main
Definition cs_macfb_priv.h:86
cs_macfb_adv_scheme_t * advection_scheme
Definition cs_macfb_priv.h:88
cs_cdo_enforce_bc_t * enforce_sliding
Definition cs_macfb_priv.h:78
cs_hodge_param_t mass_hodgep
Definition cs_macfb_priv.h:94
cs_hodge_t ** diffusion_hodge
Definition cs_macfb_priv.h:75
cs_cdo_enforce_bc_t * enforce_dirichlet
Definition cs_macfb_priv.h:76
cs_lnum_t n_faces
Definition cs_macfb_priv.h:60
cs_macfb_adv_close_hook_t * advection_close
Definition cs_macfb_priv.h:87
cs_real_t * face_values_pre
Definition cs_macfb_priv.h:66
cs_macfb_adv_open_hook_t * advection_open
Definition cs_macfb_priv.h:85
void * advection_input
Definition cs_macfb_priv.h:90
cs_real_t * source_terms
Definition cs_macfb_priv.h:71
int bflux_field_id
Definition cs_macfb_priv.h:56
cs_cdo_enforce_bc_t * enforce_robin_bc
Definition cs_macfb_priv.h:77
cs_real_t * face_values
Definition cs_macfb_priv.h:65
int var_field_id
Definition cs_macfb_priv.h:55
cs_hodge_t ** mass_hodge
Definition cs_macfb_priv.h:95
Store common elements used when building an algebraic system related to an equation.
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources.
Definition cs_equation_param.h:193
Structure storing all metadata/parameters related to the usage of a discrete Hodge operator.
Definition cs_hodge.h:151
Structure associated to a discrete Hodge operator *.
Definition cs_hodge.h:183