13#include "autopas/containers/linkedCells/LinkedCellsReferences.h"
32template <
typename Particle_T,
typename FunctionType>
34 FunctionType &&function) {
36 case ContainerOption::directSum:
38 case ContainerOption::linkedCells:
40 case ContainerOption::linkedCellsReferences:
42 case ContainerOption::verletLists:
44 case ContainerOption::verletListsCells:
47 case ContainerOption::verletClusterLists:
49 case ContainerOption::pairwiseVerletLists:
52 case ContainerOption::varVerletListsAsBuild:
55 case ContainerOption::octree:
This class stores all owned particles in a single cell.
Definition: DirectSum.h:46
LinkedCells class.
Definition: LinkedCellsReferences.h:39
LinkedCells class.
Definition: LinkedCells.h:40
The octree is a CellBasedParticleContainer that consists internally of two octrees.
Definition: Octree.h:41
The ParticleContainerInterface class provides a basic interface for all Containers within AutoPas.
Definition: ParticleContainerInterface.h:37
virtual ContainerOption getContainerType() const =0
Get the ContainerType.
Variable Verlet Lists container with different neighbor lists.
Definition: VarVerletLists.h:20
Particles are divided into clusters.
Definition: VerletClusterLists.h:56
Linked Cells with Verlet Lists container.
Definition: VerletListsCells.h:36
Verlet Lists container.
Definition: VerletLists.h:32
static void exception(const Exception e)
Handle an exception derived by std::exception.
Definition: ExceptionHandler.h:63
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32
decltype(auto) withStaticContainerType(autopas::ParticleContainerInterface< Particle_T > &container, FunctionType &&function)
Will execute the passed function body with the static container type of container.
Definition: StaticContainerSelector.h:33