This is a FlagManager that does not know about the actual cells it contains. More...
#include <UnknowingCellBorderAndFlagManager.h>
Public Member Functions | |
bool | cellCanContainHaloParticles (index_t index1d) const override |
Checks if the cell with the one-dimensional index index1d can contain halo particles. | |
bool | cellCanContainOwnedParticles (index_t index1d) const override |
Checks if the cell with the one-dimensional index index1d can contain owned particles. | |
![]() | |
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. | |
Static Public Member Functions | |
static auto & | get () |
Get the static instance of this class. | |
Additional Inherited Members | |
![]() | |
using | index_t = std::size_t |
The index type to access the particle cells. | |
This is a FlagManager that does not know about the actual cells it contains.
It assumes that in every cell there can be any type of particle.
|
inlineoverridevirtual |
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 |
Implements autopas::internal::CellBorderAndFlagManager.
|
inlineoverridevirtual |
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 |
Implements autopas::internal::CellBorderAndFlagManager.
|
inlinestatic |
Get the static instance of this class.