Go to the source code of this file.
|
void | cs_cdo_advection_set_cip_coef (double new_value) |
| Set the value of the stabilization coefficient used in CIP scheme. More...
|
|
double | cs_cdo_advection_get_cip_coef (void) |
| Get the value of the stabilization coefficient used in CIP scheme. More...
|
|
cs_cdo_adv_t * | cs_cdo_advection_builder_init (const cs_cdo_connect_t *connect, const cs_equation_param_t *eqp, bool do_diffusion) |
| Initialize a builder structure for the convection operator. More...
|
|
cs_cdo_adv_t * | cs_cdo_advection_builder_free (cs_cdo_adv_t *b) |
| Destroy a builder structure for the convection operator. More...
|
|
cs_locmat_t * | cs_cdovb_advection_build (const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, const cs_real_33_t diffmat, cs_cdo_adv_t *b) |
| Compute the convection operator attached to a cell with a CDO vertex-based scheme. More...
|
|
cs_locmat_t * | cs_cdovcb_advection_build (const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, cs_cdo_adv_t *b) |
| Compute the convection operator attached to a cell with a CDO vertex+cell-based scheme. More...
|
|
void | cs_cdovb_advection_add_bc (const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, cs_cdo_adv_t *b, cs_cdo_locsys_t *ls) |
| Compute the BC contribution for the convection operator. More...
|
|
void | cs_cdovcb_advection_add_bc (const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, cs_cdo_adv_t *b, cs_cdo_locsys_t *ls) |
| Compute the BC contribution for the convection operator with CDO V+C schemes. More...
|
|
void | cs_cdo_advection_get_upwind_coef_cell (const cs_cdo_quantities_t *cdoq, const cs_param_advection_t a_info, cs_real_t coefval[]) |
| Compute the value in each cell of the upwinding coefficient given a related Peclet number. More...
|
|
§ cs_cdo_adv_t
§ cs_cdo_advection_builder_free()
Destroy a builder structure for the convection operator.
- Parameters
-
[in,out] | b | pointer to a cs_cdo_adv_t struct. to free |
- Returns
- a NULL pointer
§ cs_cdo_advection_builder_init()
Initialize a builder structure for the convection operator.
- Parameters
-
[in] | connect | pointer to the connectivity structure |
[in] | eqp | pointer to a cs_equation_param_t structure |
[in] | do_diffusion | true is diffusion is activated |
- Returns
- a pointer to a new allocated builder structure
§ cs_cdo_advection_get_cip_coef()
double cs_cdo_advection_get_cip_coef |
( |
void |
| ) |
|
Get the value of the stabilization coefficient used in CIP scheme.
- Returns
- the value the stabilization coefficient
§ cs_cdo_advection_get_upwind_coef_cell()
Compute the value in each cell of the upwinding coefficient given a related Peclet number.
- Parameters
-
[in] | cdoq | pointer to the cdo quantities structure |
[in,out] | coefval | pointer to the pointer of real numbers to fill in: Peclet number in each cell out: value of the upwind coefficient |
[in] | cdoq | pointer to the cdo quantities structure |
[in] | a_info | set of options for the advection term |
[in,out] | coefval | pointer to the pointer of real numbers to fill in: Peclet number in each cell out: value of the upwind coefficient |
§ cs_cdo_advection_set_cip_coef()
void cs_cdo_advection_set_cip_coef |
( |
double |
new_value | ) |
|
Set the value of the stabilization coefficient used in CIP scheme.
- Parameters
-
[in] | new_value | value of the stabilization coefficient |
§ cs_cdovb_advection_add_bc()
Compute the BC contribution for the convection operator.
- Parameters
-
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | eqp | pointer to a cs_equation_param_t structure |
[in,out] | b | pointer to a convection builder structure |
[in,out] | ls | cell-wise structure sotring the local system |
§ cs_cdovb_advection_build()
Compute the convection operator attached to a cell with a CDO vertex-based scheme.
- Parameters
-
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | eqp | pointer to a cs_equation_param_t structure |
[in] | diffmat | tensor related to the diffusion property |
[in,out] | b | pointer to a convection builder structure |
- Returns
- a pointer to a local dense matrix structure
§ cs_cdovcb_advection_add_bc()
Compute the BC contribution for the convection operator with CDO V+C schemes.
- Parameters
-
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | eqp | pointer to a cs_equation_param_t structure |
[in,out] | b | pointer to a convection builder structure |
[in,out] | ls | cell-wise structure sotring the local system |
§ cs_cdovcb_advection_build()
Compute the convection operator attached to a cell with a CDO vertex+cell-based scheme.
- Parameters
-
- Returns
- a pointer to a local dense matrix structure