AutoPas  3.0.0
Loading...
Searching...
No Matches
autopas::NeighborListPolicyConcept Concept Reference

Concept defining the requirements for a NeighborListPolicy used by the InteractionListGeneratorFunctor. More...

#include <InteractionListGeneratorFunctor.h>

Concept definition

template<class Policy_T, class Particle_T>
concept autopas::NeighborListPolicyConcept = requires(Policy_T policy, size_t numParticles, Particle_T *p1, Particle_T *p2) {
{ policy.add(p1, p2) } -> std::same_as<void>;
}
Concept defining the requirements for a NeighborListPolicy used by the InteractionListGeneratorFuncto...
Definition: InteractionListGeneratorFunctor.h:23

Detailed Description

Concept defining the requirements for a NeighborListPolicy used by the InteractionListGeneratorFunctor.

Template Parameters
Policy_TThe policy type to check.
Particle_TThe particle type the policy operates on.