ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
prop_cn_pw.h
Go to the documentation of this file.
1#ifndef PW_PROP_CN_PW_H
2#define PW_PROP_CN_PW_H
5
6namespace pw
7{
8template <typename T, typename Device>
9class CNPropPW final : public PWProp<T, Device>
10{
11 private:
14
15 public:
16 CNPropPW(const ModulePW::PW_Basis_K& basis,
17 const hsolver::CNControls& cn_ctrl,
18 int npol,
19 const std::vector<int>& global_k,
20 const hsolver::diag_comm_info& comm,
21 std::ostream& log);
22 void begin_trial() override
23 {
24 }
25 void discard_trial() override
26 {
27 }
28 void invalidate_basis() override;
30 const TDHistoryPW<T, Device>& history,
31 elecstate::Potential& potential,
32 const elecstate::TDFieldManager& field,
33 psi::Psi<T, Device>* current,
34 int elec_step,
35 int scf_iter,
36 bool log_detail) override;
37};
38} // namespace pw
39#endif
Special pw_basis class. It includes different k-points.
Definition pw_basis_k.h:56
A multi-dimensional array of elements of a single data type.
Definition tensor.h:32
Definition potential_new.h:58
Own and advance all time-dependent electric fields in RT-TDDFT.
Definition td_field_manager.h:36
PW Crank-Nicolson numerical solves with fixed previous-step orbitals.
Definition cn_solver_pw.h:42
Definition psi.h:37
void invalidate_basis() override
Definition prop_cn_pw.cpp:19
void begin_trial() override
Definition prop_cn_pw.h:22
hsolver::CNSolverPW< T, Device > solver_
Definition prop_cn_pw.h:12
void discard_trial() override
Definition prop_cn_pw.h:25
ct::Tensor veff_mid_
Definition prop_cn_pw.h:13
CNPropPW(const ModulePW::PW_Basis_K &basis, const hsolver::CNControls &cn_ctrl, int npol, const std::vector< int > &global_k, const hsolver::diag_comm_info &comm, std::ostream &log)
Definition prop_cn_pw.cpp:8
void evolve(TDHamiltPW< T, Device > &hamilt, const TDHistoryPW< T, Device > &history, elecstate::Potential &potential, const elecstate::TDFieldManager &field, psi::Psi< T, Device > *current, int elec_step, int scf_iter, bool log_detail) override
Definition prop_cn_pw.cpp:25
Method-specific wavefunction map; density and acceptance stay above it.
Definition td_prop_pw.h:20
A call-scoped PW sample; every k update refreshes shifted projectors.
Definition td_hamilt_pw.h:11
Accepted endpoint wavefunctions and potential snapshots.
Definition td_history_pw.h:33
Definition wf_op.cpp:6
Definition deltaspin_pw.cpp:7
Crank-Nicolson linear solve and preconditioner controls.
Definition cn_solver_pw.h:29
Definition diag_comm_info.h:12