71 std::map<Abfs::Vector3_Order<int>, std::map<size_t, std::map<size_t, std::complex<double>>>>
HR_sparse_td_vel[2];
96 std::vector<hamilt::HContainer<std::complex<double>>*>
current_term = {
nullptr,
nullptr,
nullptr};
3 elements vector
Definition vector3.h:22
Definition parallel_orbitals.h:9
void out_restart_info(const int nstep, const ModuleBase::Vector3< double > &At_current, const ModuleBase::Vector3< double > &At_laststep)
output RT-TDDFT info for restart
Definition td_info.cpp:161
void read_cart_At()
read At from output file
Definition td_info.cpp:110
void destroy_HS_R_td_sparse()
destory HSR data stored
Definition td_info.cpp:220
static int estep_shift
Restart step.
Definition td_info.h:39
static int max_istep
total steps of read in At
Definition td_info.h:87
void initialize_current_term(const hamilt::HContainer< std::complex< double > > *HR, const Parallel_Orbitals *paraV)
Definition td_info.cpp:184
static bool out_current
switch to control the output of current
Definition td_info.h:27
std::map< Abfs::Vector3_Order< int >, std::map< size_t, std::map< size_t, std::complex< double > > > > HR_sparse_td_vel[2]
Definition td_info.h:71
static bool init_vecpot_file
switch to control the source of At
Definition td_info.h:33
std::vector< hamilt::HContainer< std::complex< double > > * > current_term
part of Momentum operator, -i∇ - i[r,Vnl]. Used to calculate current.
Definition td_info.h:96
static int istep
store isteps now
Definition td_info.h:84
static bool evolve_once
if need to calculate more than once
Definition td_info.h:36
static ModuleBase::Vector3< double > cart_At
Store the vector potential for tddft calculation.
Definition td_info.h:42
void output_cart_At(const std::string &out_dir)
output cart_At to output file
Definition td_info.cpp:59
static bool out_mat_R
switch to control the output of HR
Definition td_info.h:18
static std::vector< ModuleBase::Vector3< double > > At_from_file
store the read in At_data
Definition td_info.h:90
~TD_info()
Definition td_info.cpp:44
const UnitCell * ucell
pointer to the unit cell
Definition td_info.h:75
hamilt::HContainer< std::complex< double > > * get_current_term_pointer(const int &i) const
Definition td_info.h:55
static bool out_current_k
switch to control the format of the output current, in total or in each k-point
Definition td_info.h:30
static TD_info * td_vel_op
pointer to the only TD_info object itself
Definition td_info.h:21
int get_istep()
Definition td_info.h:60
void cal_cart_At(const ModuleBase::Vector3< double > &At)
calculate the At in cartesian coordinate
Definition td_info.cpp:91
const UnitCell * get_ucell()
Definition td_info.h:65
static bool out_vecpot
switch to control the output of At
Definition td_info.h:24
Definition hcontainer.h:144