AutoPas  3.0.0
Loading...
Searching...
No Matches
VVLTraversalInterface.h
Go to the documentation of this file.
1
7#pragma once
8
9namespace autopas {
10
15template <class NeighborList>
17 public:
22
26 virtual ~VVLTraversalInterface() = default;
27
32 virtual void setNeighborListToTraverse(NeighborList &neighborList) { _neighborList = &neighborList; }
33
34 protected:
38 NeighborList *_neighborList;
39};
40
41} // namespace autopas
Interface for all traversals for VarVerletLists containers.
Definition: VVLTraversalInterface.h:16
NeighborList * _neighborList
The neighbor list to traverse.
Definition: VVLTraversalInterface.h:38
virtual void setNeighborListToTraverse(NeighborList &neighborList)
Sets the neighbor list to traverse.
Definition: VVLTraversalInterface.h:32
virtual ~VVLTraversalInterface()=default
Virtual default destructor.
VVLTraversalInterface()=default
Constructor of VVLTraversalInterface.
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32