1#ifndef TD_ENDPOINT_PW_H
2#define TD_ENDPOINT_PW_H
11template <
typename T,
typename Device>
13 hsolver::HSOperator<T, Device>& op,
14 psi::Psi<T, Device>& current,
15 elecstate::ElecStatePW<T, Device>& estate,
18 const ModulePW::PW_Basis& rhod,
25template <
typename T,
typename Device>
27 elecstate::ElecStatePW<T, Device>& estate,
30 hamilt::HamiltPW<T, Device>& hamilt,
31 hsolver::TDOrbOps<T, Device>& orbitals,
32 const ModulePW::PW_Basis_K& basis,
33 const ModulePW::PW_Basis& rhod,
34 const ModuleBase::Vector3<double>& vecpot,
39 const std::string& assume_iso);
Definition deltaspin_pw.cpp:7
void rebuild_td_end(psi::Psi< T, Device > ¤t, elecstate::ElecStatePW< T, Device > &estate, Charge &charge, UnitCell &cell, hamilt::HamiltPW< T, Device > &hamilt, hsolver::TDOrbOps< T, Device > &orbitals, const ModulePW::PW_Basis_K &basis, const ModulePW::PW_Basis &rhod, const ModuleBase::Vector3< double > &vecpot, int nspin, int imp_sol, bool sc_mag, int dft_u, const std::string &assume_iso)
Rebuild an accepted endpoint from its orbitals while retaining all occupations.
Definition td_endpoint_pw.cpp:53
void orth_init_pw(hsolver::TDOrbOps< T, Device > &orbitals, hsolver::HSOperator< T, Device > &op, psi::Psi< T, Device > ¤t, elecstate::ElecStatePW< T, Device > &estate, Charge &charge, UnitCell &cell, const ModulePW::PW_Basis &rhod, int nspin, int nbands, int iter, bool do_orth)
Clean initial orbitals and rebuild occupations and density if orthogonalization changes them.
Definition td_endpoint_pw.cpp:12