forked from deepmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnap_psibeta_half_tddft.h
More file actions
54 lines (48 loc) · 2.09 KB
/
Copy pathsnap_psibeta_half_tddft.h
File metadata and controls
54 lines (48 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef SNAP_PSIBETA_HALF_TDDFT
#define SNAP_PSIBETA_HALF_TDDFT
#include "source_base/vector3.h"
#include "source_basis/module_ao/ORB_read.h"
#include "source_cell/setup_nonlocal.h"
#include "source_lcao/module_rt/snap_projector_half_tddft.h"
#include <complex>
#include <vector>
namespace module_rt
{
/**
* @brief Compute RT-TDDFT velocity-gauge beta-projector overlaps.
*
* UPF beta projectors are stored as r * beta_l(r) and selected by atom type T0.
* This overload uses the production quadrature settings.
*/
void snap_psibeta_half_tddft(const LCAO_Orbitals& orb,
const InfoNonlocal& infoNL_,
std::vector<std::vector<std::complex<double>>>& nlm,
const ModuleBase::Vector3<double>& R1,
const int& T1,
const int& L1,
const int& m1,
const int& N1,
const ModuleBase::Vector3<double>& R0, // The projector.
const int& T0,
const ModuleBase::Vector3<double>& A,
const bool& calc_r);
/**
* @brief Compute RT-TDDFT velocity-gauge beta-projector overlaps.
*
* This overload is used by tests to select the radial and Lebedev-Laikov grids.
*/
void snap_psibeta_half_tddft(const LCAO_Orbitals& orb,
const InfoNonlocal& infoNL_,
std::vector<std::vector<std::complex<double>>>& nlm,
const ModuleBase::Vector3<double>& R1,
const int& T1,
const int& L1,
const int& m1,
const int& N1,
const ModuleBase::Vector3<double>& R0,
const int& T0,
const ModuleBase::Vector3<double>& A,
const bool& calc_r,
const SnapIntegrationOptions& options);
} // namespace module_rt
#endif