File tree Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11#ifndef PRINT_CELL_H
22#define PRINT_CELL_H
3- #include " atom_spec.h"
43
4+ #include " atom_spec.h"
5+ #include " module_cell/unitcell.h"
56namespace unitcell
67{
78 void print_tau (Atom* atoms,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ list(APPEND cell_simple_srcs
1616 ../unitcell.cpp
1717 ../update_cell.cpp
1818 ../bcast_cell.cpp
19+ ../print_cell.cpp
1920 ../read_stru.cpp
2021 ../read_atom_species.cpp
2122 ../read_atoms.cpp
Original file line number Diff line number Diff line change @@ -45,9 +45,6 @@ Magnetism::~Magnetism()
4545 delete[] ucell->start_magnetization ;
4646}
4747
48- #define private public
49- #include " module_parameter/parameter.h"
50- #undef private
5148/* ***********************************************
5249 * unit test of class UnitCell
5350 ***********************************************/
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ AddTest(
1616 ../read_stru.cpp ../read_atom_species.cpp
1717 ../read_pp_vwr.cpp ../read_pp_blps.cpp ../../module_io/output .cpp
1818 ../../module_elecstate/read_pseudo.cpp ../../module_elecstate/cal_nelec_nband.cpp
19- ../../module_elecstate/read_orb.cpp
19+ ../../module_elecstate/read_orb.cpp ../../module_cell/print_cell.cpp
2020)
2121
2222find_program (BASH bash)
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ list(APPEND depend_files
77 ../../module_cell/unitcell.cpp
88 ../../module_cell/update_cell.cpp
99 ../../module_cell/bcast_cell.cpp
10+ ../../module_cell/print_cell.cpp
1011 ../../module_cell/atom_spec.cpp
1112 ../../module_cell/read_stru.cpp
1213 ../../module_cell/read_atom_species.cpp
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ AddTest(
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
21- ../../../module_cell/update_cell.cpp ../../../module_cell/bcast_cell.cpp ../../../module_io/output .cpp
21+ ../../../module_cell/update_cell.cpp ../../../module_cell/print_cell.cpp ../../../module_cell/bcast_cell.cpp ../../../module_io/output .cpp
2222 LIBS parameter ${math_libs}
2323)
2424
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ remove_definitions(-D__LCAO)
44list (APPEND cell_source_files
55 ../../../module_cell/update_cell.cpp
66 ../../../module_cell/bcast_cell.cpp
7+ ../../../module_cell/print_cell.cpp
78 ../../../module_io/output .cpp
89)
910AddTest(
You can’t perform that action at this time.
0 commit comments