|
MCKL
Monte Carlo Kernel Library
|
A thin wrapper over a complete Particle. More...
#include <mckl/core/particle.hpp>
Inherits ParticleIndexBaseType< T >.
Public Types | |
| using | difference_type = std::make_signed_t< typename Particle< T >::size_type > |
| using | iterator_category = std::random_access_iterator_tag |
| using | pointer = const ParticleIndex * |
| using | reference = const ParticleIndex & |
| using | value_type = ParticleIndex |
Public Member Functions | |
| ParticleIndex ()=default | |
| ParticleIndex (typename Particle< T >::size_type i, Particle< T > *pptr) | |
| reference | operator* () const noexcept |
| Dereference operator returns a reference to the index itself. More... | |
| pointer | operator-> () const noexcept |
| Member selection operator returns a pointer the index itself. More... | |
| template<typename IntType > | |
| ParticleIndex | operator[] (IntType n) |
| Subscript operator return a new index. More... | |
A thin wrapper over a complete Particle.
This class also serves as an random access iterator
Definition at line 86 of file particle.hpp.
| using mckl::ParticleIndex< T >::difference_type = std::make_signed_t<typename Particle<T>::size_type> |
Definition at line 90 of file particle.hpp.
| using mckl::ParticleIndex< T >::iterator_category = std::random_access_iterator_tag |
Definition at line 94 of file particle.hpp.
| using mckl::ParticleIndex< T >::pointer = const ParticleIndex * |
Definition at line 92 of file particle.hpp.
| using mckl::ParticleIndex< T >::reference = const ParticleIndex & |
Definition at line 93 of file particle.hpp.
| using mckl::ParticleIndex< T >::value_type = ParticleIndex |
Definition at line 91 of file particle.hpp.
|
default |
|
inline |
Definition at line 98 of file particle.hpp.
|
inlinenoexcept |
Dereference operator returns a reference to the index itself.
Definition at line 104 of file particle.hpp.
|
inlinenoexcept |
Member selection operator returns a pointer the index itself.
Definition at line 107 of file particle.hpp.
|
inline |
Subscript operator return a new index.
Definition at line 111 of file particle.hpp.
|
friend |
Definition at line 129 of file particle.hpp.
|
friend |
Definition at line 204 of file particle.hpp.
|
friend |
Definition at line 213 of file particle.hpp.
|
friend |
Definition at line 177 of file particle.hpp.
|
friend |
Definition at line 182 of file particle.hpp.
|
friend |
Definition at line 225 of file particle.hpp.
|
friend |
Definition at line 219 of file particle.hpp.
|
friend |
Definition at line 236 of file particle.hpp.
|
friend |
Definition at line 190 of file particle.hpp.
|
friend |
Definition at line 195 of file particle.hpp.
|
friend |
Definition at line 231 of file particle.hpp.
|
friend |
Definition at line 139 of file particle.hpp.
|
friend |
Definition at line 157 of file particle.hpp.
|
friend |
Definition at line 119 of file particle.hpp.
|
friend |
Definition at line 148 of file particle.hpp.
|
friend |
Definition at line 167 of file particle.hpp.
1.8.13