![]() |
programmer's documentation
|
Functions | |
cs_cdo_time_scheme_t * | cs_cdo_time_get_scheme_function (const cs_flag_t sys_flag, const cs_equation_param_t *eqp) |
Retrieve a pointer to the associated cs_matrix_structure_t according to the space scheme. More... | |
void | cs_cdo_time_update_rhs (const cs_equation_param_t *eqp, int stride, cs_lnum_t n_dofs, const cs_lnum_t *dof_ids, const cs_real_t *values, cs_real_t *rhs) |
Update the RHS with the previously computed array of values (for instance the previous source term evaluation) Do not use OpenMP inside this function since it may be called from an OpenMP block. More... | |
void | cs_cdo_time_diag_imp (const cs_equation_param_t *eqp, const double tpty_val, const cs_sdm_t *mass_mat, const cs_flag_t system_flag, cs_cell_builder_t *cb, cs_cell_sys_t *csys) |
Apply to the local system an implicit time discretization when a CDO scheme is used and the mass matrix related to the time discretization is diagonal (lumping or Voronoi Hodge) More... | |
void | cs_cdo_time_imp (const cs_equation_param_t *eqp, const double tpty_val, const cs_sdm_t *mass_mat, const cs_flag_t system_flag, cs_cell_builder_t *cb, cs_cell_sys_t *csys) |
Apply to the local system an implicit time discretization when a CDO scheme is used. More... | |
void | cs_cdo_time_diag_exp (const cs_equation_param_t *eqp, const double tpty_val, const cs_sdm_t *mass_mat, const cs_flag_t system_flag, cs_cell_builder_t *cb, cs_cell_sys_t *csys) |
Apply to the local system an explicit time discretization when a CDO scheme is used and the mass matrix related to the time discretization is diagonal (lumping or Voronoi Hodge) More... | |
void | cs_cdo_time_exp (const cs_equation_param_t *eqp, const double tpty_val, const cs_sdm_t *mass_mat, const cs_flag_t system_flag, cs_cell_builder_t *cb, cs_cell_sys_t *csys) |
Apply to the local system an explicit time discretization when a CDO scheme is used. More... | |
void | cs_cdo_time_diag_theta (const cs_equation_param_t *eqp, const double tpty_val, const cs_sdm_t *mass_mat, const cs_flag_t system_flag, cs_cell_builder_t *cb, cs_cell_sys_t *csys) |
Apply to the local system a "theta" time discretization when a CDO scheme is used and the mass matrix related to the time discretization is diagonal (lumping or Voronoi Hodge) More... | |
void | cs_cdo_time_theta (const cs_equation_param_t *eqp, const double tpty_val, const cs_sdm_t *mass_mat, const cs_flag_t system_flag, cs_cell_builder_t *cb, cs_cell_sys_t *csys) |
Apply to the local system a "theta" time discretization when a CDO scheme is used. More... | |
void cs_cdo_time_diag_exp | ( | const cs_equation_param_t * | eqp, |
const double | tpty_val, | ||
const cs_sdm_t * | mass_mat, | ||
const cs_flag_t | system_flag, | ||
cs_cell_builder_t * | cb, | ||
cs_cell_sys_t * | csys | ||
) |
Apply to the local system an explicit time discretization when a CDO scheme is used and the mass matrix related to the time discretization is diagonal (lumping or Voronoi Hodge)
[in] | eqp | pointer to a cs_equation_param_t |
[in] | tpty_val | current value of the time property |
[in] | system_flag | indicate what is needed to build the system |
[in] | mass_mat | pointer to a discrete Hodge op. |
[in,out] | cb | pointer to a cs_cell_builder_t structure |
[in,out] | csys | pointer to a cs_sdm_t structure |
void cs_cdo_time_diag_imp | ( | const cs_equation_param_t * | eqp, |
const double | tpty_val, | ||
const cs_sdm_t * | mass_mat, | ||
const cs_flag_t | system_flag, | ||
cs_cell_builder_t * | cb, | ||
cs_cell_sys_t * | csys | ||
) |
Apply to the local system an implicit time discretization when a CDO scheme is used and the mass matrix related to the time discretization is diagonal (lumping or Voronoi Hodge)
[in] | eqp | pointer to a cs_equation_param_t |
[in] | tpty_val | current value of the time property |
[in] | mass_mat | pointer to a discrete Hodge op. |
[in] | system_flag | indicate what is needed to build the system |
[in,out] | cb | pointer to a cs_cell_builder_t structure |
[in,out] | csys | pointer to a cs_sdm_t structure |
void cs_cdo_time_diag_theta | ( | const cs_equation_param_t * | eqp, |
const double | tpty_val, | ||
const cs_sdm_t * | mass_mat, | ||
const cs_flag_t | system_flag, | ||
cs_cell_builder_t * | cb, | ||
cs_cell_sys_t * | csys | ||
) |
Apply to the local system a "theta" time discretization when a CDO scheme is used and the mass matrix related to the time discretization is diagonal (lumping or Voronoi Hodge)
[in] | eqp | pointer to a cs_equation_param_t |
[in] | tpty_val | current value of the time property |
[in] | system_flag | indicate what is needed to build the system |
[in] | mass_mat | pointer to a discrete Hodge op. |
[in,out] | cb | pointer to a cs_cell_builder_t structure |
[in,out] | csys | pointer to a cs_sdm_t structure |
void cs_cdo_time_exp | ( | const cs_equation_param_t * | eqp, |
const double | tpty_val, | ||
const cs_sdm_t * | mass_mat, | ||
const cs_flag_t | system_flag, | ||
cs_cell_builder_t * | cb, | ||
cs_cell_sys_t * | csys | ||
) |
Apply to the local system an explicit time discretization when a CDO scheme is used.
[in] | eqp | pointer to a cs_equation_param_t |
[in] | tpty_val | current value of the time property |
[in] | system_flag | indicate what is needed to build the system |
[in] | mass_mat | pointer to a discrete Hodge op. |
[in,out] | cb | pointer to a cs_cell_builder_t structure |
[in,out] | csys | pointer to a cs_sdm_t structure |
cs_cdo_time_scheme_t* cs_cdo_time_get_scheme_function | ( | const cs_flag_t | sys_flag, |
const cs_equation_param_t * | eqp | ||
) |
Retrieve a pointer to the associated cs_matrix_structure_t according to the space scheme.
[in] | sys_flag | metadata about how is set the algebraic system |
[in] | eqp | pointer to a cs_equation_param_t |
void cs_cdo_time_imp | ( | const cs_equation_param_t * | eqp, |
const double | tpty_val, | ||
const cs_sdm_t * | mass_mat, | ||
const cs_flag_t | system_flag, | ||
cs_cell_builder_t * | cb, | ||
cs_cell_sys_t * | csys | ||
) |
Apply to the local system an implicit time discretization when a CDO scheme is used.
[in] | eqp | pointer to a cs_equation_param_t |
[in] | tpty_val | current value of the time property |
[in] | mass_mat | pointer to a discrete Hodge op. |
[in] | system_flag | indicate what is needed to build the system |
[in,out] | cb | pointer to a cs_cell_builder_t structure |
[in,out] | csys | pointer to a cs_sdm_t structure |
void cs_cdo_time_theta | ( | const cs_equation_param_t * | eqp, |
const double | tpty_val, | ||
const cs_sdm_t * | mass_mat, | ||
const cs_flag_t | system_flag, | ||
cs_cell_builder_t * | cb, | ||
cs_cell_sys_t * | csys | ||
) |
Apply to the local system a "theta" time discretization when a CDO scheme is used.
[in] | eqp | pointer to a cs_equation_param_t |
[in] | tpty_val | current value of the time property |
[in] | system_flag | indicate what is needed to build the system |
[in] | mass_mat | pointer to a discrete Hodge op. |
[in,out] | cb | pointer to a cs_cell_builder_t structure |
[in,out] | csys | pointer to a cs_sdm_t structure |
void cs_cdo_time_update_rhs | ( | const cs_equation_param_t * | eqp, |
int | stride, | ||
cs_lnum_t | n_dofs, | ||
const cs_lnum_t * | dof_ids, | ||
const cs_real_t * | values, | ||
cs_real_t * | rhs | ||
) |
Update the RHS with the previously computed array of values (for instance the previous source term evaluation) Do not use OpenMP inside this function since it may be called from an OpenMP block.
[in] | eqp | pointer to a cs_equation_param_t |
[in] | stride | number of entries for each DoF |
[in] | n_dofs | number of DoF to deal with |
[in] | dof_ids | list of DoF ids or NULL if no indirection |
[in] | values | array of values |
[in,out] | rhs | right-hand side to update |