Go to the source code of this file.
|
void | cs_cdofb_scaleq_init_buffer (const cs_cdo_connect_t *connect) |
| Allocate work buffer related to cdo face-based schemes. More...
|
|
void | cs_cdofb_scaleq_free_buffer (void) |
| Free work buffer related to cdo face-based schemes. More...
|
|
cs_real_t * | cs_cdofb_scaleq_get_tmpbuf (void) |
| Retrieve a pointer to a temporary buffer related to scalar equations discretized with CDO face-based schemes. More...
|
|
void * | cs_cdofb_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_cdofb_scaleq_t structure. More...
|
|
void * | cs_cdofb_scaleq_free (void *builder) |
| Destroy a cs_cdofb_scaleq_t structure. More...
|
|
void | cs_cdofb_scaleq_compute_source (void *builder) |
| Compute the contributions of source terms (store inside builder) More...
|
|
void | cs_cdofb_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 face-based scheme. More...
|
|
void | cs_cdofb_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 face-based scheme. More...
|
|
void | cs_cdofb_scaleq_post (const char *eqname, const cs_field_t *field, void *builder) |
| Post-processing related to this equation. More...
|
|
const double * | cs_cdofb_scaleq_get_face_values (const void *builder, const cs_field_t *field) |
| Get the computed values at each face. More...
|
|
Build the linear system arising from a scalar convection/diffusion equation with a CDO face-based scheme.
- 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_cdofb_scaleq_t structure |
[in,out] | rhs | pointer to a right-hand side array pointer |
[in,out] | sla_mat | pointer to cs_sla_matrix_t structure pointer |
void cs_cdofb_scaleq_compute_source |
( |
void * |
builder | ) |
|
Compute the contributions of source terms (store inside builder)
- Parameters
-
[in,out] | builder | pointer to a cs_cdofb_scaleq_t structure |
void* cs_cdofb_scaleq_free |
( |
void * |
builder | ) |
|
Destroy a cs_cdofb_scaleq_t structure.
- Parameters
-
[in,out] | builder | pointer to a cs_cdovb_scaleq_t structure |
- Returns
- a NULL pointer
void cs_cdofb_scaleq_free_buffer |
( |
void |
| ) |
|
Free work buffer related to cdo face-based schemes.
const double* cs_cdofb_scaleq_get_face_values |
( |
const void * |
builder, |
|
|
const cs_field_t * |
field |
|
) |
| |
Get the computed values at each face.
- Parameters
-
[in] | builder | pointer to a cs_cdofb_scaleq_t structure |
[in] | field | pointer to a cs_field_t structure |
- Returns
- a pointer to an array of double (size n_faces)
cs_real_t* cs_cdofb_scaleq_get_tmpbuf |
( |
void |
| ) |
|
Retrieve a pointer to a temporary buffer related to scalar equations discretized with CDO face-based schemes.
- Returns
- a pointer to an array of double
Initialize a cs_cdofb_scaleq_t structure.
- Parameters
-
- Returns
- a pointer to a new allocated cs_cdofb_scaleq_t structure
Allocate work buffer related to cdo face-based schemes.
- Parameters
-
void cs_cdofb_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_cdofb_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 face-based scheme.
- Parameters
-
[in] | solu | solution array |
[in,out] | builder | pointer to cs_cdofb_scaleq_t structure |
[in,out] | field_val | pointer to the current value of the field |