We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0197d8 commit ca96d15Copy full SHA for ca96d15
source/module_relax/relax_old/test/bfgs_test.cpp
@@ -43,20 +43,6 @@ TEST_F(BFGSTest, PrepareStep) {
43
}
44
45
46
-TEST_F(BFGSTest, RelaxStep) {
47
- ModuleBase::matrix force;
48
- force = ModuleBase::matrix(10, 3);
49
- for (int i = 0; i < force.nr; ++i)
50
- {
51
- for (int j = 0; j < force.nc; ++j)
52
53
- force(i, j) = -0.1 * (i + 1);
54
- }
55
56
- bfgs.relax_step(force, ucell);
57
- EXPECT_TRUE(ucell.ionic_position_updated);
58
- EXPECT_GT(Ions_Move_Basic::largest_grad, 0);
59
-}
60
61
TEST_F(BFGSTest, AllocateTest) {
62
BFGS bfgs;
0 commit comments