Skip to content

Commit 0865199

Browse files
author
abacus_fixer
committed
fix small bugs
1 parent 6118008 commit 0865199

6 files changed

Lines changed: 5 additions & 17 deletions

File tree

source/source_estate/test/charge_extra_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Magnetism::Magnetism()
1616
Magnetism::~Magnetism()
1717
{
1818
}
19-
Parallel_Grid::~Parallel_Grid(){};
2019

2120

2221
// mock functions for Charge

source/source_estate/test/elecstate_base_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ UnitCell::UnitCell()
3939
UnitCell::~UnitCell()
4040
{
4141
}
42-
Parallel_Grid::Parallel_Grid() {};
43-
Parallel_Grid::~Parallel_Grid() {};
4442
Magnetism::Magnetism()
4543
{
4644
}

source/source_hamilt/module_surchem/test/CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,18 @@ AddTest(
1616
TARGET MODULE_HAMILT_surchem_cal_pseudo
1717
LIBS parameter planewave device base psi
1818
SOURCES cal_pseudo_test.cpp ../cal_pseudo.cpp ../surchem.cpp ../cal_epsilon.cpp ../../../source_pw/module_pwdft/structure_factor.cpp
19-
../../../source_base/parallel_grid.cpp
20-
2119
)
2220

2321
AddTest(
2422
TARGET MODULE_HAMILT_surchem_cal_totn
2523
LIBS parameter planewave device base
26-
SOURCES cal_totn_test.cpp ../cal_totn.cpp ../surchem.cpp ../../../source_base/parallel_grid.cpp
24+
SOURCES cal_totn_test.cpp ../cal_totn.cpp ../surchem.cpp
2725
)
2826

2927
AddTest(
3028
TARGET MODULE_HAMILT_surchem_cal_vcav
3129
LIBS parameter planewave device base container
32-
SOURCES cal_vcav_test.cpp ../cal_vcav.cpp ../surchem.cpp ../../../source_base/parallel_grid.cpp
30+
SOURCES cal_vcav_test.cpp ../cal_vcav.cpp ../surchem.cpp
3331
../../module_xc/xc_grad.cpp ../../module_xc/xc_functional.cpp
3432
../../module_xc/xc_lda_wrap.cpp ../../module_xc/xc_gga_wrap.cpp
3533
../../module_xc/libxc_setup.cpp
@@ -44,7 +42,7 @@ AddTest(
4442
AddTest(
4543
TARGET MODULE_HAMILT_surchem_cal_vel
4644
LIBS parameter planewave device base container
47-
SOURCES cal_vel_test.cpp ../cal_vel.cpp ../surchem.cpp ../cal_epsilon.cpp ../minimize_cg.cpp ../../../source_base/parallel_grid.cpp
45+
SOURCES cal_vel_test.cpp ../cal_vel.cpp ../surchem.cpp ../cal_epsilon.cpp ../minimize_cg.cpp
4846
../../module_xc/xc_grad.cpp ../../module_xc/xc_functional.cpp
4947
../../module_xc/xc_lda_wrap.cpp ../../module_xc/xc_gga_wrap.cpp
5048
../../module_xc/libxc_setup.cpp
@@ -54,4 +52,4 @@ AddTest(
5452
../../module_xc/libxc_mgga_wrap.cpp
5553
../../module_xc/xc_gga_corr.cpp ../../module_xc/xc_lda_corr.cpp ../../module_xc/xc_gga_exch.cpp
5654
../../module_xc/xc_lda_exch.cpp ../../module_xc/xc_hcth.cpp
57-
)
55+
)

source/source_io/test/read_wf2rho_pw_test.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@
2222
#include "mpi.h"
2323
#endif
2424

25-
Parallel_Grid::Parallel_Grid()
26-
{
27-
}
28-
Parallel_Grid::~Parallel_Grid()
29-
{
30-
}
3125
Charge::Charge()
3226
{
3327
}

source/source_io/test_serial/rho_io_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Magnetism::Magnetism()
1717
Magnetism::~Magnetism()
1818
{
1919
}
20-
Parallel_Grid::~Parallel_Grid() {}
2120

2221

2322
#define private public

source/source_pw/module_pwdft/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ AddTest(
3131
AddTest(
3232
TARGET MODULE_PW_structure_factor_test
3333
LIBS parameter base device planewave
34-
SOURCES structure_factor_test.cpp ../structure_factor.cpp ../../../source_base/parallel_grid.cpp
34+
SOURCES structure_factor_test.cpp ../structure_factor.cpp
3535
../../../source_cell/unitcell.cpp
3636

3737
../../../source_cell/update_cell.cpp

0 commit comments

Comments
 (0)