MADNESS 0.10.1
madness::Displacements< NDIM >::PeriodicLists Struct Reference

the displacements for kernels lattice-summed along one set of axes, per level, in the two orders consumers use More...

Collaboration diagram for madness::Displacements< NDIM >::PeriodicLists:

Public Member Functions

 PeriodicLists (const array_of_bools< NDIM > &a)

Public Attributes

array_of_bools< NDIM > axes
 the lattice-summed axes
std::array< std::vector< Key< NDIM > >, 64 > by_distance {}
 ordered by Key::real_distsq_bc, for kernels that decay away from the source
std::array< std::vector< Key< NDIM > >, 64 > by_image_distance {}
 ordered by Key::real_distsq_images, for rest-of-crystal kernels (OperatorInfo::images_only)
std::atomic< bool > images_built {false}
 by_image_distance is filled on first request (get_disp_images)

Detailed Description

template<std::size_t NDIM>
struct madness::Displacements< NDIM >::PeriodicLists

the displacements for kernels lattice-summed along one set of axes, per level, in the two orders consumers use

Constructor & Destructor Documentation

◆ PeriodicLists()

template<std::size_t NDIM>
madness::Displacements< NDIM >::PeriodicLists::PeriodicLists ( const array_of_bools< NDIM > & a)
inlineexplicit

References a, and axes.

Member Data Documentation

◆ axes

◆ by_distance

template<std::size_t NDIM>
std::array<std::vector< Key<NDIM> >, 64 > madness::Displacements< NDIM >::PeriodicLists::by_distance {}

◆ by_image_distance

template<std::size_t NDIM>
std::array<std::vector< Key<NDIM> >, 64 > madness::Displacements< NDIM >::PeriodicLists::by_image_distance {}

◆ images_built

template<std::size_t NDIM>
std::atomic<bool> madness::Displacements< NDIM >::PeriodicLists::images_built {false}

by_image_distance is filled on first request (get_disp_images)

Referenced by madness::Displacements< NDIM >::get_disp_images().


The documentation for this struct was generated from the following file: