Skip to content

Commit f3ff4e5

Browse files
committed
combine relax_new with relax_old
1 parent e813593 commit f3ff4e5

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

source/Makefile.Objects

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ OBJS_RELAXATION=bfgs_basic.o\
445445
lattice_change_basic.o\
446446
lattice_change_cg.o\
447447
lattice_change_methods.o\
448-
relax_old.o\
449-
relax.o\
448+
relax_nsync.o\
449+
relax_sync.o\
450450
bfgs.o\
451451
lbfgs.o\
452452
matrix_methods.o\

source/module_relax/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ add_library(
44

55
relax_driver.cpp
66

7-
relax.cpp
7+
relax_sync.cpp
88
line_search.cpp
99

1010
bfgs.cpp
1111
lbfgs.cpp
12-
relax_old.cpp
12+
relax_nsync.cpp
1313
bfgs_basic.cpp
1414
ions_move_basic.cpp
1515
ions_move_bfgs.cpp

source/module_relax/relax_driver.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include "module_cell/unitcell.h"
55
#include "module_esolver/esolver.h"
66
#include "module_esolver/esolver_ks.h"
7-
#include "relax.h"
8-
#include "relax_old.h"
7+
#include "relax_sync.h"
8+
#include "relax_nsync.h"
99
#include "bfgs.h"
1010
class Relax_Driver
1111
{

source/module_relax/relax_old.cpp renamed to source/module_relax/relax_nsync.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "relax_old.h"
1+
#include "relax_nsync.h"
22

33
#include "module_base/global_function.h"
44
#include "module_base/global_variable.h"
File renamed without changes.

source/module_relax/relax.cpp renamed to source/module_relax/relax_sync.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "relax.h"
1+
#include "relax_sync.h"
22

33

44
#include "module_base/matrix3.h"
File renamed without changes.

source/module_relax/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ AddTest(
1414

1515
AddTest(
1616
TARGET relax_new_relax
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
17+
SOURCES relax_test.cpp ../relax_sync.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

source/module_relax/test/relax_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define private public
44
#include "module_parameter/parameter.h"
55
#undef private
6-
#include "../relax.h"
6+
#include "../relax_sync.h"
77
#include "module_cell/unitcell.h"
88
#include "relax_test.h"
99
#include <fstream>

0 commit comments

Comments
 (0)