![]() |
programmer's documentation
|
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_mesh_bad_cells.h"
#include "cs_cdo_connect.h"
#include "cs_cdo_quantities.h"
Go to the source code of this file.
Functions | |
void | caltri (void) |
void | csinit (const cs_int_t *irgpar, const cs_int_t *nrgpar) |
void | dvvpst (const cs_int_t *nummai, const cs_int_t *numtyp, const cs_int_t *nvar, const cs_int_t *nscal, const cs_int_t *nvlsta, const cs_int_t *nvisbr, const cs_int_t *ncelps, const cs_int_t *nfbrps, const cs_int_t lstcel[], const cs_int_t lstfbr[], cs_real_t tracel[], cs_real_t trafbr[]) |
void | findpt (const cs_int_t *ncelet, const cs_int_t *ncel, const cs_real_t *xyzcen, const cs_real_t *xx, const cs_real_t *yy, const cs_real_t *zz, cs_int_t *node, cs_int_t *ndrang) |
void | fische (const cs_int_t *n, const cs_real_t *mu, cs_int_t p[]) |
void | haltyp (const cs_int_t *ivoset) |
void | initi1 (void) |
void | memfin (void) |
void | usthht (const cs_int_t *mode, cs_real_t *enthal, cs_real_t *temper) |
void | usvpst (const cs_int_t *nummai, const cs_int_t *nvar, const cs_int_t *nscal, const cs_int_t *nvlsta, const cs_int_t *ncelps, const cs_int_t *nfacps, const cs_int_t *nfbrps, const cs_int_t itypps[3], const cs_int_t lstcel[], const cs_int_t lstfac[], const cs_int_t lstfbr[]) |
void | zufall (const cs_int_t *n, const cs_real_t *a) |
void | normalen (const cs_int_t *n, const cs_real_t *x) |
void | cs_lagr_init_zone_class_param (const cs_int_t i_cs_params[], const cs_real_t r_cs_params[]) |
void | cs_lagr_define_zone_class_param (cs_int_t class_id, cs_int_t zone_id, const cs_int_t i_cs_params[], const cs_real_t r_cs_params[]) |
void | cs_lagr_status (int *model_flag, int *restart_flag, int *frozen_flag) |
void | cs_user_coupling (void) |
void | cs_user_extra_operations (void) |
This function is called at the end of each time step. More... | |
void | cs_user_join (void) |
void | cs_user_linear_solvers (void) |
Define linear solver options. More... | |
void | cs_user_mesh_bad_cells_tag (cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities) |
void | cs_user_mesh_input (void) |
void | cs_user_mesh_modify (cs_mesh_t *mesh) |
void | cs_user_mesh_thinwall (cs_mesh_t *mesh) |
void | cs_user_mesh_smoothe (cs_mesh_t *mesh) |
void | cs_user_mesh_save (cs_mesh_t *mesh) |
void | cs_user_mesh_warping (void) |
void | cs_user_model (void) |
Select physical model options, including user fields. More... | |
void | cs_user_numbering (void) |
void | cs_user_parallel_io (void) |
void | cs_user_partition (void) |
void | cs_user_matrix_tuning (void) |
void | cs_user_parameters (void) |
Define or modify general numerical and physical user parameters. More... | |
void | cs_user_periodicity (void) |
void | cs_user_postprocess_writers (void) |
void | cs_user_postprocess_meshes (void) |
void | cs_user_postprocess_activate (int nt_max_abs, int nt_cur_abs, double t_cur_abs) |
void | cs_user_saturne_coupling (void) |
int | cs_user_solver_set (void) |
void | cs_user_solver (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities) |
void | cs_user_syrthes_coupling (void) |
void | cs_user_time_moments (void) |
Define time moments. More... | |
void | cs_user_turbomachinery (void) |
void | cs_user_turbomachinery_rotor (void) |
void | cs_user_cdo_setup (void) |
Initialize the specifications for the current simulation. More... | |
cs_cdo_cc_algo_t | cs_user_cdo_geometric_settings (void) |
Setup advanced features concerning the way geometric quantities are built. More... | |
void | cs_user_cdo_numeric_settings (void) |
Setup advanced features concerning the numerical parameters. More... | |
void | cs_user_cdo_hodge_settings (void) |
Setup advanced features concerning the discrete Hodge operators. More... | |
void | cs_user_cdo_itsol_settings (void) |
Setup advanced features concerning the resolution of linear systems within the CDO framework. More... | |
void | cs_user_cdo_extra_op (const cs_mesh_t *m, const cs_mesh_quantities_t *mq, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, double tcur) |
Additional operations on results produced by CDO schemes. Define advanced post-processing and/or analysis for instance. More... | |
void caltri | ( | void | ) |
void cs_lagr_define_zone_class_param | ( | cs_int_t | class_id, |
cs_int_t | zone_id, | ||
const cs_int_t | i_cs_params[], | ||
const cs_real_t | r_cs_params[] | ||
) |
void cs_lagr_status | ( | int * | model_flag, |
int * | restart_flag, | ||
int * | frozen_flag | ||
) |
void cs_user_cdo_extra_op | ( | const cs_mesh_t * | m, |
const cs_mesh_quantities_t * | mq, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
double | tcur | ||
) |
Additional operations on results produced by CDO schemes. Define advanced post-processing and/or analysis for instance.
[in] | m | pointer to a cs_mesh_t struct. |
[in] | mq | pointer to a cs_quantities_t struct. |
[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 |
Additional operations on results produced by CDO schemes. Define advanced post-processing and/or analysis for instance.
(end ignore by Doxygen)
[in] | m | pointer to a cs_mesh_t struct. |
[in] | mq | pointer to a cs_quantities_t struct. |
[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 |
cs_cdo_cc_algo_t cs_user_cdo_geometric_settings | ( | void | ) |
Setup advanced features concerning the way geometric quantities are built.
void cs_user_cdo_hodge_settings | ( | void | ) |
Setup advanced features concerning the discrete Hodge operators.
void cs_user_cdo_itsol_settings | ( | void | ) |
Setup advanced features concerning the resolution of linear systems within the CDO framework.
void cs_user_cdo_numeric_settings | ( | void | ) |
Setup advanced features concerning the numerical parameters.
void cs_user_cdo_setup | ( | void | ) |
Initialize the specifications for the current simulation.
(end ignore by Doxygen)
void cs_user_coupling | ( | void | ) |
void cs_user_extra_operations | ( | void | ) |
This function is called at the end of each time step.
It and has a very general purpose, although it is recommended to handle mainly postprocessing or data-extraction type operations.
void cs_user_join | ( | void | ) |
void cs_user_linear_solvers | ( | void | ) |
Define linear solver options.
This function is called at the setup stage, once user and most model-based fields are defined.
Available native iterative linear solvers include conjugate gradient, Jacobi, BiCGStab, BiCGStab2, and GMRES. For symmetric linear systems, an algebraic multigrid solver is available (and recommended).
External solvers may also be setup using this function, the cs_sles_t mechanism alowing such through user-define functions.
void cs_user_matrix_tuning | ( | void | ) |
void cs_user_mesh_bad_cells_tag | ( | cs_mesh_t * | mesh, |
cs_mesh_quantities_t * | mesh_quantities | ||
) |
void cs_user_mesh_input | ( | void | ) |
void cs_user_mesh_modify | ( | cs_mesh_t * | mesh | ) |
void cs_user_mesh_save | ( | cs_mesh_t * | mesh | ) |
void cs_user_mesh_smoothe | ( | cs_mesh_t * | mesh | ) |
void cs_user_mesh_thinwall | ( | cs_mesh_t * | mesh | ) |
void cs_user_mesh_warping | ( | void | ) |
void cs_user_model | ( | void | ) |
Select physical model options, including user fields.
This function is called at the earliest stages of the data setup, so field ids are not available yet.
void cs_user_numbering | ( | void | ) |
void cs_user_parallel_io | ( | void | ) |
void cs_user_parameters | ( | void | ) |
Define or modify general numerical and physical user parameters.
At the calling point of this function, most model-related most varibles and other fields have been defined, so specific settings related to those fields may be set here.
void cs_user_partition | ( | void | ) |
void cs_user_periodicity | ( | void | ) |
void cs_user_postprocess_activate | ( | int | nt_max_abs, |
int | nt_cur_abs, | ||
double | t_cur_abs | ||
) |
void cs_user_postprocess_meshes | ( | void | ) |
void cs_user_postprocess_writers | ( | void | ) |
void cs_user_saturne_coupling | ( | void | ) |
void cs_user_solver | ( | const cs_mesh_t * | mesh, |
const cs_mesh_quantities_t * | mesh_quantities | ||
) |
int cs_user_solver_set | ( | void | ) |
void cs_user_syrthes_coupling | ( | void | ) |
void cs_user_time_moments | ( | void | ) |
Define time moments.
This function is called at the setup stage, once user and most model-based fields are defined, and before fine control of field output options is defined.
void cs_user_turbomachinery | ( | void | ) |
void cs_user_turbomachinery_rotor | ( | void | ) |
void dvvpst | ( | const cs_int_t * | nummai, |
const cs_int_t * | numtyp, | ||
const cs_int_t * | nvar, | ||
const cs_int_t * | nscal, | ||
const cs_int_t * | nvlsta, | ||
const cs_int_t * | nvisbr, | ||
const cs_int_t * | ncelps, | ||
const cs_int_t * | nfbrps, | ||
const cs_int_t | lstcel[], | ||
const cs_int_t | lstfbr[], | ||
cs_real_t | tracel[], | ||
cs_real_t | trafbr[] | ||
) |
void findpt | ( | const cs_int_t * | ncelet, |
const cs_int_t * | ncel, | ||
const cs_real_t * | xyzcen, | ||
const cs_real_t * | xx, | ||
const cs_real_t * | yy, | ||
const cs_real_t * | zz, | ||
cs_int_t * | node, | ||
cs_int_t * | ndrang | ||
) |
void haltyp | ( | const cs_int_t * | ivoset | ) |
void initi1 | ( | void | ) |
void memfin | ( | void | ) |
void usvpst | ( | const cs_int_t * | nummai, |
const cs_int_t * | nvar, | ||
const cs_int_t * | nscal, | ||
const cs_int_t * | nvlsta, | ||
const cs_int_t * | ncelps, | ||
const cs_int_t * | nfacps, | ||
const cs_int_t * | nfbrps, | ||
const cs_int_t | itypps[3], | ||
const cs_int_t | lstcel[], | ||
const cs_int_t | lstfac[], | ||
const cs_int_t | lstfbr[] | ||
) |