Interface class to handle cell borders and cell types of cells. More...
#include <CellBorderAndFlagManager.h>

Public Types | |
| using | index_t = std::size_t |
| The index type to access the particle cells. | |
Public Member Functions | |
| virtual | ~CellBorderAndFlagManager ()=default |
| Cestructor. | |
| virtual bool | cellCanContainHaloParticles (index_t index1d) const =0 |
| Checks if the cell with the one-dimensional index index1d can contain halo particles. | |
| virtual bool | cellCanContainOwnedParticles (index_t index1d) const =0 |
| Checks if the cell with the one-dimensional index index1d can contain owned particles. | |
| bool | ignoreCellForIteration (index_t index1d, IteratorBehavior behavior) const |
| Checks if cell with index1d can be ignored for iteration with currently selected behavior. | |
Interface class to handle cell borders and cell types of cells.
|
pure virtual |
Checks if the cell with the one-dimensional index index1d can contain halo particles.
| index1d | the one-dimensional index of the cell that should be checked |
Implemented in autopas::internal::CellBlock3D< ParticleCell >, autopas::internal::CellBlock3D< autopas::FullParticleCell >, autopas::internal::CellBlock3D< autopas::ReferenceParticleCell >, autopas::internal::UnknowingCellBorderAndFlagManager, autopas::internal::ClusterTowerBlock2D< Particle_T >, autopas::internal::ClusterTowerBlock2D< ParticleCell::ParticleType >, and autopas::Octree< Particle_T >.
|
pure virtual |
Checks if the cell with the one-dimensional index index1d can contain owned particles.
| index1d | the one-dimensional index of the cell that should be checked |
Implemented in autopas::internal::CellBlock3D< ParticleCell >, autopas::internal::CellBlock3D< autopas::FullParticleCell >, autopas::internal::CellBlock3D< autopas::ReferenceParticleCell >, autopas::internal::UnknowingCellBorderAndFlagManager, autopas::internal::ClusterTowerBlock2D< Particle_T >, autopas::internal::ClusterTowerBlock2D< ParticleCell::ParticleType >, and autopas::Octree< Particle_T >.
|
inline |
Checks if cell with index1d can be ignored for iteration with currently selected behavior.
| index1d | 1d index of checked cell |
| behavior |