You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| | (2) Custom data classes: matrix, vector definitions and related functions;
45
45
| | (3) Parallelization functions: MPI, OpenMP;
@@ -57,7 +57,7 @@ For those who are interested in the source code, the following figure shows the
57
57
|-- module_elecstate The module for defining the electronic state and its operations.
58
58
| |-- module_charge The module for calculating the charge density, charge mixing
59
59
| |-- potentials The module for calculating the potentials, including Hartree, exchange-correlation, local pseudopotential, etc.
60
-
|-- module_esolver The module defining task-specific driver of corresponding workflow for evaluating energies, forces, etc., including lj, dp, ks, sdft, ofdft, etc.
60
+
|-- source_esolver The module defining task-specific driver of corresponding workflow for evaluating energies, forces, etc., including lj, dp, ks, sdft, ofdft, etc.
61
61
| | TDDFT, Orbital-free DFT, etc.
62
62
|-- module_hamilt_general The module for defining general Hamiltonian that can be used both in PW and LCAO calculations.
63
63
| |-- module_ewald The module for calculating the Ewald summation.
@@ -77,7 +77,7 @@ For those who are interested in the source code, the following figure shows the
77
77
| |-- hamilt_pwdft The module for defining the Hamiltonian in PW-DFT calculations.
78
78
| | |-- operator_pw The module for defining the operators in PW-DFT calculations.
79
79
| `-- hamilt_stodft The module for defining the Hamiltonian in STODFT calculations.
80
-
|-- module_hsolver The module for solving the Hamiltonian with different diagonalization methods, including CG, Davidson in PW
80
+
|-- source_hsolver The module for solving the Hamiltonian with different diagonalization methods, including CG, Davidson in PW
81
81
| | calculations, and scalapack and genelpa in LCAO calculations.
82
82
|-- module_io The module for reading of INPUT files and output properties including band structure, density of states, charge density, etc.
83
83
|-- module_md The module for performing molecular dynamics.
@@ -183,7 +183,7 @@ pre-commit install
183
183
184
184
## Adding a unit test
185
185
186
-
We use [GoogleTest](https://github.com/google/googletest) as our test framework. Write your test under the corresponding module folder at `abacus-develop/tests`, then append the test to `tests/CMakeLists.txt`. If there are currently no unit tests provided for the module, do as follows. `module_base` provides a simple demonstration.
186
+
We use [GoogleTest](https://github.com/google/googletest) as our test framework. Write your test under the corresponding module folder at `abacus-develop/tests`, then append the test to `tests/CMakeLists.txt`. If there are currently no unit tests provided for the module, do as follows. `source_base` provides a simple demonstration.
187
187
188
188
- Add a folder named `test` under the module.
189
189
- Append the content below to `CMakeLists.txt` of the module:
0 commit comments