|
Basilisk CFD
Adaptive Cartesian mesh PDE framework
|
Go to the source code of this file.
Macros | |
| #define | _BOTTOM (2*point.j - GHOSTS) |
| #define | _TOP (_BOTTOM + 1) |
| #define | _LEFT (2*point.i - GHOSTS) |
| #define | _RIGHT (_LEFT + 1) |
| #define | _BACK (2*point.k - GHOSTS) |
| #define | _FRONT (_BACK + 1) |
| #define | STACKSIZE 20 |
| #define | _push(b, c, d, e, f) |
| #define | _pop() |
Functions | |
| is a stack based implementation of * | recursive (). It is about 12% slower than the recursive *version and 60% slower than simple array traversal. **This article was useful |
| macro2 | for (int _i=0;_i< _N;_i++) |
| macro2 | foreach_cell_all () |
| macro2 | foreach_cell_post_root (bool condition, Point root) |
| macro2 | foreach_cell_post (bool condition) |
| macro2 | foreach_cell_post_all (bool condition) |
| macro2 | foreach_cell_restore (ivec d=Dimensions, int rootlevel=0) |
| #define _pop | ( | ) |
| #define STACKSIZE 20 |
| macro2 for | ( | ) |
Definition at line 127 of file foreach_cell.h.
| macro2 foreach_cell_all | ( | ) |
Definition at line 142 of file foreach_cell.h.
References dimension, GHOSTS, Period, and x.
Referenced by balance(), check_depth(), foreach_tree(), is_newpid(), tree_check(), and update_cache_f().
Definition at line 256 of file foreach_cell.h.
References foreach_cell_post_root(), GHOSTS, and x.
Referenced by balance(), mpi_partitioning(), and restore_mpi().
Definition at line 271 of file foreach_cell.h.
References dimension, foreach_cell_post_root(), GHOSTS, and x.
Referenced by is_newpid().
Definition at line 157 of file foreach_cell.h.
References _BACK, _BOTTOM, _FRONT, _LEFT, _pop, _push, _RIGHT, _TOP, allocated(), Grid::depth, grid, i, Point::i, j, k, l, Point::level, point, stack, STACKSIZE, and x.
Referenced by foreach_cell_post(), and foreach_cell_post_all().
| macro2 foreach_cell_restore | ( | ivec | d = Dimensions, |
| int | rootlevel = 0 |
||
| ) |
Definition at line 308 of file foreach_cell.h.
Definition at line 7 of file foreach_cell.h.
References _BOTTOM, _LEFT, _RIGHT, _TOP, Grid::depth, grid, Point::level, point, recursive(), and x.
Referenced by recursive().