AutoPas  3.0.0
Loading...
Searching...
No Matches
ParticleTypeTrait.h
Go to the documentation of this file.
1
7#pragma once
8namespace autopas {
9template <class Particle_T>
10class AutoPas;
11namespace utils {
12
19template <class Container>
24 using value = typename Container::ParticleType;
25};
26
31template <class ParticleCell>
32struct ParticleTypeTrait<std::vector<ParticleCell>> {
37};
38
44template <class Particle_T>
45struct ParticleTypeTrait<autopas::AutoPas<Particle_T>> {
49 using value = Particle_T;
50};
51} // namespace utils
52} // namespace autopas
The AutoPas class is intended to be the main point of Interaction for the user.
Definition: AutoPasDecl.h:46
Particle_T ParticleType
The particle type for this cell.
Definition: ParticleCell.h:56
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32
Particle_T value
The Particle Type.
Definition: ParticleTypeTrait.h:49
typename ParticleCell::ParticleType value
The Particle Type.
Definition: ParticleTypeTrait.h:36
ParticleTypeTrait class.
Definition: ParticleTypeTrait.h:20
typename Container::ParticleType value
The Particle Type.
Definition: ParticleTypeTrait.h:24