ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
spar_dh.h
Go to the documentation of this file.
1#ifndef SPAR_DH_H
2#define SPAR_DH_H
3
10#include <vector>
11
13{
14void cal_dH(const UnitCell& ucell,
15 const Parallel_Orbitals& pv,
16 LCAO_HS_Arrays& HS_Arrays,
17 const Grid_Driver& grid,
18 const TwoCenterBundle& two_center_bundle,
19 const LCAO_Orbitals& orb,
20 const int& current_spin,
21 const double& sparse_thr,
22 const ModuleBase::matrix& v_eff);
23
24// calculated the derivative of the overlap matrix: <phi|dphi>
25void cal_dS(const UnitCell& ucell,
26 const Parallel_Orbitals& pv,
27 LCAO_HS_Arrays& HS_Arrays,
28 const Grid_Driver& grid,
29 const TwoCenterBundle& two_center_bundle,
30 const LCAO_Orbitals& orb,
31 const double& sparse_thr);
32
33// be called by 'cal_dH_sparse'
34void set_R_range(std::set<Abfs::Vector3_Order<int>>& all_R_coor, const Grid_Driver& grid);
35
36// be called by 'cal_dH_sparse'
37void cal_dSTN_R(const UnitCell& ucell,
38 const Parallel_Orbitals& pv,
39 LCAO_HS_Arrays& HS_Arrays,
40 ForceStressArrays& fsr, // mohan add 2024-06-16
41 const Grid_Driver& grid,
42 const std::vector<double>& orb_cutoff,
43 const int& current_spin,
44 const double& sparse_thr);
45
46void destroy_dH_R_sparse(LCAO_HS_Arrays& HS_Arrays);
47
48} // namespace sparse_format
49
50#endif
Definition abfs-vector3_order.h:16
Definition force_stress_arrays.h:5
Definition sltk_grid_driver.h:43
Definition LCAO_HS_arrays.hpp:9
Definition ORB_read.h:19
Definition matrix.h:19
Definition parallel_orbitals.h:9
Definition two_center_bundle.h:11
Definition unitcell.h:17
Definition spar_dh.h:13
void cal_dS(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const double &sparse_thr)
Definition spar_dh.cpp:8
void destroy_dH_R_sparse(LCAO_HS_Arrays &HS_Arrays)
Definition spar_dh.cpp:276
void set_R_range(std::set< Abfs::Vector3_Order< int > > &all_R_coor, const Grid_Driver &grid)
Definition spar_dh.cpp:123
void cal_dSTN_R(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, ForceStressArrays &fsr, const Grid_Driver &grid, const std::vector< double > &orb_cutoff, const int &current_spin, const double &sparse_thr)
Definition spar_dh.cpp:148
void cal_dH(const UnitCell &ucell, const Parallel_Orbitals &pv, LCAO_HS_Arrays &HS_Arrays, const Grid_Driver &grid, const TwoCenterBundle &two_center_bundle, const LCAO_Orbitals &orb, const int &current_spin, const double &sparse_thr, const ModuleBase::matrix &v_eff)
Definition spar_dh.cpp:53