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;
46
46
| | (4) Utility functions: timer, random number generator, etc.
47
47
| | (5) Global parameters: input parameters, element names, mathematical and physical constants.
48
48
| |-- module_container The container module for storing data and performing operations on them and on different architectures.
49
-
|-- module_basis Basis means the basis set to expand the wave function.
49
+
|-- source_basis Basis means the basis set to expand the wave function.
50
50
| |-- module_ao Atomic orbital basis set to be refactored.
51
51
| |-- module_nao New numerical atomic orbital basis set for two-center integrals in LCAO calculations
52
52
| `-- module_pw Data structures and relevant methods for planewave involved calculations
53
-
|-- module_cell The module for defining the unit cell and its operations, and reading pseudopotentials.
53
+
|-- source_cell The module for defining the unit cell and its operations, and reading pseudopotentials.
54
54
| |-- module_neighbor The module for finding the neighbors of each atom in the unit cell.
55
55
| |-- module_paw The module for performing PAW calculations.
56
56
| |-- module_symmetry The module for finding the symmetry operations of the unit cell.
@@ -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:
@@ -257,7 +257,7 @@ To add a unit test:
257
257
./cell_unitcell_test
258
258
```
259
259
260
-
under the directory of `build/source/module_cell/test` to run the test `cell_unitcell_test`.
260
+
under the directory of `build/source/source_cell/test` to run the test `cell_unitcell_test`.
261
261
However, it is more convenient to run unit tests with `ctest` command under the `build` directory. You can check all unit tests by
- This section sets the position-independent code flag and adds subdirectories for the base, parameter, and orb modules. It specifies the build directories for these modules.
0 commit comments