|
19 | 19 | * Class Diago_David is used to solve the eigenvalues |
20 | 20 | * This unittest test the function Diago_David::diag() |
21 | 21 | * with different examples. |
22 | | - * - the Halmit matrix (npw=100,500,1000) produced by random with sparsity of 90% |
23 | | - * - the Halmit matrix (npw=100,500,1000) produced by random with sparsity of 50% |
24 | | - * - the Halmit matrix (npw=100,500,1000) produced by random with sparsity of 0% |
25 | | - * - the Halmit matrix read from "data-H" |
| 22 | + * - the hamilt matrix (npw=100,500,1000) produced by random with sparsity of 90% |
| 23 | + * - the hamilt matrix (npw=100,500,1000) produced by random with sparsity of 50% |
| 24 | + * - the hamilt matrix (npw=100,500,1000) produced by random with sparsity of 0% |
| 25 | + * - the hamilt matrix read from "data-H" |
26 | 26 | * |
27 | 27 | * The test is passed when the eignvalues are closed to these calculated by LAPACK. |
28 | 28 | * |
@@ -92,7 +92,7 @@ class DiagoDavPrepare |
92 | 92 |
|
93 | 93 | class DiagoDavTest : public ::testing::TestWithParam<DiagoDavPrepare> {}; |
94 | 94 |
|
95 | | -TEST_P(DiagoDavTest,RandomHalmit) |
| 95 | +TEST_P(DiagoDavTest,RandomHamilt) |
96 | 96 | { |
97 | 97 | DiagoDavPrepare ddp = GetParam(); |
98 | 98 | if (DETAILINFO) std::cout << "npw=" << ddp.npw << ", nband=" << ddp.nband << ", sparsity=" |
|
0 commit comments