|
Basilisk CFD
Adaptive Cartesian mesh PDE framework
|
Go to the source code of this file.
Data Structures | |
| struct | NewPid |
Macros | |
| #define | NEWPID() ((NewPid *)&val(newpid,0,0,0)) |
Functions | |
| if TRASH define | is_newpid ()(!isnan(val(newpid |
| if TRASH define &&NewPid *& | val (newpid, 0, 0, 0)) -> pid > 0) @else @ define is_newpid()(((NewPid *)&val(newpid, 0, 0, 0)) ->pid > 0) @endif Array *linear_tree(size_t size, scalar newpid) |
| macro2 | foreach_tree (Array *t, size_t size, scalar *list, scalar newpid=newpid) |
| Array * | neighborhood (scalar newpid, int nextpid, FILE *fp) |
| static void | send_tree (Array *a, int to, MPI_Request *r) |
| static void | receive_tree (int from, scalar newpid, FILE *fp) |
| static void | wait_tree (Array *a, MPI_Request *r) |
| static void | check_flags () |
| trace bool | balance () |
| void | mpi_boundary_update (scalar *list) |
Variables | ||
| struct { | ||
| int min | ||
| bool leaves | ||
| int npe | ||
| } | mpi | |
Definition at line 202 of file balance.h.
References _i, active, array_free(), array_new(), assert, balanced_pid(), border, boundary_iterate, cell(), check_flags(), clamp(), coarse(), coarsen_cell_recursive(), depth, fflush(), flag_border_cells(), flags, foreach_cell_all(), foreach_cell_post(), fp, free_children(), grid, is_newpid(), is_prolongation, l, leaf, level, lfopen(), max, Grid::maxdepth, mpi, mpi_boundary_update_buffers(), Grid::n, neighborhood(), NEWPID, nl, npe, nt, output_cells(), point, receive_tree(), send_tree(), t, Grid::tn, tree, wait_tree(), x, y, z, z_indexing(), and zn.
Referenced by mpi_boundary_update().
Definition at line 67 of file balance.h.
References _i, alloc_children(), assert, c, cell(), foreach_cell_all(), is_newpid(), leaf, list, NEWPID, point, refine_cell(), size, t, user, and x.
Referenced by receive_tree().
References a, array_append(), array_new(), assert, cell(), foreach_cell_all(), foreach_cell_post_all(), is_refined_check(), leaf, level, NEWPID, size, user, and x.
Referenced by balance(), foreach_tree(), and neighborhood().
Definition at line 396 of file balance.h.
References balance(), boundary, grid, list, mpi_boundary_update_buffers(), s, set_dirty_stencil(), Grid::tn, and x.
Referenced by restore_mpi().
|
static |
| if TRASH define &&NewPid *& val | ( | newpid | , |
| 0 | , | ||
| 0 | , | ||
| 0 | |||
| ) | -> pid > 0) @else @ define is_newpid() (((NewPid *)&val(newpid,0,0,0))->pid > 0) @endif Array * linear_tree (size_t size, scalar newpid) |
Definition at line 13 of file balance.h.
Referenced by args(), assemble_node(), box_boundary_level(), box_boundary_level_normal(), colormap_color(), display_control_update(), embed_flux(), embed_gradient(), embed_interpolate(), if(), init_const_scalar(), init_const_vector(), interpolate(), new_const_scalar(), new_const_vector(), refine_injection(), reset(), restore_mpi(), restriction_embed_linear(), and zarea().
|
static |
| bool leaves |
Definition at line 193 of file balance.h.
Referenced by sizes(), subtree_size(), and z_indexing().
| int min |
Definition at line 192 of file balance.h.
Referenced by area_integral(), balanced_pid(), cfilter(), colormap_color(), cpu_reduction(), display_control_internal(), dphidt(), event__progress(), event_face_fields(), event_stability(), event_viscous_term(), for(), foreach_mem(), generic_limiter(), hllc(), if(), if(), if(), if(), input_read_obs(), input_read_profiles(), interpolate(), interpolate_array(), kinetic(), kurganov(), mem_free1d(), mempool_new(), mg_cycle(), minmod2(), msolve(), restriction_tag(), riemann(), segBoxOverlap(), solve(), statsf(), tag(), timestep(), triBoxOverlap(), update_sum(), vertical_viscosity(), zarea(), and zvolume().
| struct { ... } mpi |
Referenced by balance(), debug_mpi(), mpi_boundary_new(), mpi_boundary_refine(), and timer_timing().
| int npe |
Definition at line 195 of file balance.h.
Referenced by balance(), check_snd_rcv_matrix(), display_send(), event_perfs(), mpi_boundary_coarsen(), mpi_boundary_update_buffers(), mpi_partitioning(), rcv_pid_pointer(), rcv_pid_row(), restore_mpi(), tag(), timer_print(), timer_timing(), ws_send_array(), and z_indexing().