Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
5d8b0c7
update timer, add std
mohanchen Mar 27, 2024
b5bcc7f
update the format of esolver_fp.cpp
mohanchen Mar 27, 2024
3c69ace
add description in esolver_fp.h
mohanchen Mar 27, 2024
e1551cf
update a few esolver files
mohanchen Mar 27, 2024
f0a5c3b
update esolver description for LCAO
mohanchen Mar 27, 2024
1c8ed86
update some formats of esolver codes
mohanchen Mar 27, 2024
ea0e2c4
update esolver_ks_pw.cpp formats
mohanchen Mar 27, 2024
ae36b11
update formats of esolver_ks_pw.cpp and esolver_ks_pw.h
mohanchen Mar 27, 2024
16b0f76
update esolver_ks_lcao_tddft.cpp formats
mohanchen Mar 27, 2024
1768c88
update format of esolver_sdft_pw.cpp
mohanchen Mar 27, 2024
6a606ed
update the format of esolver_sdft_pw_tool.cpp
mohanchen Mar 27, 2024
cac11ea
keep formating esolver_ks_pw.cpp
mohanchen Mar 27, 2024
e191f6c
formating esolver_of_interface.cpp
mohanchen Mar 27, 2024
8eddd5a
change GlobalC::ucell to ucell in esolver_ks.cpp
mohanchen Mar 27, 2024
bcf4d54
remove some GlobalC::ucell in esolver_sdft_pw.cpp
mohanchen Mar 27, 2024
1ca6574
refactor the code before getting rid of RA in esolver_lcao
mohanchen Mar 28, 2024
7987684
refactor before getting rid of LOWF
mohanchen Mar 28, 2024
186609f
refactor before getting rid of LCAO_hamilt.h and LCAO_matrix.h
mohanchen Mar 28, 2024
fc02fb8
refactor wavefunc_in_pw
mohanchen Mar 28, 2024
7a8064f
refactor density matrix
mohanchen Mar 28, 2024
f95129d
refactor the format cal_dm_psi.cpp
mohanchen Mar 28, 2024
98234ae
format forces.cpp
mohanchen Mar 30, 2024
583214c
refactor esolver_of_tool.cpp
mohanchen Mar 30, 2024
2638dd3
resolve conflict
mohanchen Mar 30, 2024
9505a9f
change member function beforescf in Esolver to before_scf
mohanchen Mar 31, 2024
313893e
change afterscf to after_scf
mohanchen Mar 31, 2024
7317a47
change updatepot to update_pot
mohanchen Mar 31, 2024
730b460
change eachiterinit to iter_init, change eachiterfinish to iter_finish
mohanchen Mar 31, 2024
31760e8
refactor esolvers, change member function names of most esolvers
mohanchen Mar 31, 2024
cccbb14
reformat esolver.h
mohanchen Mar 31, 2024
270a39d
update tests for esolvers
mohanchen Mar 31, 2024
bfc8ac7
add TITLE in esolver_ks_lcao
mohanchen Mar 31, 2024
3e15388
update esolver_ks_lcao
mohanchen Mar 31, 2024
413e73f
update esolver_lcao
mohanchen Mar 31, 2024
3f2006a
update timer::tick in esolver_lcao
mohanchen Mar 31, 2024
78c08cf
try to delete LCAO_Matrix in LCAO_Hamilt, and try to delete Parallel_…
mohanchen Mar 31, 2024
76b23de
fix the compiling issue with LCAO_hamilt.hpp
mohanchen Mar 31, 2024
4018fa2
try to divide the FORCE_k.cpp into several small files
mohanchen Mar 31, 2024
eee4f97
fix conflicts
mohanchen Mar 31, 2024
34add55
divide FORCE_k into foverlap_k.cpp ftvnl_dphi_k.cpp fvl_dphi_k.cpp fv…
mohanchen Mar 31, 2024
0469d94
get rid of UHM in FORCE_k.cpp
mohanchen Mar 31, 2024
2eac633
cannot compile, but I have modified some files in order to get rid of…
mohanchen Mar 31, 2024
21d4637
keep updating, cannot run
mohanchen Mar 31, 2024
3e01810
update write_Vxc, cannot run yet
mohanchen Mar 31, 2024
be3b80a
keep updating gint_gamma and gint_k
mohanchen Apr 1, 2024
37066e5
update LCAO_matrix.cpp
mohanchen Apr 1, 2024
d128c11
divide force files, and update Makefile.Objects
mohanchen Apr 1, 2024
a2e25b3
update LCAO_hamilt.cpp
mohanchen Apr 1, 2024
d6e6492
Merge branch 'deepmodeling:develop' into develop
mohanchen Apr 1, 2024
e182760
Merge branch 'divide_force' into develop.
mohanchen Apr 1, 2024
d96852a
Merge branch 'deepmodeling:develop' into develop
mohanchen Apr 2, 2024
70420af
delete genH pointer in UHM
mohanchen Apr 2, 2024
9bc99e2
Merge branch 'develop' of https://github.com/mohanchen/abacus-mc into…
mohanchen Apr 2, 2024
28d0035
divide LCAO_hamilt.cpp into small codes, grid_init.cpp is the first one
mohanchen Apr 2, 2024
0b10d2c
update grid_init in esolver_ks_lcao
mohanchen Apr 2, 2024
bfb62a6
add a new namespace named sparse_format, most of the functions that o…
mohanchen Apr 2, 2024
0d5b0e1
update with the upstream
mohanchen Apr 3, 2024
2978fa5
cannot find the mismatch of DFTU
mohanchen Apr 3, 2024
c5ab404
fix the DFTU error
mohanchen Apr 3, 2024
a2f4374
update
mohanchen Apr 3, 2024
c8be288
avoid using UHM in esolver_ks_lcao, try to move some functions in LCA…
mohanchen Apr 3, 2024
b70a219
Merge branch 'develop' into new
mohanchen Apr 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/Makefile.Objects
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,8 @@ OBJS_LCAO=DM_gamma.o\
fvnl_dbeta_k.o\
LCAO_gen_fixedH.o\
LCAO_hamilt.o\
grid_init.o\
sparse_format.o\
LCAO_matrix.o\
LCAO_nnr.o\
center2_orb-orb11.o\
Expand Down
17 changes: 9 additions & 8 deletions source/module_esolver/esolver_ks_lcao.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void ESolver_KS_LCAO<TK, TR>::init(Input& inp, UnitCell& ucell)
&(this->LOC),
&(this->GG), // mohan add 2024-04-01
&(this->GK), // mohan add 2024-04-01
&(this->UHM),
&(this->uhm),
&(this->LOWF),
this->pw_rho,
this->pw_big);
Expand All @@ -131,7 +131,7 @@ void ESolver_KS_LCAO<TK, TR>::init(Input& inp, UnitCell& ucell)
//------------------init Basis_lcao----------------------

//! pass Hamilt-pointer to Operator
this->UHM.genH.LM = this->UHM.LM = &this->LM;
this->gen_h.LM = this->uhm.LM = &this->LM;

//! pass basis-pointer to EState and Psi
this->LOC.ParaV = this->LOWF.ParaV = this->LM.ParaV = &(this->orb_con.ParaV);
Expand Down Expand Up @@ -259,7 +259,7 @@ void ESolver_KS_LCAO<TK, TR>::init_after_vc(Input& inp, UnitCell& ucell)
&(this->LOC),
&(this->GG), // mohan add 2024-04-01
&(this->GK), // mohan add 2024-04-01
&(this->UHM),
&(this->uhm),
&(this->LOWF),
this->pw_rho,
this->pw_big);
Expand Down Expand Up @@ -313,10 +313,10 @@ void ESolver_KS_LCAO<TK, TR>::cal_force(ModuleBase::matrix& force)
GlobalV::TEST_STRESS,
this->LOC,
this->orb_con.ParaV,
this->LM,
this->pelec,
this->psi,
this->UHM,
this->LM,
this->gen_h, // mohan add 2024-04-02
this->GG, // mohan add 2024-04-01
this->GK, // mohan add 2024-04-01
force,
Expand Down Expand Up @@ -426,7 +426,7 @@ void ESolver_KS_LCAO<TK, TR>::post_process(void)
{
ModuleIO::write_proj_band_lcao(
this->psi,
this->UHM,
this->uhm,
this->pelec,
this->kv,
GlobalC::ucell,
Expand All @@ -437,7 +437,7 @@ void ESolver_KS_LCAO<TK, TR>::post_process(void)
{
ModuleIO::out_dos_nao(
this->psi,
this->UHM,
this->uhm,
this->pelec->ekb,
this->pelec->wg,
INPUT.dos_edelta_ev,
Expand Down Expand Up @@ -1204,7 +1204,8 @@ ModuleIO::Output_Mat_Sparse<TK> ESolver_KS_LCAO<TK, TR>::create_Output_Mat_Spars
istep,
this->pelec->pot->get_effective_v(),
*this->LOWF.ParaV,
this->UHM,
this->uhm,
this->gen_h, // mohan add 2024-04-02
this->GK, // mohan add 2024-04-01
this->LM,
this->kv,
Expand Down
4 changes: 3 additions & 1 deletion source/module_esolver/esolver_ks_lcao.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ namespace ModuleESolver
Local_Orbital_Charge LOC;

// we will get rid of this class soon, don't use it, mohan 2024-03-28
LCAO_Hamilt UHM;
LCAO_Hamilt uhm;

LCAO_gen_fixedH gen_h; // mohan add 2024-04-02

// used for k-dependent grid integration.
Gint_k GK;
Expand Down
22 changes: 12 additions & 10 deletions source/module_esolver/esolver_ks_lcao_elec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "module_io/dm_io.h"

#include "module_hamilt_lcao/module_deltaspin/spin_constrain.h"
#include "module_hamilt_lcao/hamilt_lcaodft/LCAO_domain.h"

namespace ModuleESolver
{
Expand Down Expand Up @@ -69,7 +70,7 @@ void ESolver_KS_LCAO<TK, TR>::set_matrix_grid(Record_adj& ra)
// (2)For each atom, calculate the adjacent atoms in different cells
// and allocate the space for H(R) and S(R).
// If k point is used here, allocate HlocR after atom_arrange.
Parallel_Orbitals* pv = this->UHM.LM->ParaV;
Parallel_Orbitals* pv = this->LM.ParaV;
ra.for_2d(*pv, GlobalV::GAMMA_ONLY_LOCAL);
if (!GlobalV::GAMMA_ONLY_LOCAL)
{
Expand Down Expand Up @@ -126,7 +127,7 @@ void ESolver_KS_LCAO<TK, TR>::beforesolver(const int istep)
}

// prepare grid in Gint
this->UHM.grid_prepare(
LCAO_domain::grid_prepare(
this->GridT,
this->GG,
this->GK,
Expand All @@ -144,7 +145,7 @@ void ESolver_KS_LCAO<TK, TR>::beforesolver(const int istep)
elecstate::DensityMatrix<TK, double>* DM = dynamic_cast<elecstate::ElecStateLCAO<TK>*>(this->pelec)->get_DM();
this->p_hamilt = new hamilt::HamiltLCAO<TK, TR>(GlobalV::GAMMA_ONLY_LOCAL ? &(this->GG) : nullptr,
GlobalV::GAMMA_ONLY_LOCAL ? nullptr : &(this->GK),
&(this->UHM.genH),
&(this->gen_h),
&(this->LM),
&(this->LOC),
this->pelec->pot,
Expand Down Expand Up @@ -234,7 +235,7 @@ void ESolver_KS_LCAO<TK, TR>::beforesolver(const int istep)
// since it depends on ionic positions
if (GlobalV::deepks_setorb)
{
const Parallel_Orbitals* pv = this->UHM.LM->ParaV;
const Parallel_Orbitals* pv = this->LM.ParaV;
// build and save <psi(0)|alpha(R)> at beginning
GlobalC::ld.build_psialpha(GlobalV::CAL_FORCE, GlobalC::ucell, GlobalC::ORB, GlobalC::GridD, GlobalC::UOT);

Expand Down Expand Up @@ -476,14 +477,15 @@ void ESolver_KS_LCAO<std::complex<double>, double>::get_S()
GlobalV::test_atom_input);

this->RA.for_2d(this->orb_con.ParaV, GlobalV::GAMMA_ONLY_LOCAL);
this->UHM.genH.LM->ParaV = &this->orb_con.ParaV;
this->LM.ParaV = &this->orb_con.ParaV;
if (this->p_hamilt == nullptr)
{
this->p_hamilt = new hamilt::HamiltLCAO<std::complex<double>, double>(this->UHM.genH.LM, this->kv);
this->p_hamilt = new hamilt::HamiltLCAO<std::complex<double>, double>(&this->LM, this->kv);
dynamic_cast<hamilt::OperatorLCAO<std::complex<double>, double>*>(this->p_hamilt->ops)->contributeHR();
}
ModuleIO::output_S_R(this->UHM, this->p_hamilt, "SR.csr");
ModuleIO::output_S_R(this->uhm, this->p_hamilt, "SR.csr");
}

template <>
void ESolver_KS_LCAO<std::complex<double>, std::complex<double>>::get_S()
{
Expand All @@ -503,15 +505,15 @@ void ESolver_KS_LCAO<std::complex<double>, std::complex<double>>::get_S()
GlobalV::test_atom_input);

this->RA.for_2d(this->orb_con.ParaV, GlobalV::GAMMA_ONLY_LOCAL);
this->UHM.genH.LM->ParaV = &this->orb_con.ParaV;
this->LM.ParaV = &this->orb_con.ParaV;
if (this->p_hamilt == nullptr)
{
this->p_hamilt
= new hamilt::HamiltLCAO<std::complex<double>, std::complex<double>>(this->UHM.genH.LM, this->kv);
= new hamilt::HamiltLCAO<std::complex<double>, std::complex<double>>(&this->LM, this->kv);
dynamic_cast<hamilt::OperatorLCAO<std::complex<double>, std::complex<double>>*>(this->p_hamilt->ops)
->contributeHR();
}
ModuleIO::output_S_R(this->UHM, this->p_hamilt, "SR.csr");
ModuleIO::output_S_R(this->uhm, this->p_hamilt, "SR.csr");
}

template <typename TK, typename TR>
Expand Down
7 changes: 4 additions & 3 deletions source/module_esolver/esolver_ks_lcao_tddft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void ESolver_KS_LCAO_TDDFT::init(Input& inp, UnitCell& ucell)
//------------------init Hamilt_lcao----------------------

// pass Hamilt-pointer to Operator
this->UHM.genH.LM = this->UHM.LM = &this->LM;
this->gen_h.LM = this->uhm.LM = &this->LM;
// pass basis-pointer to EState and Psi
this->LOC.ParaV = this->LOWF.ParaV = this->LM.ParaV;

Expand Down Expand Up @@ -455,8 +455,9 @@ void ESolver_KS_LCAO_TDDFT::after_scf(const int istep)
kv,
tmp_DM->get_paraV_pointer(),
this->RA,
this->UHM);
}
this->LM, // mohan add 2024-04-02
this->gen_h); // mohan add 2024-02
}
ESolver_KS_LCAO<std::complex<double>, double>::after_scf(istep);
}

Expand Down
2 changes: 2 additions & 0 deletions source/module_hamilt_lcao/hamilt_lcaodft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ if(ENABLE_LCAO)
fvnl_dbeta_k.cpp
LCAO_gen_fixedH.cpp
LCAO_hamilt.cpp
grid_init.cpp
sparse_format.cpp
LCAO_matrix.cpp
LCAO_nnr.cpp
record_adj.cpp
Expand Down
33 changes: 17 additions & 16 deletions source/module_hamilt_lcao/hamilt_lcaodft/FORCE_STRESS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ void Force_Stress_LCAO<T>::getForceStress(const bool isforce,
const bool istests,
Local_Orbital_Charge &loc,
Parallel_Orbitals &pv,
LCAO_Matrix &lm,
const elecstate::ElecState* pelec,
const psi::Psi<T>* psi,
LCAO_Hamilt& uhm,
LCAO_Matrix& lm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_Gamma &gint_gamma, // mohan add 2024-04-01
Gint_k &gint_k, // mohan add 2024-04-01
ModuleBase::matrix& fcs,
Expand Down Expand Up @@ -159,7 +159,7 @@ void Force_Stress_LCAO<T>::getForceStress(const bool isforce,
#else
svl_dphi,
#endif
uhm,
gen_h, // mohan add 2024-04-02
gint_gamma,
gint_k,
pv,
Expand Down Expand Up @@ -236,18 +236,19 @@ void Force_Stress_LCAO<T>::getForceStress(const bool isforce,
}
if(GlobalV::dft_plus_u == 2)
{
GlobalC::dftu.force_stress(pelec, *uhm.LM, force_dftu, stress_dftu, kv);
GlobalC::dftu.force_stress(pelec, lm, force_dftu, stress_dftu, kv);
}
else
{
hamilt::DFTU<hamilt::OperatorLCAO<T, double>> tmp_dftu(uhm.LM,
kv.kvec_d,
nullptr,
nullptr,
GlobalC::ucell,
&GlobalC::GridD,
&GlobalC::dftu,
*(uhm.LM->ParaV));
hamilt::DFTU<hamilt::OperatorLCAO<T, double>> tmp_dftu(
&lm,
kv.kvec_d,
nullptr,
nullptr,
GlobalC::ucell,
&GlobalC::GridD,
&GlobalC::dftu,
*(lm.ParaV));
tmp_dftu.cal_force_stress(isforce, isstress, force_dftu, stress_dftu);
}
}
Expand Down Expand Up @@ -743,7 +744,7 @@ void Force_Stress_LCAO<double>::integral_part(
#else
ModuleBase::matrix& svl_dphi,
#endif
LCAO_Hamilt &uhm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_Gamma &gint_gamma, // mohan add 2024-04-01
Gint_k &gint_k, // mohan add 2024-04-01
Parallel_Orbitals &pv,
Expand All @@ -769,7 +770,7 @@ void Force_Stress_LCAO<double>::integral_part(
#else
svl_dphi,
#endif
uhm,
gen_h,
gint_gamma,
lm);
return;
Expand Down Expand Up @@ -797,7 +798,7 @@ void Force_Stress_LCAO<std::complex<double>>::integral_part(
#else
ModuleBase::matrix& svl_dphi,
#endif
LCAO_Hamilt &uhm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_Gamma &gint_gamma,
Gint_k &gint_k,
Parallel_Orbitals &pv,
Expand All @@ -823,7 +824,7 @@ void Force_Stress_LCAO<std::complex<double>>::integral_part(
#else
svl_dphi,
#endif
uhm,
gen_h,
gint_k,
pv,
lm,
Expand Down
6 changes: 3 additions & 3 deletions source/module_hamilt_lcao/hamilt_lcaodft/FORCE_STRESS.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ class Force_Stress_LCAO
const bool istests,
Local_Orbital_Charge& loc,
Parallel_Orbitals &pv,
LCAO_Matrix &lm,
const elecstate::ElecState* pelec,
const psi::Psi<T>* psi,
LCAO_Hamilt& uhm,
LCAO_Matrix &lm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_Gamma &gint_gamma, // mohan add 2024-04-01
Gint_k &gint_k, // mohan add 2024-04-01
ModuleBase::matrix& fcs,
Expand Down Expand Up @@ -92,7 +92,7 @@ class Force_Stress_LCAO
#else
ModuleBase::matrix& svl_dphi,
#endif
LCAO_Hamilt &uhm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_Gamma &gint_gamma,
Gint_k &gint_k,
Parallel_Orbitals &pv,
Expand Down
4 changes: 2 additions & 2 deletions source/module_hamilt_lcao/hamilt_lcaodft/FORCE_gamma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void Force_LCAO_gamma::ftable_gamma(const bool isforce,
#else
ModuleBase::matrix& svl_dphi,
#endif
LCAO_Hamilt &uhm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_Gamma &gint_gamma,
LCAO_Matrix &lm)
{
Expand All @@ -54,7 +54,7 @@ void Force_LCAO_gamma::ftable_gamma(const bool isforce,

// allocate DSloc_x, DSloc_y, DSloc_z
// allocate DHloc_fixed_x, DHloc_fixed_y, DHloc_fixed_z
this->allocate_gamma(*this->ParaV, uhm.genH, lm);
this->allocate_gamma(*this->ParaV, gen_h, lm);

// calculate the 'energy density matrix' here.
this->cal_foverlap(isforce, isstress, psid, pelec, lm, foverlap, soverlap);
Expand Down
2 changes: 1 addition & 1 deletion source/module_hamilt_lcao/hamilt_lcaodft/FORCE_gamma.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Force_LCAO_gamma
#else
ModuleBase::matrix& svl_dphi,
#endif
LCAO_Hamilt& uhm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_Gamma &gint_gamma,
LCAO_Matrix& lm);

Expand Down
6 changes: 3 additions & 3 deletions source/module_hamilt_lcao/hamilt_lcaodft/FORCE_k.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void Force_LCAO_k::ftable_k(const bool isforce,
#else
ModuleBase::matrix& svl_dphi,
#endif
LCAO_Hamilt &uhm,
LCAO_gen_fixedH &gen_h,
Gint_k &gint_k,
Parallel_Orbitals &pv,
LCAO_Matrix &lm,
Expand All @@ -65,7 +65,7 @@ void Force_LCAO_k::ftable_k(const bool isforce,
this->allocate_k(
pv,
lm,
uhm.genH,
gen_h,
kv.nks,
kv.kvec_d);

Expand Down Expand Up @@ -148,7 +148,7 @@ void Force_LCAO_k::ftable_k(const bool isforce,
GlobalC::ld.check_v_delta_k(pv->nnr);
for (int ik = 0; ik < kv.nks; ik++)
{
uhm.LM->folding_fixedH(ik, kv.kvec_d);
LM->folding_fixedH(ik, kv.kvec_d);
}
GlobalC::ld.cal_e_delta_band_k(dm_k, kv.nks);
std::ofstream ofs("E_delta_bands.dat");
Expand Down
2 changes: 1 addition & 1 deletion source/module_hamilt_lcao/hamilt_lcaodft/FORCE_k.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Force_LCAO_k : public Force_LCAO_gamma
#else
ModuleBase::matrix& svl_dphi,
#endif
LCAO_Hamilt &uhm,
LCAO_gen_fixedH &gen_h, // mohan add 2024-04-02
Gint_k &gint_k,
Parallel_Orbitals &pv,
LCAO_Matrix &lm,
Expand Down
24 changes: 24 additions & 0 deletions source/module_hamilt_lcao/hamilt_lcaodft/LCAO_domain.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#ifndef LCAO_DOMAIN_H
#define LCAO_DOMAIN_H

#include "module_cell/module_neighbor/sltk_atom_arrange.h"
#include "module_cell/module_neighbor/sltk_grid_driver.h"
#include "module_hamilt_pw/hamilt_pwdft/global.h"
#include "module_hamilt_lcao/hamilt_lcaodft/hamilt_lcao.h"


namespace LCAO_domain
{

//! prepare grid integration
void grid_prepare(
const Grid_Technique& gt,
Gint_Gamma &gint_gamma,
Gint_k &gint_k,
const ModulePW::PW_Basis& rhopw,
const ModulePW::PW_Basis_Big& bigpw);


}

#endif
Loading