|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Length-gauge RT-TDDFT potential backed by TDFieldManager. More...
#include <h_tddft_pw.h>
Public Member Functions | |
| H_TDDFT_pw (const ModulePW::PW_Basis *rho_basis_in, const UnitCell *ucell_in, const std::shared_ptr< TDFieldManager > &field_manager) | |
| Construct the time-dependent potential component. | |
| ~H_TDDFT_pw () | |
| Destroy the time-dependent potential component. | |
| void | cal_fixed_v (double *vl_pseudo) override |
| Add the current length-gauge external potential to the fixed part. | |
| Public Member Functions inherited from elecstate::PotBase | |
| PotBase () | |
| virtual | ~PotBase () |
| virtual void | cal_v_eff (const Charge *const chg, const UnitCell *const ucell, ModuleBase::matrix &v_eff) |
| virtual double | get_energy () const |
| virtual void | sol_energy (double &electrostatic, double &non_electrostatic) const |
| virtual void | add_sol_force (const UnitCell &, ModuleBase::matrix &) const |
| virtual const std::vector< double > * | sol_elec_pot () const |
| virtual void | add_sol_fields (std::vector< SolventGridField > &) const |
Static Public Member Functions | |
| static void | compute_force (const UnitCell &cell, const TDFieldManager &manager, ModuleBase::matrix &fe) |
| Compute ionic force of electric field. | |
Private Member Functions | |
| void | cal_v_space_length (std::vector< double > &vext_space, int direction) |
| double | cal_v_space_length_potential (double coordinate) const |
Private Attributes | |
| const UnitCell * | ucell_ = nullptr |
| std::shared_ptr< TDFieldManager > | field_manager_ |
Additional Inherited Members | |
| Public Attributes inherited from elecstate::PotBase | |
| bool | fixed_mode = 0 |
| bool | dynamic_mode = 0 |
| Protected Attributes inherited from elecstate::PotBase | |
| const ModulePW::PW_Basis * | rho_basis_ = nullptr |
| const ModulePW::PW_Basis * | rho_basis_smooth_ = nullptr |
Length-gauge RT-TDDFT potential backed by TDFieldManager.
The class consumes the manager's current field samples to construct the periodic real-space potential. Time advancement belongs to the ESolver.
| elecstate::H_TDDFT_pw::H_TDDFT_pw | ( | const ModulePW::PW_Basis * | rho_basis_in, |
| const UnitCell * | ucell_in, | ||
| const std::shared_ptr< TDFieldManager > & | field_manager ) |
Construct the time-dependent potential component.
| rho_basis_in | Real-space grid on which the potential is evaluated. |
| ucell_in | Unit cell defining Cartesian coordinates and lattice size. |
| field_manager | Shared source of RT-TDDFT field state. |
|
inline |
Destroy the time-dependent potential component.
|
overridevirtual |
Add the current length-gauge external potential to the fixed part.
| vl_pseudo | Real-space fixed potential updated in place. |
Reimplemented from elecstate::PotBase.
|
private |
|
private |
|
static |
Compute ionic force of electric field.
| [in] | cell | Information of cell. |
| [in] | manager | Current field state owned by the RT solver. |
| [out] | fe | Electric-field force, F = qE. |
|
private |
|
private |