programmer's documentation
Functions
cs_cdovb_codits.h File Reference
#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"
Include dependency graph for cs_cdovb_codits.h:

Go to the source code of this file.

Functions

void cs_cdovb_codits_create_all (int n_scal_systems)
 Allocate the required number of scalar equations based on a vertex based discretization. More...
 
void cs_cdovb_codits_init (const cs_param_eq_t *eq, const cs_mesh_t *m, int eq_id)
 Initialize a cs_cdovb_codits_t. More...
 
void cs_cdovb_codits_free_all (void)
 Destroy all cs_cdovb_codits_t structures. More...
 
void cs_cdovb_codits_solve (const cs_mesh_t *m, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, double tcur, int eq_id)
 Solve a scalar convection/diffusion equation with a CDO vertex-based scheme. More...
 
void cs_cdovb_codits_post (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, int eq_id)
 Post-process the solution of a scalar convection/diffusion equation solved with a CDO vertex-based scheme. More...
 

Function Documentation

void cs_cdovb_codits_create_all ( int  n_scal_systems)

Allocate the required number of scalar equations based on a vertex based discretization.

Parameters
[in]n_scal_systemsnumber of scalar equations
void cs_cdovb_codits_free_all ( void  )

Destroy all cs_cdovb_codits_t structures.

void cs_cdovb_codits_init ( const cs_param_eq_t eq,
const cs_mesh_t m,
int  eq_id 
)

Initialize a cs_cdovb_codits_t.

Parameters
[in]eqpointer to a structure storing parameters of an eq.
[in]mpointer to a mesh structure
[in]eq_idid related to the equation to treat
[in]eqpointer to a structure storing parameters of an eq.
[in]mpointer to a mesh structure
[in]eq_idid related to the equation/system to treat
void cs_cdovb_codits_post ( const cs_cdo_connect_t connect,
const cs_cdo_quantities_t quant,
int  eq_id 
)

Post-process the solution of a scalar convection/diffusion equation solved with a CDO vertex-based scheme.

Parameters
[in]connectpointer to a cs_cdo_connect_t struct.
[in]quantpointer to a cs_cdo_quantities_t struct.
[in]eq_idid of the equation/system to treat
void cs_cdovb_codits_solve ( const cs_mesh_t m,
const cs_cdo_connect_t connect,
const cs_cdo_quantities_t quant,
double  tcur,
int  eq_id 
)

Solve a scalar convection/diffusion equation with a CDO vertex-based scheme.

Parameters
[in]mpointer to a cs_mesh_t structure
[in]connectpointer to a cs_cdo_connect_t structure
[in]quantpointer to a cs_cdo_quantities_t structure
[in]tcurcurrent physical time of the simulation
[in]eq_idpointer to a cs_cdovb_codits_t struct.