File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ list(APPEND objects
1313 module_pot/gatefield.cpp
1414 module_pot/efield.cpp
1515 module_pot/H_Hartree_pw.cpp
16+ module_pot/H_TDDFT_pw.cpp
1617 module_pot/pot_xc.cpp
1718 module_pot/pot_local.cpp
1819 module_pot/potential_new.cpp
@@ -22,6 +23,7 @@ list(APPEND objects
2223 module_pot/pot_sep.cpp
2324 module_pot/pot_xc_fdm.cpp
2425 module_pot/pot_cosikr.cpp
26+ module_pot/td_field.cpp
2527 module_charge/chgmixing.cpp
2628 module_charge/gint_precision_controller.cpp
2729 module_charge/charge.cpp
@@ -46,8 +48,6 @@ list(APPEND objects
4648if (ENABLE_LCAO)
4749 list (APPEND objects
4850 elecstate_lcao.cpp
49- module_pot/H_TDDFT_pw.cpp
50- module_pot/td_field.cpp
5151 module_dm/init_dm.cpp
5252 module_dm/density_matrix.cpp
5353 module_dm/density_matrix_io.cpp
Original file line number Diff line number Diff line change 1212#include " source_base/tool_quit.h"
1313#include " source_base/tool_title.h"
1414#include " source_io/module_parameter/parameter.h"
15- #ifdef __LCAO
1615#include " H_TDDFT_pw.h"
17- #endif
1816#ifdef __MLALGO
1917#include " pot_ml_exx.h"
2018#endif
@@ -49,14 +47,12 @@ PotBase* Potential::get_pot_type(const std::string& pot_type)
4947 {
5048 return new PotGate (this ->rho_basis_ , this ->ucell_ );
5149 }
52- #ifdef __LCAO
5350 else if (pot_type == " tddft" )
5451 {
5552 // The RT-TDDFT ESolver injects this manager before potential
5653 // registration so the potential does not own a separate time counter.
5754 return new H_TDDFT_pw (this ->rho_basis_ , this ->ucell_ , this ->td_field_manager_ );
5855 }
59- #endif
6056#ifdef __MLALGO
6157 else if (pot_type == " ml_exx" )
6258 {
You can’t perform that action at this time.
0 commit comments