programmer's documentation
Functions
cs_prototypes.h File Reference
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_mesh_bad_cells.h"
Include dependency graph for cs_prototypes.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_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)
 

Function Documentation

◆ caltri()

void caltri ( void  )

◆ cs_lagr_define_zone_class_param()

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[] 
)

◆ cs_lagr_init_zone_class_param()

void cs_lagr_init_zone_class_param ( const cs_int_t  i_cs_params[],
const cs_real_t  r_cs_params[] 
)

◆ cs_lagr_status()

void cs_lagr_status ( int *  model_flag,
int *  restart_flag,
int *  frozen_flag 
)

◆ cs_user_coupling()

void cs_user_coupling ( void  )

◆ cs_user_extra_operations()

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.

◆ cs_user_join()

void cs_user_join ( void  )

◆ cs_user_linear_solvers()

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.

◆ cs_user_matrix_tuning()

void cs_user_matrix_tuning ( void  )

◆ cs_user_mesh_bad_cells_tag()

void cs_user_mesh_bad_cells_tag ( cs_mesh_t mesh,
cs_mesh_quantities_t mesh_quantities 
)

◆ cs_user_mesh_input()

void cs_user_mesh_input ( void  )

◆ cs_user_mesh_modify()

void cs_user_mesh_modify ( cs_mesh_t mesh)

◆ cs_user_mesh_save()

void cs_user_mesh_save ( cs_mesh_t mesh)

◆ cs_user_mesh_smoothe()

void cs_user_mesh_smoothe ( cs_mesh_t mesh)

◆ cs_user_mesh_thinwall()

void cs_user_mesh_thinwall ( cs_mesh_t mesh)

◆ cs_user_mesh_warping()

void cs_user_mesh_warping ( void  )

◆ cs_user_model()

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.

◆ cs_user_numbering()

void cs_user_numbering ( void  )

◆ cs_user_parallel_io()

void cs_user_parallel_io ( void  )

◆ cs_user_partition()

void cs_user_partition ( void  )

◆ cs_user_periodicity()

void cs_user_periodicity ( void  )

◆ cs_user_postprocess_activate()

void cs_user_postprocess_activate ( int  nt_max_abs,
int  nt_cur_abs,
double  t_cur_abs 
)

◆ cs_user_postprocess_meshes()

void cs_user_postprocess_meshes ( void  )

◆ cs_user_postprocess_writers()

void cs_user_postprocess_writers ( void  )

◆ cs_user_saturne_coupling()

void cs_user_saturne_coupling ( void  )

◆ cs_user_solver()

void cs_user_solver ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities 
)

◆ cs_user_solver_set()

int cs_user_solver_set ( void  )

◆ cs_user_syrthes_coupling()

void cs_user_syrthes_coupling ( void  )

◆ cs_user_time_moments()

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.

◆ cs_user_turbomachinery()

void cs_user_turbomachinery ( void  )

◆ cs_user_turbomachinery_rotor()

void cs_user_turbomachinery_rotor ( void  )

◆ csinit()

void csinit ( const cs_int_t irgpar,
const cs_int_t nrgpar 
)

◆ dvvpst()

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[] 
)

◆ findpt()

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 
)

◆ fische()

void fische ( const cs_int_t n,
const cs_real_t mu,
cs_int_t  p[] 
)

◆ haltyp()

void haltyp ( const cs_int_t ivoset)

◆ initi1()

void initi1 ( void  )

◆ memfin()

void memfin ( void  )

◆ normalen()

void normalen ( const cs_int_t n,
const cs_real_t x 
)

◆ usthht()

void usthht ( const cs_int_t mode,
cs_real_t enthal,
cs_real_t temper 
)

◆ usvpst()

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[] 
)

◆ zufall()

void zufall ( const cs_int_t n,
const cs_real_t a 
)