![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <aosoa_pack.hpp>
Collaboration diagram for CellStructure::AoSoA_pack:Public Types | |
| using | PositionViewType = Kokkos::View< double *[3], Kokkos::LayoutRight, Kokkos::HostSpace > |
| using | VelocityViewType = Kokkos::View< double *[3], Kokkos::LayoutRight, Kokkos::HostSpace > |
| using | DirectorViewType = Kokkos::View< double *[3], Kokkos::LayoutRight, Kokkos::HostSpace > |
| using | ImageViewType = Kokkos::View< int *[3], Kokkos::LayoutRight, Kokkos::HostSpace > |
| using | ChargeViewType = Kokkos::View< double *, Kokkos::HostSpace > |
| using | DipmViewType = Kokkos::View< double *, Kokkos::HostSpace > |
| using | IdViewType = Kokkos::View< int *, Kokkos::HostSpace > |
| using | TypeViewType = Kokkos::View< int *, Kokkos::HostSpace > |
| using | MassViewType = Kokkos::View< double *, Kokkos::HostSpace > |
| using | FlagsViewType = Kokkos::View< uint8_t *, Kokkos::HostSpace > |
Public Member Functions | |
| AoSoA_pack ()=default | |
| AoSoA_pack (std::size_t num_particles) | |
| HOST_ONLY_QUALIFIER void | resize (std::size_t num_particles) |
| template<typename array_layout , typename T , std::size_t N> | |
| DEVICE_QUALIFIER std::span< T, N > | get_span_at (Kokkos::View< T *[N], array_layout, Kokkos::HostSpace > const &view, std::size_t i) const |
| template<typename array_layout , typename T , std::size_t N> | |
| DEVICE_QUALIFIER Utils::Vector< T, N > | get_vector_at (Kokkos::View< T *[N], array_layout, Kokkos::HostSpace > const &view, std::size_t i) const |
| template<typename array_layout , typename T , std::size_t N> | |
| DEVICE_QUALIFIER void | set_vector_at (Kokkos::View< T *[N], array_layout, Kokkos::HostSpace > &view, std::size_t i, Utils::Vector< T, N > const &value) |
| void | reset_any_exclusion () |
| bool | has_any_exclusion () const |
| void | mark_any_exclusion () |
| DEVICE_QUALIFIER void | set_has_exclusion (std::size_t i, bool value) |
| DEVICE_QUALIFIER bool | has_exclusion (std::size_t i) const |
Public Attributes | |
| PositionViewType | position |
| VelocityViewType | velocity |
| DirectorViewType | director |
| ImageViewType | image |
| ChargeViewType | charge |
| DipmViewType | dipm |
| IdViewType | id |
| TypeViewType | type |
| MassViewType | mass |
| FlagsViewType | flags |
| std::atomic< bool > | any_exclusion {false} |
Definition at line 36 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::ChargeViewType = Kokkos::View<double *, Kokkos::HostSpace> |
Definition at line 45 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::DipmViewType = Kokkos::View<double *, Kokkos::HostSpace> |
Definition at line 46 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::DirectorViewType = Kokkos::View<double *[3], Kokkos::LayoutRight, Kokkos::HostSpace> |
Definition at line 41 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::FlagsViewType = Kokkos::View<uint8_t *, Kokkos::HostSpace> |
Definition at line 50 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::IdViewType = Kokkos::View<int *, Kokkos::HostSpace> |
Definition at line 47 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::ImageViewType = Kokkos::View<int *[3], Kokkos::LayoutRight, Kokkos::HostSpace> |
Definition at line 43 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::MassViewType = Kokkos::View<double *, Kokkos::HostSpace> |
Definition at line 49 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::PositionViewType = Kokkos::View<double *[3], Kokkos::LayoutRight, Kokkos::HostSpace> |
Definition at line 37 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::TypeViewType = Kokkos::View<int *, Kokkos::HostSpace> |
Definition at line 48 of file aosoa_pack.hpp.
| using CellStructure::AoSoA_pack::VelocityViewType = Kokkos::View<double *[3], Kokkos::LayoutRight, Kokkos::HostSpace> |
Definition at line 39 of file aosoa_pack.hpp.
|
default |
|
inline |
Definition at line 65 of file aosoa_pack.hpp.
|
inline |
Definition at line 114 of file aosoa_pack.hpp.
References stream.
|
inline |
Definition at line 120 of file aosoa_pack.hpp.
References Utils::Vector< T, N >::data(), and stream.
Referenced by EnergyKernel::operator()(), ForcesKernel::operator()(), and PressureKernel::operator()().
|
inline |
Definition at line 170 of file aosoa_pack.hpp.
References any_exclusion.
|
inline |
Definition at line 189 of file aosoa_pack.hpp.
Referenced by EnergyKernel::operator()(), ForcesKernel::operator()(), and PressureKernel::operator()().
|
inline |
Definition at line 179 of file aosoa_pack.hpp.
References any_exclusion, and stream.
Referenced by commit_particle().
|
inline |
Definition at line 166 of file aosoa_pack.hpp.
References any_exclusion.
|
inline |
|
inline |
Definition at line 185 of file aosoa_pack.hpp.
Referenced by commit_particle().
|
inline |
Definition at line 164 of file aosoa_pack.hpp.
Referenced by has_any_exclusion(), mark_any_exclusion(), and reset_any_exclusion().
| ChargeViewType CellStructure::AoSoA_pack::charge |
Definition at line 56 of file aosoa_pack.hpp.
Referenced by commit_particle(), SpecializedForcesKernel< HasCoulomb >::operator()(), EnergyKernel::operator()(), ForcesKernel::operator()(), PressureKernel::operator()(), and resize().
| DipmViewType CellStructure::AoSoA_pack::dipm |
Definition at line 57 of file aosoa_pack.hpp.
Referenced by commit_particle(), EnergyKernel::operator()(), ForcesKernel::operator()(), PressureKernel::operator()(), and resize().
| DirectorViewType CellStructure::AoSoA_pack::director |
Definition at line 54 of file aosoa_pack.hpp.
Referenced by commit_particle(), EnergyKernel::operator()(), ForcesKernel::operator()(), PressureKernel::operator()(), and resize().
| FlagsViewType CellStructure::AoSoA_pack::flags |
Definition at line 61 of file aosoa_pack.hpp.
Referenced by commit_particle(), has_exclusion(), resize(), and set_has_exclusion().
| IdViewType CellStructure::AoSoA_pack::id |
Definition at line 58 of file aosoa_pack.hpp.
Referenced by commit_particle(), ForcesKernel::operator()(), and PressureKernel::operator()().
| ImageViewType CellStructure::AoSoA_pack::image |
Definition at line 55 of file aosoa_pack.hpp.
Referenced by commit_particle(), and resize().
| MassViewType CellStructure::AoSoA_pack::mass |
Definition at line 60 of file aosoa_pack.hpp.
Referenced by commit_particle(), and resize().
| PositionViewType CellStructure::AoSoA_pack::position |
Definition at line 52 of file aosoa_pack.hpp.
Referenced by commit_particle(), SpecializedForcesKernel< HasCoulomb >::operator()(), EnergyKernel::operator()(), ForcesKernel::operator()(), PressureKernel::operator()(), and resize().
| TypeViewType CellStructure::AoSoA_pack::type |
Definition at line 59 of file aosoa_pack.hpp.
Referenced by commit_particle(), SpecializedForcesKernel< HasCoulomb >::operator()(), EnergyKernel::operator()(), ForcesKernel::operator()(), PressureKernel::operator()(), and resize().
| VelocityViewType CellStructure::AoSoA_pack::velocity |
Definition at line 53 of file aosoa_pack.hpp.
Referenced by commit_particle(), ForcesKernel::operator()(), PressureKernel::operator()(), and resize().