ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
pw::ETRSPropPW< T, Device > Class Template Referencefinal

#include <prop_etrs_pw.h>

Inheritance diagram for pw::ETRSPropPW< T, Device >:
Collaboration diagram for pw::ETRSPropPW< T, Device >:

Public Member Functions

 ETRSPropPW (const hsolver::ExpControls &exp_ctrl, int npol, const std::vector< int > &global_k, const hsolver::diag_comm_info &comm, std::ostream &log)
void begin_trial () override
void discard_trial () override
void invalidate_basis () override
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
Public Member Functions inherited from pw::PWProp< T, Device >
virtual ~PWProp ()=default

Private Member Functions

void report (const hsolver::ExpResult &result, int ik, int elec_step, int scf_iter, bool log_detail) const

Private Attributes

const hsolver::diag_comm_info pool_comm_
std::unique_ptr< hsolver::ExpAction< T, Device > > exponential_
ct::Tensor half_psi_
const int npol_
const std::vector< int > global_k_
std::ostream & log_
bool half_ready_ = false
unsigned long long left_gen_ = 0

Constructor & Destructor Documentation

◆ ETRSPropPW()

template<typename T, typename Device>
pw::ETRSPropPW< T, Device >::ETRSPropPW ( const hsolver::ExpControls & exp_ctrl,
int npol,
const std::vector< int > & global_k,
const hsolver::diag_comm_info & comm,
std::ostream & log )
Here is the call graph for this function:

Member Function Documentation

◆ begin_trial()

template<typename T, typename Device>
void pw::ETRSPropPW< T, Device >::begin_trial ( )
overridevirtual

◆ discard_trial()

template<typename T, typename Device>
void pw::ETRSPropPW< T, Device >::discard_trial ( )
overridevirtual

◆ evolve()

template<typename T, typename Device>
void pw::ETRSPropPW< T, Device >::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 )
overridevirtual

Implements pw::PWProp< T, Device >.

Here is the call graph for this function:

◆ invalidate_basis()

template<typename T, typename Device>
void pw::ETRSPropPW< T, Device >::invalidate_basis ( )
overridevirtual

◆ report()

template<typename T, typename Device>
void pw::ETRSPropPW< T, Device >::report ( const hsolver::ExpResult & result,
int ik,
int elec_step,
int scf_iter,
bool log_detail ) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ exponential_

template<typename T, typename Device>
std::unique_ptr<hsolver::ExpAction<T, Device> > pw::ETRSPropPW< T, Device >::exponential_
private

◆ global_k_

template<typename T, typename Device>
const std::vector<int> pw::ETRSPropPW< T, Device >::global_k_
private

◆ half_psi_

template<typename T, typename Device>
ct::Tensor pw::ETRSPropPW< T, Device >::half_psi_
private

◆ half_ready_

template<typename T, typename Device>
bool pw::ETRSPropPW< T, Device >::half_ready_ = false
private

◆ left_gen_

template<typename T, typename Device>
unsigned long long pw::ETRSPropPW< T, Device >::left_gen_ = 0
private

◆ log_

template<typename T, typename Device>
std::ostream& pw::ETRSPropPW< T, Device >::log_
private

◆ npol_

template<typename T, typename Device>
const int pw::ETRSPropPW< T, Device >::npol_
private

◆ pool_comm_

template<typename T, typename Device>
const hsolver::diag_comm_info pw::ETRSPropPW< T, Device >::pool_comm_
private

The documentation for this class was generated from the following files: