ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
radial_proj.h File Reference
#include "source_base/cubic_spline.h"
#include "source_base/matrix.h"
#include "source_base/realarray.h"
#include "source_base/vector3.h"
#include <complex>
#include <map>
#include <memory>
#include <tuple>
#include <vector>
Include dependency graph for radial_proj.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RadialProjection::RadialProjector
 RadialProjector holds the interpolation table of the Spherical Bessel Transform of a set of radial functions and evaluates the analytical Fourier transform on arbitrary q vectors. More...

Namespaces

namespace  RadialProjection

Functions

void RadialProjection::build_backward_map (const std::vector< std::vector< int > > &it2iproj, const std::vector< int > &iproj2l, std::vector< int > &irow2it, std::vector< int > &irow2iproj, std::vector< int > &irow2m)
void RadialProjection::build_forward_map (const std::vector< std::vector< int > > &it2ia, const std::vector< std::vector< int > > &it2iproj, const std::vector< int > &iproj2l, std::map< std::tuple< int, int, int, int >, int > &itiaiprojm2irow)
void RadialProjection::build_sbt_tab (const std::vector< int > &nproj, const std::vector< double > &r, const std::vector< std::vector< double > > &radials, const std::vector< int > &l, const int nq, const double dq, const double omega, const int npol, ModuleBase::realArray &tab, ModuleBase::matrix &nhtol)
 make interpolation tables for the Spherical Bessel Transform of type-wise radial projectors, in the (ntype, nprojmax*npol, nq) realArray layout used by the nonlocal-operator kernels, plus the (it, ih) -> l map.
void RadialProjection::mask_func (std::vector< double > &mask)
 get the mask function for SBFFT

Detailed Description

project any atom-centered function that has separable radial and angular parts or any function that can be expanded with spherical harmonics onto the planewave basis, although the latter will be somewhat cumbersome: f(r) = sum_{l,m} f_{lm}(r) * Ylm(theta, phi) F(q) = sum_{l,m} i^l * 4*pi/sqrt(omega) * Jl[f_{lm}](q) * Ylm(q)