ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <Array.hpp>
Public Types | |
using | value_type = T |
using | size_type = std::size_t |
using | difference_type = std::ptrdiff_t |
using | reference = value_type & |
using | const_reference = const value_type & |
using | iterator = value_type * |
using | const_iterator = const value_type * |
using | pointer = value_type * |
using | const_pointer = const value_type * |
Static Public Member Functions | |
static DEVICE_QUALIFIER constexpr Array< T, N > | broadcast (const value_type &value) |
static constexpr detail::ArrayFormatter | formatter (char const *sep=" ") |
Public Attributes | |
detail::Storage< T, N > | m_storage |
Friends | |
std::ostream & | operator<< (std::ostream &out, Array const &a) |
std::ostream & | operator<< (detail::ArrayFormatterStream const &fmt, Array const &a) |
using Utils::Array< T, N >::const_iterator = const value_type * |
using Utils::Array< T, N >::const_pointer = const value_type * |
using Utils::Array< T, N >::const_reference = const value_type & |
using Utils::Array< T, N >::difference_type = std::ptrdiff_t |
using Utils::Array< T, N >::iterator = value_type * |
using Utils::Array< T, N >::pointer = value_type * |
using Utils::Array< T, N >::reference = value_type & |
using Utils::Array< T, N >::size_type = std::size_t |
using Utils::Array< T, N >::value_type = T |
|
inlineconstexpr |
Definition at line 86 of file Array.hpp.
References DEVICE_THROW, and Utils::Array< T, N >::m_storage.
Referenced by calc_rg().
|
inlineconstexpr |
Definition at line 93 of file Array.hpp.
References DEVICE_THROW, and Utils::Array< T, N >::m_storage.
|
inlineconstexpr |
Definition at line 114 of file Array.hpp.
References Utils::Array< T, N >::end().
|
inlineconstexpr |
Definition at line 116 of file Array.hpp.
References Utils::Array< T, N >::cend().
|
inlineconstexprnoexcept |
Definition at line 132 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
|
inlineconstexprnoexcept |
Definition at line 128 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
Referenced by Utils::Vector< T, N >::as_span(), Utils::Vector< T, N >::as_vector(), Utils::Matrix< T, Rows, Cols >::begin(), Utils::Matrix< T, Rows, Cols >::begin(), Shapes::Ellipsoid::calculate_dist(), DipolarDirectSum::dipole_field_at_part(), Utils::Array< T, N >::front(), Utils::hadamard_division(), Utils::hadamard_division(), Utils::hadamard_product(), p3m_interpolation_cache::load(), Utils::Vector< T, N >::operator Vector< U, N >(), Utils::operator/(), Utils::operator/(), p3m_gpu_init(), walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_velocity(), walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_velocity_at_boundary(), Utils::sqrt(), Utils::Vector< T, N >::swap(), and Utils::Vector< T, N >::Vector().
|
inlinestaticconstexpr |
|
inlineconstexprnoexcept |
Definition at line 136 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
Referenced by Utils::Array< T, N >::front(), Utils::hadamard_division(), Utils::hadamard_product(), and Utils::product().
|
inlineconstexprnoexcept |
Definition at line 148 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
Referenced by Utils::Array< T, N >::back(), Utils::hadamard_division(), Utils::hadamard_product(), and Utils::product().
|
inlineconstexprnoexcept |
Definition at line 124 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
|
inlineconstexprnoexcept |
Definition at line 120 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
Referenced by CoulombTuningAlgorithm< FloatType, Architecture >::calculate_accuracy(), Utils::Mpi::cart_coords(), Utils::Mpi::cart_create(), Utils::Mpi::cart_rank(), Utils::Matrix< T, Rows, Cols >::data(), Utils::Matrix< T, Rows, Cols >::data(), p3m_send_mesh< FloatType >::gather_grid(), fft::fft_data_struct< FloatType >::initialize_fft(), Utils::raster(), and p3m_send_mesh< FloatType >::spread_grid().
|
inlineconstexprnoexcept |
Definition at line 152 of file Array.hpp.
References Utils::Array< T, N >::size().
|
inlineconstexprnoexcept |
Definition at line 144 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
|
inlineconstexprnoexcept |
Definition at line 140 of file Array.hpp.
References Utils::Array< T, N >::m_storage.
Referenced by Utils::Vector< T, N >::as_vector(), Utils::Array< T, N >::back(), Shapes::Ellipsoid::calculate_dist(), Utils::Matrix< T, Rows, Cols >::end(), Utils::Matrix< T, Rows, Cols >::end(), Utils::Vector< T, N >::operator Vector< U, N >(), p3m_gpu_init(), walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_velocity(), and Utils::Vector< T, N >::swap().
|
inline |
Definition at line 158 of file Array.hpp.
References Utils::Array< T, N >::m_storage, and Utils::Array< T, N >::size().
|
inlinestaticconstexpr |
Definition at line 173 of file Array.hpp.
Referenced by ScriptInterface::LatticeIndices::throw_invalid_index().
|
inlineconstexpr |
Definition at line 110 of file Array.hpp.
References Utils::Array< T, N >::begin().
Referenced by Utils::get_cylindrical_sampling_positions().
|
inlineconstexpr |
Definition at line 112 of file Array.hpp.
References Utils::Array< T, N >::cbegin().
|
inlineconstexprnoexcept |
|
inlineconstexpr |
Definition at line 100 of file Array.hpp.
References DEVICE_ASSERT, and Utils::Array< T, N >::m_storage.
|
inlineconstexpr |
Definition at line 105 of file Array.hpp.
References DEVICE_ASSERT, and Utils::Array< T, N >::m_storage.
|
inlineconstexprnoexcept |
Definition at line 154 of file Array.hpp.
Referenced by Utils::Vector< T, N >::as_span(), Utils::Array< T, N >::empty(), Utils::Array< T, N >::fill(), walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_velocity(), and walberla::LBWalberlaImpl< FloatType, Architecture >::set_slice_velocity_at_boundary().
|
friend |
|
friend |
detail::Storage<T, N> Utils::Array< T, N >::m_storage |
Definition at line 84 of file Array.hpp.
Referenced by Utils::Array< T, N >::at(), Utils::Array< T, N >::at(), Utils::Array< T, N >::begin(), Utils::Array< T, N >::begin(), Utils::Array< T, N >::cbegin(), Utils::Array< T, N >::cend(), Utils::Array< T, N >::data(), Utils::Array< T, N >::data(), Utils::Array< T, N >::end(), Utils::Array< T, N >::end(), Utils::Array< T, N >::fill(), Utils::Array< T, N >::operator[](), and Utils::Array< T, N >::operator[]().