Class representing a cell in the linked cells algorithm.
std::vector< Particle * > & getParticleReferences()
Get the reference vector for the particles the cell contains.
Extension of the ParticleContainer class using a linked cells data structure for improved performance...
std::vector< Cell * > right_halo_cell_references
References to the halo cells on the right (x = domain_num_cells[0])
std::vector< Cell * > front_halo_cell_references
References to the halo cells on the front (z = domain_num_cells[2])
std::vector< Cell * > bottom_halo_cell_references
References to the halo cells on the bottom (y = -1)
std::vector< Cell * > left_halo_cell_references
References to the halo cells on the left (x = -1)
std::vector< Cell * > top_halo_cell_references
References to the halo cells on the top (y = domain_num_cells[1])
std::vector< Cell * > back_halo_cell_references
References to the halo cells on the back (z = -1)
std::array< BoundaryCondition, 6 > boundary_types
The boundary types for each side of the domain (order in array: left, right, bottom,...
std::vector< Particle > particles
Internal data structure for the particles.
static void applyBoundaryConditions(LinkedCellsContainer &container)
Applies the boundary conditions for the outflow boundary condition.
static void pre(LinkedCellsContainer &container)
Applies the preconditioning step for the outflow boundary condition.
Class to represent a particle.