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

Sole PW propagation entry point, independent of the selected method. More...

#include <td_prop_pw.h>

Collaboration diagram for pw::TDPropPW< T, Device >:

Public Member Functions

 TDPropPW (const ModulePW::PW_Basis_K &basis, std::unique_ptr< hsolver::TDOrbOps< T, Device > > orb_ops, std::unique_ptr< PWProp< T, Device > > prop)
 Take ownership of the initialized orbital service and propagator.
PropStage stage (int scf_iter) const
void begin_trial ()
void finish_trial ()
void discard_trial ()
void invalidate_basis ()
hsolver::TDOrbOps< T, Device > & orbitals ()
void evolve (hamilt::HamiltPW< T, Device > &hamilt, elecstate::Potential &potential, const TDHistoryPW< T, Device > &history, const elecstate::TDFieldManager &field, psi::Psi< T, Device > *current, int elec_step, int scf_iter, bool log_detail)
 Restore the endpoint sample before returning to density construction.

Private Attributes

const ModulePW::PW_Basis_K & basis_
std::unique_ptr< hsolver::TDOrbOps< T, Device > > orb_ops_
std::unique_ptr< PWProp< T, Device > > prop_

Detailed Description

template<typename T, typename Device>
class pw::TDPropPW< T, Device >

Sole PW propagation entry point, independent of the selected method.

Constructor & Destructor Documentation

◆ TDPropPW()

template<typename T, typename Device>
pw::TDPropPW< T, Device >::TDPropPW ( const ModulePW::PW_Basis_K & basis,
std::unique_ptr< hsolver::TDOrbOps< T, Device > > orb_ops,
std::unique_ptr< PWProp< T, Device > > prop )

Take ownership of the initialized orbital service and propagator.

Member Function Documentation

◆ begin_trial()

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

◆ discard_trial()

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

◆ evolve()

template<typename T, typename Device>
void pw::TDPropPW< T, Device >::evolve ( hamilt::HamiltPW< T, Device > & hamilt,
elecstate::Potential & potential,
const TDHistoryPW< T, Device > & history,
const elecstate::TDFieldManager & field,
psi::Psi< T, Device > * current,
int elec_step,
int scf_iter,
bool log_detail )

Restore the endpoint sample before returning to density construction.

Here is the call graph for this function:

◆ finish_trial()

template<typename T, typename Device>
void pw::TDPropPW< T, Device >::finish_trial ( )

◆ invalidate_basis()

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

◆ orbitals()

template<typename T, typename Device>
hsolver::TDOrbOps< T, Device > & pw::TDPropPW< T, Device >::orbitals ( )
inline

◆ stage()

template<typename T, typename Device>
PropStage pw::TDPropPW< T, Device >::stage ( int scf_iter) const

Member Data Documentation

◆ basis_

template<typename T, typename Device>
const ModulePW::PW_Basis_K& pw::TDPropPW< T, Device >::basis_
private

◆ orb_ops_

template<typename T, typename Device>
std::unique_ptr<hsolver::TDOrbOps<T, Device> > pw::TDPropPW< T, Device >::orb_ops_
private

◆ prop_

template<typename T, typename Device>
std::unique_ptr<PWProp<T, Device> > pw::TDPropPW< T, Device >::prop_
private

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