|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Accepted endpoint wavefunctions and potential snapshots. More...
#include <td_history_pw.h>
Public Member Functions | |
| void | prepare (const elecstate::Potential &potential) |
| Prepare storage after the potential grids have been updated. | |
| const GetTypeReal< T >::type * | left_potential () const |
| Borrow the immutable accepted left-endpoint potential. | |
| unsigned long long | generation () const |
| void | save (const psi::Psi< T, Device > ¤t, elecstate::Potential &potential) |
| Save the accepted endpoint; the caller owns the convergence decision. | |
| const psi::Psi< T, Device > & | previous () const |
| Access the fixed origin of every corrector solve in the next step. | |
Private Types | |
| using | Real = typename GetTypeReal<T>::type |
Private Attributes | |
| std::unique_ptr< psi::Psi< T, Device > > | previous_ |
| ct::Tensor | veff_prev_ |
| unsigned long long | generation_ = 0 |
Accepted endpoint wavefunctions and potential snapshots.
|
private |
|
inline |
| const GetTypeReal< T >::type * pw::TDHistoryPW< T, Device >::left_potential | ( | ) | const |
Borrow the immutable accepted left-endpoint potential.
| void pw::TDHistoryPW< T, Device >::prepare | ( | const elecstate::Potential & | potential | ) |
Prepare storage after the potential grids have been updated.
| const psi::Psi< T, Device > & pw::TDHistoryPW< T, Device >::previous | ( | ) | const |
Access the fixed origin of every corrector solve in the next step.
| void pw::TDHistoryPW< T, Device >::save | ( | const psi::Psi< T, Device > & | current, |
| elecstate::Potential & | potential ) |
Save the accepted endpoint; the caller owns the convergence decision.
|
private |
|
private |
|
private |