void cs_lagr_new(cs_lagr_particle_set_t *particles, cs_lnum_t n_faces, const cs_lnum_t face_ids[], const cs_lnum_t face_particle_idx[])
Inject a series of particles at random positions on given faces.
Definition: cs_lagr_new.c:301
void cs_lagr_new_v(cs_lagr_particle_set_t *particles, cs_lnum_t n_cells, const cs_lnum_t cell_ids[], const cs_lnum_t cell_particle_idx[])
Inject a series of particles at random positions on given cells.
Definition: cs_lagr_new.c:393
Definition: cs_lagr_particle.h:210
void cs_lagr_new_particle_init(const cs_lnum_t particle_range[2], int time_id, const cs_real_t visc_length[])
Initialization for new particles.
Definition: cs_lagr_new.c:637