#include <NearestNeighbourLinkedListCube.h>
Public Member Functions | |
| int | build_nearest_neighbour_lookup (scalar h) |
| int | prebuild_nearest_neighbour_lookup_and_swap (scalar h) |
| int | prebuild_nearest_neighbour_lookup (scalar h) |
Public Member Functions inherited from LinkedListCube< Face > | |
| LinkedListCube () | |
| ~LinkedListCube () | |
| int | alloc (int N_x, int N_y, int N_z, int max_num_nodes_in_pool) |
| int | alloc_dual (int N_x, int N_y, int N_z, int max_num_nodes_in_pool) |
| int | add_to_pool (Face *t) |
| int | add_to_pool_dual (Face *t) |
| LinkedListNode< Face > * | get_from_pool (int i) |
| void | clear () |
| void | clear_layer (int l) |
| void | clear_shadow_layer () |
| int | add_node_to_stack (int i, int x, int y, int z) |
| int | add_node_to_stack_shadow (int i, int x, int y, int z) |
| LinkedListNode< Face > * | get_top_of_stack (int x, int y, int z) |
| int | get_pool_size () |
| void | get_dim (int *Nx, int *Ny, int *Nz) |
| int | safely_swap_layers () |
| void | allow_swapping () |
| void | forbid_swapping () |
Additional Inherited Members | |
Protected Member Functions inherited from LinkedListCube< Face > | |
| void | swap_layers () |
Protected Attributes inherited from LinkedListCube< Face > | |
| int | N_x |
| int | N_y |
| int | N_z |
| int | max_num_nodes_in_pool |
| int | num_nodes_in_pool |
| LinkedListNode< Face > ** | root1 |
| LinkedListNode< Face > ** | root2 |
| LinkedListNode< Face > ** | root |
| LinkedListNode< Face > ** | root_shadow |
| LinkedListNode< Face > * | pool1 |
| LinkedListNode< Face > * | pool2 |
| LinkedListNode< Face > * | pool |
| LinkedListNode< Face > * | pool_shadow |
| int | active_layer |
| int | shadow_layer |
| bool | can_swap |
| int NearestNeighbourLinkedListCube::build_nearest_neighbour_lookup | ( | scalar | h | ) |
Build the nearest neighbour look up cube given the spatial cell size
Referenced by World::run().
| int NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup | ( | scalar | h | ) |
Build the nearest neighbour look up cube given the spatial cell size
Referenced by World::die_with_dignity().
| int NearestNeighbourLinkedListCube::prebuild_nearest_neighbour_lookup_and_swap | ( | scalar | h | ) |
Build the nearest neighbour look up cube given the spatial cell size