ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ctrl_runner_lcao.h
Go to the documentation of this file.
1#ifndef CTRL_RUNNER_LCAO_H
2#define CTRL_RUNNER_LCAO_H
3
4#include "source_cell/unitcell.h" // use UnitCell
5#include "source_cell/klist.h" // use K_Vectors
6#include "source_estate/elecstate.h" // use elecstate::ElecStateLCAO<TK>
7#include "source_psi/psi.h" // use Psi<TK>
8#include "source_lcao/hamilt_lcao.h" // use hamilt::HamiltLCAO<TK, TR>
9#include "source_basis/module_nao/two_center_bundle.h" // use TwoCenterBundle
10#include "source_lcao/setup_exx.h" // for exx, mohan add 20251018
11#include "source_lcao/allocate_dm.h" // for density matrix, mohan add 20251103
12
13#include <fstream>
14
15namespace ModuleIO
16{
17
18template <typename TK, typename TR>
19void ctrl_runner_lcao(UnitCell& ucell, // unitcell
20 const Input_para &inp, // input
21 const int istep, // ionic step index, zero-based
22 K_Vectors &kv, // k-point
23 elecstate::ElecState* pelec,// electronic info
24 const module_dm::Setup_DM<TK> &dmat, // mohan add 2025-11-02
25 Parallel_Orbitals &pv, // orbital info
26 Parallel_Grid &pgrid, // grid info
27 Grid_Driver &gd, // search for adjacent atoms
28 psi::Psi<TK>* psi, // wave function
29 Charge &chr, // charge density
30 hamilt::HamiltLCAO<TK, TR>* p_hamilt, // hamiltonian
31 TwoCenterBundle &two_center_bundle, // use two-center integration
32 LCAO_Orbitals &orb, // LCAO orbitals
33 ModulePW::PW_Basis* pw_rho, // charge density
34 ModulePW::PW_Basis* pw_rhod, // dense charge density
35 Structure_Factor &sf, // structure factor
36 ModuleBase::matrix &vloc, // local pseudopotential
37 Exx_NAO<TK> &exx_nao,
38 const Exx_Info& exx_info,
39 surchem &solvent, // solvent model
40 std::ofstream& ofs_running);
41
42}
43
44#endif
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void ctrl_runner_lcao(UnitCell &ucell, const Input_para &inp, const int istep, K_Vectors &kv, elecstate::ElecState *pelec, const module_dm::Setup_DM< TK > &dmat, Parallel_Orbitals &pv, Parallel_Grid &pgrid, Grid_Driver &gd, psi::Psi< TK > *psi, Charge &chr, hamilt::HamiltLCAO< TK, TR > *p_hamilt, TwoCenterBundle &two_center_bundle, LCAO_Orbitals &orb, ModulePW::PW_Basis *pw_rho, ModulePW::PW_Basis *pw_rhod, Structure_Factor &sf, ModuleBase::matrix &vloc, Exx_NAO< TK > &exx_nao, const Exx_Info &exx_info, surchem &solvent, std::ofstream &ofs_running)
Definition ctrl_runner_lcao.cpp:19