![]() |
programmer's documentation
|
#include "cs_defs.h"
#include "cs_base.h"
#include "cs_cdo_connect.h"
#include "cs_cdo_quantities.h"
#include "cs_param_eq.h"
#include "cs_cdo_bc.h"
#include "cs_hodge.h"
Go to the source code of this file.
Functions | |
void | cs_cdofb_codits_create_all (int n_scal_systems) |
Allocate the required number of scalar equations based on a face based discretization. More... | |
void | cs_cdofb_codits_init (const cs_param_eq_t *eq, const cs_mesh_t *m, int eq_id) |
Initialize a cs_cdofb_codits_t. More... | |
void | cs_cdofb_codits_free_all (void) |
Destroy all cs_cdofb_codits_t structures. More... | |
void | cs_cdofb_codits_solve (const cs_mesh_t *m, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, double tcur, int sys_id) |
Solve a scalar convection/diffusion equation with a CDO face-based scheme. More... | |
void | cs_cdofb_codits_post (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, int sys_id) |
Post-process the solution of a scalar convection/diffusion equation solved with a CDO face-based scheme. More... | |
const double * | cs_cdofb_codits_get_face_values (int eq_id) |
Get the computed values at each face. More... | |
void cs_cdofb_codits_create_all | ( | int | n_scal_systems | ) |
Allocate the required number of scalar equations based on a face based discretization.
[in] | n_scal_systems | number of scalar equations |
void cs_cdofb_codits_free_all | ( | void | ) |
Destroy all cs_cdofb_codits_t structures.
const double* cs_cdofb_codits_get_face_values | ( | int | eq_id | ) |
Get the computed values at each face.
[in] | eq_id | id related to a cs_param_eq_t struct. |
void cs_cdofb_codits_init | ( | const cs_param_eq_t * | eq, |
const cs_mesh_t * | m, | ||
int | eq_id | ||
) |
Initialize a cs_cdofb_codits_t.
[in] | eq | pointer to a structure storing parameters of an eq. |
[in] | m | pointer to a mesh structure |
[in] | eq_id | id related to the equation to treat |
void cs_cdofb_codits_post | ( | const cs_cdo_connect_t * | connect, |
const cs_cdo_quantities_t * | quant, | ||
int | sys_id | ||
) |
Post-process the solution of a scalar convection/diffusion equation solved with a CDO face-based scheme.
[in] | connect | pointer to a cs_cdo_connect_t struct. |
[in] | quant | pointer to a cs_cdo_quantities_t struct. |
[in] | sys_id | id of the equation/system to treat |
void cs_cdofb_codits_solve | ( | const cs_mesh_t * | m, |
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
double | tcur, | ||
int | sys_id | ||
) |
Solve a scalar convection/diffusion equation with a CDO face-based scheme.
[in] | m | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | tcur | current physical time of the simulation |
[in] | sys_id | pointer to a cs_cdofb_codits_t struct. |