![]() |
programmer's documentation
|
#include "cs_defs.h"
Go to the source code of this file.
Data Structures | |
struct | cs_lagr_attribute_map_t |
struct | cs_lagr_particle_set_t |
struct | cs_lagr_param_t |
Functions | |
void | lagbeg (const cs_int_t *n_particles_max, const cs_int_t *nlayer, const cs_int_t *iphyla, const cs_int_t *idepst, const cs_int_t *irough, const cs_int_t *ireent, const cs_int_t *iclogst, const cs_int_t *nvls, const cs_int_t *nbclst, cs_lnum_t icocel[], cs_lnum_t itycel[], const cs_int_t *jisor, const cs_int_t *jisora, const cs_int_t *jirka, const cs_int_t *jord1, const cs_int_t *jrval, const cs_int_t *jrpoi, const cs_int_t *jrtsp, const cs_int_t *jdp, const cs_int_t *jmp, const cs_int_t *jxp, const cs_int_t *jyp, const cs_int_t *jzp, const cs_int_t *jup, const cs_int_t *jvp, const cs_int_t *jwp, const cs_int_t *juf, const cs_int_t *jvf, const cs_int_t *jwf, const cs_int_t *jtaux, const cs_int_t *jryplu, const cs_int_t *jrinpf, const cs_int_t *jdfac, const cs_int_t *jimark, const cs_int_t *jtp, const cs_int_t jhp[], const cs_int_t *jtf, const cs_int_t *jmwat, const cs_int_t jmch[], const cs_int_t jmck[], const cs_int_t *jcp, const cs_int_t *jrdck, const cs_int_t *jrd0p, const cs_int_t *jinch, const cs_int_t jrhock[], const cs_int_t *jreps, const cs_int_t *jdepo, const cs_int_t *jnbasg, const cs_int_t *jnbasp, const cs_int_t *jfadh, const cs_int_t *jmfadh, const cs_int_t *jndisp, const cs_int_t *jclst, const cs_int_t *jvls) |
void | prtget (const cs_int_t *nbpmax, const cs_int_t *nbpart, const cs_real_t ettp[], const cs_real_t ettpa[], const cs_int_t itepa[], const cs_real_t tepa[]) |
void | prtput (const cs_int_t *nbpmax, cs_int_t *nbpart, cs_real_t *dnbpar, cs_int_t *nbpout, cs_real_t *dnbpou, cs_int_t *nbperr, cs_real_t *dnbper, cs_int_t *nbpdep, cs_real_t *dnbdep, cs_int_t *npencr, cs_real_t *dnpenc, cs_real_t ettp[], cs_real_t ettpa[], cs_int_t itepa[], cs_real_t tepa[]) |
void | getbdy (const cs_int_t *nflagm, const cs_int_t *nfrlag, const cs_int_t *injcon, const cs_int_t ilflag[], const cs_int_t iusncl[], const cs_int_t iusclb[], const cs_real_t deblag[], const cs_int_t ifrlag[]) |
void | dplprt (cs_int_t *p_n_particles, cs_int_t *p_scheme_order, cs_real_t boundary_stat[], const cs_int_t *iensi3, const cs_int_t *inbr, const cs_int_t *inbrbd, const cs_int_t *iflm, const cs_int_t *iflmbd, const cs_int_t *iang, const cs_int_t *iangbd, const cs_int_t *ivit, const cs_int_t *ivitbd, const cs_int_t *iencnd, const cs_int_t *iencma, const cs_int_t *iencdi, const cs_int_t *iencck, const cs_int_t *iencnbbd, const cs_int_t *iencmabd, const cs_int_t *iencdibd, const cs_int_t *iencckbd, const cs_int_t *inclg, const cs_int_t *iscovc, const cs_int_t *nusbor, cs_int_t iusb[], cs_real_t visc_length[], cs_real_t dlgeo[], cs_real_t energt[], const cs_real_t tprenc[], const cs_real_t visref[], const cs_real_t enc1[], const cs_real_t enc2[], const cs_real_t *tkelvi) |
void | ucdprt (const cs_lnum_t *nbpmax, const cs_lnum_t *nbpart, const cs_real_t *dnbpar, const cs_int_t *nbpout, const cs_real_t *dnbpou, const cs_int_t *nbperr, const cs_real_t *dnbper, const cs_int_t *nbpdep, const cs_real_t *dnbdep, const cs_int_t *npencr, const cs_real_t *dnpenc, const cs_real_t ettp[], const cs_real_t ettpa[], const cs_lnum_t itepa[], const cs_real_t tepa[]) |
void | cs_lagr_get_attr_info (const cs_lagr_particle_set_t *particles, int time_id, cs_lagr_attribute_t attr, size_t *extents, size_t *size, ptrdiff_t *displ, cs_datatype_t *datatype, int *count) |
Get data extents for a given particle attribute. More... | |
cs_lagr_particle_set_t * | cs_lagr_get_particle_set (void) |
Return pointer to the main cs_lagr_particle_set_t structure. More... | |
void | cs_lagr_destroy (void) |
Delete particle set structure and other useful buffers. More... | |
void | cs_lagr_particle_set_dump (const cs_lagr_particle_set_t *particles) |
Dump a cs_lagr_particle_t structure. More... | |
Variables | |
const char * | cs_lagr_attribute_name [] |
const cs_lagr_param_t * | cs_glob_lagr_params |
enum cs_lagr_attribute_t |
void cs_lagr_destroy | ( | void | ) |
Delete particle set structure and other useful buffers.
void cs_lagr_get_attr_info | ( | const cs_lagr_particle_set_t * | particles, |
int | time_id, | ||
cs_lagr_attribute_t | attr, | ||
size_t * | extents, | ||
size_t * | size, | ||
ptrdiff_t * | displ, | ||
cs_datatype_t * | datatype, | ||
int * | count | ||
) |
Get data extents for a given particle attribute.
For attributes not currently present, the displacement and data size should be -1 and 0 respectively.
[in] | particles | associated particle set |
[in] | time_id | associated time id (0: current, 1: previous) |
[in] | attr | particle attribute |
[out] | extents | size (in bytes) of particle structure, or NULL |
[out] | size | size (in bytes) of attribute in particle structure, or NULL |
[out] | displ | displacement (in bytes) in particle structure, or NULL |
[out] | datatype | datatype of associated attribute, or NULL |
[out] | count | number of type values associated with attribute, or NULL |
cs_lagr_particle_set_t* cs_lagr_get_particle_set | ( | void | ) |
Return pointer to the main cs_lagr_particle_set_t structure.
void cs_lagr_particle_set_dump | ( | const cs_lagr_particle_set_t * | particles | ) |
Dump a cs_lagr_particle_t structure.
[in] | particles | cs_lagr_particle_t structure to dump |
void dplprt | ( | cs_int_t * | p_n_particles, |
cs_int_t * | p_scheme_order, | ||
cs_real_t | boundary_stat[], | ||
const cs_int_t * | iensi3, | ||
const cs_int_t * | inbr, | ||
const cs_int_t * | inbrbd, | ||
const cs_int_t * | iflm, | ||
const cs_int_t * | iflmbd, | ||
const cs_int_t * | iang, | ||
const cs_int_t * | iangbd, | ||
const cs_int_t * | ivit, | ||
const cs_int_t * | ivitbd, | ||
const cs_int_t * | iencnd, | ||
const cs_int_t * | iencma, | ||
const cs_int_t * | iencdi, | ||
const cs_int_t * | iencck, | ||
const cs_int_t * | iencnbbd, | ||
const cs_int_t * | iencmabd, | ||
const cs_int_t * | iencdibd, | ||
const cs_int_t * | iencckbd, | ||
const cs_int_t * | inclg, | ||
const cs_int_t * | iscovc, | ||
const cs_int_t * | nusbor, | ||
cs_int_t | iusb[], | ||
cs_real_t | visc_length[], | ||
cs_real_t | dlgeo[], | ||
cs_real_t | energt[], | ||
const cs_real_t | tprenc[], | ||
const cs_real_t | visref[], | ||
const cs_real_t | enc1[], | ||
const cs_real_t | enc2[], | ||
const cs_real_t * | tkelvi | ||
) |
void getbdy | ( | const cs_int_t * | nflagm, |
const cs_int_t * | nfrlag, | ||
const cs_int_t * | injcon, | ||
const cs_int_t | ilflag[], | ||
const cs_int_t | iusncl[], | ||
const cs_int_t | iusclb[], | ||
const cs_real_t | deblag[], | ||
const cs_int_t | ifrlag[] | ||
) |
void lagbeg | ( | const cs_int_t * | n_particles_max, |
const cs_int_t * | nlayer, | ||
const cs_int_t * | iphyla, | ||
const cs_int_t * | idepst, | ||
const cs_int_t * | irough, | ||
const cs_int_t * | ireent, | ||
const cs_int_t * | iclogst, | ||
const cs_int_t * | nvls, | ||
const cs_int_t * | nbclst, | ||
cs_lnum_t | icocel[], | ||
cs_lnum_t | itycel[], | ||
const cs_int_t * | jisor, | ||
const cs_int_t * | jisora, | ||
const cs_int_t * | jirka, | ||
const cs_int_t * | jord1, | ||
const cs_int_t * | jrval, | ||
const cs_int_t * | jrpoi, | ||
const cs_int_t * | jrtsp, | ||
const cs_int_t * | jdp, | ||
const cs_int_t * | jmp, | ||
const cs_int_t * | jxp, | ||
const cs_int_t * | jyp, | ||
const cs_int_t * | jzp, | ||
const cs_int_t * | jup, | ||
const cs_int_t * | jvp, | ||
const cs_int_t * | jwp, | ||
const cs_int_t * | juf, | ||
const cs_int_t * | jvf, | ||
const cs_int_t * | jwf, | ||
const cs_int_t * | jtaux, | ||
const cs_int_t * | jryplu, | ||
const cs_int_t * | jrinpf, | ||
const cs_int_t * | jdfac, | ||
const cs_int_t * | jimark, | ||
const cs_int_t * | jtp, | ||
const cs_int_t | jhp[], | ||
const cs_int_t * | jtf, | ||
const cs_int_t * | jmwat, | ||
const cs_int_t | jmch[], | ||
const cs_int_t | jmck[], | ||
const cs_int_t * | jcp, | ||
const cs_int_t * | jrdck, | ||
const cs_int_t * | jrd0p, | ||
const cs_int_t * | jinch, | ||
const cs_int_t | jrhock[], | ||
const cs_int_t * | jreps, | ||
const cs_int_t * | jdepo, | ||
const cs_int_t * | jnbasg, | ||
const cs_int_t * | jnbasp, | ||
const cs_int_t * | jfadh, | ||
const cs_int_t * | jmfadh, | ||
const cs_int_t * | jndisp, | ||
const cs_int_t * | jclst, | ||
const cs_int_t * | jvls | ||
) |
void prtget | ( | const cs_int_t * | nbpmax, |
const cs_int_t * | nbpart, | ||
const cs_real_t | ettp[], | ||
const cs_real_t | ettpa[], | ||
const cs_int_t | itepa[], | ||
const cs_real_t | tepa[] | ||
) |
void prtput | ( | const cs_int_t * | nbpmax, |
cs_int_t * | nbpart, | ||
cs_real_t * | dnbpar, | ||
cs_int_t * | nbpout, | ||
cs_real_t * | dnbpou, | ||
cs_int_t * | nbperr, | ||
cs_real_t * | dnbper, | ||
cs_int_t * | nbpdep, | ||
cs_real_t * | dnbdep, | ||
cs_int_t * | npencr, | ||
cs_real_t * | dnpenc, | ||
cs_real_t | ettp[], | ||
cs_real_t | ettpa[], | ||
cs_int_t | itepa[], | ||
cs_real_t | tepa[] | ||
) |
void ucdprt | ( | const cs_lnum_t * | nbpmax, |
const cs_lnum_t * | nbpart, | ||
const cs_real_t * | dnbpar, | ||
const cs_int_t * | nbpout, | ||
const cs_real_t * | dnbpou, | ||
const cs_int_t * | nbperr, | ||
const cs_real_t * | dnbper, | ||
const cs_int_t * | nbpdep, | ||
const cs_real_t * | dnbdep, | ||
const cs_int_t * | npencr, | ||
const cs_real_t * | dnpenc, | ||
const cs_real_t | ettp[], | ||
const cs_real_t | ettpa[], | ||
const cs_lnum_t | itepa[], | ||
const cs_real_t | tepa[] | ||
) |
const cs_lagr_param_t* cs_glob_lagr_params |
const char* cs_lagr_attribute_name[] |