Skip to content

Commit e0b94ea

Browse files
committed
rename the files
1 parent 99d2643 commit e0b94ea

File tree

10 files changed

+22
-22
lines changed

10 files changed

+22
-22
lines changed

source/Makefile.Objects

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ VPATH=./src_global:\
6969
./module_ri:\
7070
./module_parameter:\
7171
./module_lr:\
72-
./module_lr/AX:\
72+
./module_lr/ao_to_mo_transformer:\
7373
./module_lr/dm_trans:\
7474
./module_lr/operator_casida:\
7575
./module_lr/potentials:\
@@ -723,8 +723,8 @@ OBJS_TENSOR=tensor.o\
723723

724724
OBJS_LR=lr_util.o\
725725
lr_util_hcontainer.o\
726-
AX_parallel.o\
727-
AX_serial.o\
726+
ao_to_mo_parallel.o\
727+
ao_to_mo_serial.o\
728728
dm_trans_parallel.o\
729729
dm_trans_serial.o\
730730
dmr_complex.o\

source/module_lr/AX/test/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

source/module_lr/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
if(ENABLE_LCAO)
22
add_subdirectory(utils)
3-
add_subdirectory(AX)
3+
add_subdirectory(ao_to_mo_transformer)
44
add_subdirectory(dm_trans)
55
add_subdirectory(ri_benchmark)
66

77
list(APPEND objects
88
utils/lr_util.cpp
99
utils/lr_util_hcontainer.cpp
10-
AX/AX_parallel.cpp
11-
AX/AX_serial.cpp
10+
ao_to_mo_transformer/ao_to_mo_parallel.cpp
11+
ao_to_mo_transformer/ao_to_mo_serial.cpp
1212
dm_trans/dm_trans_parallel.cpp
1313
dm_trans/dm_trans_serial.cpp
1414
dm_trans/dmr_complex.cpp
File renamed without changes.

source/module_lr/AX/AX_parallel.cpp renamed to source/module_lr/ao_to_mo_transformer/ao_to_mo_parallel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifdef __MPI
2-
#include "AX.h"
2+
#include "ao_to_mo.h"
33
#include "module_base/scalapack_connector.h"
44
#include "module_base/tool_title.h"
55
#include "module_lr/utils/lr_util.h"

source/module_lr/AX/AX_serial.cpp renamed to source/module_lr/ao_to_mo_transformer/ao_to_mo_serial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "AX.h"
1+
#include "ao_to_mo.h"
22
#include "module_base/blas_connector.h"
33
#include "module_base/tool_title.h"
44
#include "module_lr/utils/lr_util.h"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
remove_definitions(-DUSE_LIBXC)
2+
AddTest(
3+
TARGET ao_to_mo_test
4+
LIBS parameter base ${math_libs} container device psi
5+
SOURCES ao_to_mo_test.cpp ../../utils/lr_util.cpp ../ao_to_mo_parallel.cpp ../ao_to_mo_serial.cpp
6+
)

source/module_lr/AX/test/AX_test.cpp renamed to source/module_lr/ao_to_mo_transformer/test/ao_to_mo_test.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef __MPI
33
#include "mpi.h"
44
#endif
5-
#include "../AX.h"
5+
#include "../ao_to_mo.h"
66

77
#include "module_lr/utils/lr_util.h"
88

@@ -20,7 +20,7 @@ struct matsize
2020
};
2121
};
2222

23-
class AXTest : public testing::Test
23+
class AO2MOTest : public testing::Test
2424
{
2525
public:
2626
std::vector<matsize> sizes{
@@ -60,7 +60,7 @@ class AXTest : public testing::Test
6060
};
6161
};
6262

63-
TEST_F(AXTest, DoubleSerial)
63+
TEST_F(AO2MOTest, DoubleSerial)
6464
{
6565
for (auto s : this->sizes)
6666
{
@@ -92,7 +92,7 @@ TEST_F(AXTest, DoubleSerial)
9292
}
9393
}
9494

95-
TEST_F(AXTest, ComplexSerial)
95+
TEST_F(AO2MOTest, ComplexSerial)
9696
{
9797
for (auto s : this->sizes)
9898
{
@@ -124,7 +124,7 @@ TEST_F(AXTest, ComplexSerial)
124124
}
125125
}
126126
#ifdef __MPI
127-
TEST_F(AXTest, DoubleParallel)
127+
TEST_F(AO2MOTest, DoubleParallel)
128128
{
129129
for (auto s : this->sizes)
130130
{
@@ -135,7 +135,7 @@ TEST_F(AXTest, DoubleParallel)
135135
std::vector<container::Tensor> V(s.nks, container::Tensor(DAT::DT_DOUBLE, DEV::CpuDevice, { pV.get_col_size(), pV.get_row_size() }));
136136
Parallel_2D pc;
137137
LR_Util::setup_2d_division(pc, s.nb, s.naos, s.nocc + s.nvirt, pV.blacs_ctxt);
138-
138+
139139
std::vector<int> ngk_temp(s.nks, pc.get_row_size());
140140
psi::Psi<double> c(s.nks, pc.get_col_size(), pc.get_row_size(), ngk_temp.data(), true);
141141
Parallel_2D pvo, poo, pvv;
@@ -195,7 +195,7 @@ TEST_F(AXTest, DoubleParallel)
195195
}
196196
}
197197
}
198-
TEST_F(AXTest, ComplexParallel)
198+
TEST_F(AO2MOTest, ComplexParallel)
199199
{
200200
for (auto s : this->sizes)
201201
{

source/module_lr/operator_casida/operator_lr_hxc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "module_lr/utils/lr_util_print.h"
99
// #include "module_hamilt_lcao/hamilt_lcaodft/DM_gamma_2d_to_grid.h"
1010
#include "module_hamilt_lcao/module_hcontainer/hcontainer_funcs.h"
11-
#include "module_lr/AX/AX.h"
11+
#include "module_lr/ao_to_mo_transformer/ao_to_mo.h"
1212
#include "module_hamilt_pw/hamilt_pwdft/global.h"
1313

1414
inline double conj(double a) { return a; }

0 commit comments

Comments
 (0)