File tree Expand file tree Collapse file tree 9 files changed +31
-273
lines changed Expand file tree Collapse file tree 9 files changed +31
-273
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ INPUT_PARAMETERS
22# Created by Atomic Simulation Enviroment
33suffix abacus
44calculation relax
5+ relax_method bfgs_trad
56relax_nmax 50
67nspin 2
78nupdown 2
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ VPATH=./src_global:\
6262./module_relax:\
6363./module_relax/relax_old:\
6464./module_relax/relax_new:\
65+ ./module_relax/bfgs_traditional:\
6566./module_hamilt_general/module_vdw:\
6667./module_io:\
6768./module_io/json_output:\
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ add_library(
1717 relax_old/lattice_change_basic.cpp
1818 relax_old/lattice_change_cg.cpp
1919 relax_old/lattice_change_methods.cpp
20- mytest /bfgs.cpp
20+ bfgs_traditional /bfgs.cpp
2121)
2222
2323if (ENABLE_COVERAGE)
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 55#include " module_esolver/esolver_ks.h"
66#include " relax_new/relax.h"
77#include " relax_old/relax_old.h"
8- #include " mytest /bfgs.h"
8+ #include " bfgs_traditional /bfgs.h"
99class Relax_Driver
1010{
1111
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ AddTest(
1414
1515AddTest(
1616 TARGET relax_new_relax
17- SOURCES ../../mytest/bfgs.cpp relax_test.cpp ../relax.cpp ../line_search.cpp ../../../module_base/tool_quit.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp
17+ SOURCES relax_test.cpp ../relax.cpp ../line_search.cpp ../../../module_base/tool_quit.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp
1818 ../../../module_base/matrix3.cpp ../../../module_base/intarray.cpp ../../../module_base/tool_title.cpp
1919 ../../../module_base/global_function.cpp ../../../module_base/complexmatrix.cpp ../../../module_base/matrix.cpp
2020 ../../../module_base/complexarray.cpp ../../../module_base/tool_quit.cpp ../../../module_base/realarray.cpp ../../../module_base/blas_connector.cpp
@@ -24,7 +24,7 @@ AddTest(
2424AddTest(
2525 TARGET bfgs_test
2626 LIBS parameter ${math_libs}
27- SOURCES bfgs_test.cpp ../../mytest /bfgs.cpp relax_test.cpp ../relax.cpp ../line_search.cpp ../../../module_base/tool_quit.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp
27+ SOURCES bfgs_test.cpp ../../bfgs_traditional /bfgs.cpp relax_test.cpp ../relax.cpp ../line_search.cpp ../../../module_base/tool_quit.cpp ../../../module_base/global_variable.cpp ../../../module_base/global_file.cpp ../../../module_base/memory.cpp ../../../module_base/timer.cpp
2828 ../../../module_base/matrix3.cpp ../../../module_base/intarray.cpp ../../../module_base/tool_title.cpp
2929 ../../../module_base/global_function.cpp ../../../module_base/complexmatrix.cpp ../../../module_base/matrix.cpp
3030 ../../../module_base/complexarray.cpp ../../../module_base/tool_quit.cpp ../../../module_base/realarray.cpp ../../../module_base/blas_connector.cpp
Original file line number Diff line number Diff line change 11#include < gtest/gtest.h>
2- #include " ../../mytest /bfgs.h"
2+ #include " ../../bfgs_traditional /bfgs.h"
33#include " module_hamilt_pw/hamilt_pwdft/global.h"
44#include " module_base/matrix3.h"
55#include " module_base/vector3.h"
You can’t perform that action at this time.
0 commit comments