#include <algorithm>
#include <vector>
#include "grid_gpu_context.h"
#include "grid_gpu_internal_header.h"
Go to the source code of this file.
|
| template<int STRIDE> |
| __device__ __inline__ int | grid_gpu_backend::sep_advance_wrapped_index (const int x2, const int n) |
| int | grid_gpu_backend::separable_lmax_bucket (const int lp_max) |
| static void | grid_gpu_backend::init_separable_constant_memory () |
| | Initializes the constant memory of integrate_separable_kernel.
|
| static std::vector< double > | grid_gpu_backend::build_lattice_to_cartesian_matrix (const double *dh, const int lmax) |
| | Builds the matrix expanding the cartesian monomials x^a y^b z^c in lattice monomials u^i v^j w^k, where x = dh[0] u + dh[3] v + dh[6] w, y = dh[1] u + dh[4] v + dh[7] w, z = dh[2] u + dh[5] v + dh[8] w. Only the blocks a + b + c = i + j + k = l are non zero. They are stored one after the other for l = 0..lmax, block l being row major of size nl x nl, nl = (l + 1)(l + 2) / 2, rows and columns in coset order.
|
| static const double * | grid_gpu_backend::get_lattice_to_cartesian (grid_info< double > &grid, const int lmax) |
| | Returns the lattice to cartesian matrix of a grid level on the device, (re)computing it when the lattice vectors changed or a higher angular momentum is needed.
|
◆ GRID_SEP_COLLOCATE_ROW_LANES
| #define GRID_SEP_COLLOCATE_ROW_LANES 8 |
◆ GRID_SEP_INTEGRATE_ROW_LANES
| #define GRID_SEP_INTEGRATE_ROW_LANES 4 |
◆ GRID_SEP_MAX_L
| #define GRID_SEP_MAX_L 18 |