Iterator
Functions
-
template<typename cons_t>
static void iterator_get_stat(p4est_iter_volume_info_t *info, void *user_data) iterator on volumes to gather statistics
-
template<typename cons_t>
static void iterator_copy(p4est_iter_volume_info_t *info, void *user_data) iterator on volumes to copy wnext into w
-
template<typename cons_t>
static void iterator_init(p4est_iter_volume_info_t *info, void *user_data) iterator on volumes to apply initial condition
-
template<typename cons_t>
static void iterator_mark_adapt(p4est_iter_volume_info_t *info, void *user_data) iterator on volumes to mark cells to be refined/coarsened
-
template<typename cons_t>
static void compute_delta(to_qdata_t<cons_t> *data[2], int face[2], double dl, Simulation<cons_t> *simu) static function to compute gradients
- Parameters:
data[2] – [inout] pointers to the qdata at each side of the face
face[2] – [in] face number for each quadrant
dl – [in] distance between the centres of the quads
simu – [in] pointer used to retrieve scalar limiter
-
template<typename cons_t>
static void iterator_compute_delta(p4est_iter_face_info_t *info, void *user_data) iterator on faces to compute delta stored in qdata
-
template<typename cons_t>
static void iterator_update_source(p4est_iter_volume_info_t *info, void *user_data) iterator on volumes to update the solution with the source terms
-
template<typename cons_t>
static void iterator_time_step(p4est_iter_volume_info_t *info, void *user_data) iterator on volumes to compute the time step
-
template<typename cons_t>
static void update_flux(to_qdata_t<cons_t> *data[2], int face[2], double dt, double dS, double dV[2], Simulation<cons_t> *simu) static function to perform flux update
- Parameters:
data[2] – [inout] pointers to the qdata at each side of the face
face[2] – [in] face number for each quadrant
dt – [in] the time step
dS – [in] the surface of the face
dV[2] – [in] the volume of each quadrants
simu – [in] pointer used to retrieve scalar limiter
-
template<typename cons_t>
static void iterator_update_flux(p4est_iter_face_info_t *info, void *user_data) iterator on faces to perform flux update
-
template<typename cons_t>
static void iterator_compute_wm_wp(p4est_iter_volume_info_t *info, void *user_data) iterator on volumes to compute face primitive states wm/wp