|  | 
|  | Cluster (Particle_T *firstParticle, size_t clusterSize) | 
|  | Constructs a cluster starting from firstParticle and going on for clusterSize particles. 
 | 
|  | 
| Particle_T & | operator[] (size_t index) | 
|  | Returns the particle at position index in the cluster. 
 | 
|  | 
| const Particle_T & | operator[] (size_t index) const | 
|  | Returns the particle at position index in the cluster. 
 | 
|  | 
| bool | empty () const | 
|  | Indicates if the cluster contains any non-dummy particles. 
 | 
|  | 
| std::tuple< double, double, bool > | getZMinMax () const | 
|  | Get Minimum and Maximum of the particles in z-direction. 
 | 
|  | 
| auto | getSoAView () | 
|  | Returns the SoAView for this cluster. 
 | 
|  | 
| void | setSoAView (const SoAView< typename Particle_T::SoAArraysType > &view) | 
|  | Set the SoAView for this cluster. 
 | 
|  | 
| void | setNeighborList (std::vector< Cluster< Particle_T > * > *neighborList) | 
|  | Set the internal neighbor list pointer to an allocated, but not necessarily complete, existing list. 
 | 
|  | 
| std::vector< Cluster< Particle_T > * > * | getNeighbors () | 
|  | Returns the reference to the neighbor list for this cluster. 
 | 
|  | 
| void | addNeighbor (Cluster< Particle_T > &neighbor) | 
|  | Adds the given cluster to the neighbor list of this cluster. 
 | 
|  | 
| void | clearNeighbors () | 
|  | Remove all neighbors. 
 | 
|  | 
| void | reset (Particle_T *firstParticle) | 
|  | 
| std::tuple< std::array< double, 3 >, std::array< double, 3 > > | getBoundingBox () const | 
|  | Get the bounding box of this cluster. 
 | 
|  | 
template<class Particle_T>
class autopas::internal::Cluster< Particle_T >
This class represents a cluster in the VerletClusterLists container. 
It contains a pointer to the particles for AoS, a SoAView for SoA, and the neighbor list for this cluster.
- Template Parameters
- 
  
    | Particle_T | The type of the particles this cluster consists of. |  | clusterSize | The number of particles in the cluster. |