Go to the source code of this file.
|
| void | cs_cdovb_scaleq_init_buffer (const cs_cdo_connect_t *connect) |
| | Allocate work buffer related to cdo vertex-based schemes. More...
|
| |
| void | cs_cdovb_scaleq_free_buffer (void) |
| | Free work buffer related to cdo vertex-based schemes. More...
|
| |
| cs_real_t * | cs_cdovb_scaleq_get_tmpbuf (void) |
| | Retrieve a pointer to a temporary buffer related to scalar equations discretized with CDO vertex-based schemes. More...
|
| |
| void * | cs_cdovb_scaleq_init (const cs_equation_param_t *eqp, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *time_step) |
| | Initialize a cs_cdovb_scaleq_t structure. More...
|
| |
| void * | cs_cdovb_scaleq_free (void *builder) |
| | Destroy a cs_cdovb_scaleq_t structure. More...
|
| |
| void | cs_cdovb_scaleq_compute_source (void *builder) |
| | Compute the contributions of source terms (store inside builder) More...
|
| |
| void | cs_cdovb_scaleq_build_system (const cs_mesh_t *mesh, const cs_real_t *field_val, double dt_cur, void *builder, cs_real_t **rhs, cs_sla_matrix_t **sla_mat) |
| | Build the linear system arising from a scalar convection/diffusion equation with a CDO vertex-based scheme. One works cellwise and then process to the assembly. More...
|
| |
| void | cs_cdovb_scaleq_update_field (const cs_real_t *solu, void *builder, cs_real_t *field_val) |
| | Post-process the solution of a scalar convection/diffusion equation solved with a CDO vertex-based scheme. More...
|
| |
| void | cs_cdovb_scaleq_post (const char *eqname, const cs_field_t *field, void *builder) |
| | Post-processing related to this equation. More...
|
| |
Build the linear system arising from a scalar convection/diffusion equation with a CDO vertex-based scheme. One works cellwise and then process to the assembly.
- Parameters
-
| [in] | mesh | pointer to a cs_mesh_t structure |
| [in] | field_val | pointer to the current value of the field |
| [in] | dt_cur | current value of the time step |
| [in,out] | builder | pointer to cs_cdovb_scaleq_t structure |
| [in,out] | rhs | right-hand side |
| [in,out] | sla_mat | pointer to cs_sla_matrix_t structure pointer |
| void cs_cdovb_scaleq_compute_source |
( |
void * |
builder | ) |
|
Compute the contributions of source terms (store inside builder)
- Parameters
-
| [in,out] | builder | pointer to a cs_cdovb_scaleq_t structure |
| void* cs_cdovb_scaleq_free |
( |
void * |
builder | ) |
|
Destroy a cs_cdovb_scaleq_t structure.
- Parameters
-
| [in,out] | builder | pointer to a cs_cdovb_scaleq_t structure |
- Returns
- a NULL pointer
| void cs_cdovb_scaleq_free_buffer |
( |
void |
| ) |
|
Free work buffer related to cdo vertex-based schemes.
| cs_real_t* cs_cdovb_scaleq_get_tmpbuf |
( |
void |
| ) |
|
Retrieve a pointer to a temporary buffer related to scalar equations discretized with CDO vertex-based schemes.
- Returns
- a pointer to an array of double
Initialize a cs_cdovb_scaleq_t structure.
- Parameters
-
- Returns
- a pointer to a new allocated cs_cdovb_scaleq_t structure
Allocate work buffer related to cdo vertex-based schemes.
- Parameters
-
| void cs_cdovb_scaleq_post |
( |
const char * |
eqname, |
|
|
const cs_field_t * |
field, |
|
|
void * |
builder |
|
) |
| |
Post-processing related to this equation.
- Parameters
-
| [in] | eqname | name of the equation |
| [in] | field | pointer to a field strufcture |
| [in,out] | builder | pointer to builder structure |
| void cs_cdovb_scaleq_update_field |
( |
const cs_real_t * |
solu, |
|
|
void * |
builder, |
|
|
cs_real_t * |
field_val |
|
) |
| |
Post-process the solution of a scalar convection/diffusion equation solved with a CDO vertex-based scheme.
- Parameters
-
| [in] | solu | solution array |
| [in,out] | builder | pointer to cs_cdovb_scaleq_t structure |
| [in,out] | field_val | pointer to the current value of the field |