1 | ### Verlet force integration
|
---|
2 |
|
---|
3 | AT_SETUP([Molecules - Verlet force integration])
|
---|
4 | AT_KEYWORDS([molecules verlet-integration])
|
---|
5 |
|
---|
6 | file=test.conf
|
---|
7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/pre/test.conf $file], 0)
|
---|
8 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/pre/test.forces .], 0)
|
---|
9 | AT_CHECK([chmod u+w $file], 0)
|
---|
10 | AT_CHECK([../../molecuilder -i $file --select-all-atoms -P test.forces --MDSteps 1 --deltat 0.01 --keep-fixed-CenterOfMass 0], 0, [stdout], [stderr])
|
---|
11 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/post/test.conf], 0, [ignore], [ignore])
|
---|
12 |
|
---|
13 | AT_CLEANUP
|
---|
14 |
|
---|
15 |
|
---|
16 | AT_SETUP([Molecules - Verlet force integration with Undo])
|
---|
17 | AT_XFAIL_IF([/bin/true])
|
---|
18 | AT_KEYWORDS([molecules verlet-integration undo])
|
---|
19 |
|
---|
20 | file=test.conf
|
---|
21 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/pre/test.conf $file], 0)
|
---|
22 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/pre/test.forces .], 0)
|
---|
23 | AT_CHECK([chmod u+w $file], 0)
|
---|
24 | AT_CHECK([../../molecuilder -i $file --select-all-atoms -P test.forces --MDSteps 1 --deltat 0.01 --keep-fixed-CenterOfMass 0 --undo], 0, [stdout], [stderr])
|
---|
25 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/post/test.conf], 0, [ignore], [ignore])
|
---|
26 |
|
---|
27 | AT_CLEANUP
|
---|
28 |
|
---|
29 |
|
---|
30 | AT_SETUP([Molecules - Verlet force integration with Redo])
|
---|
31 | AT_XFAIL_IF([/bin/true])
|
---|
32 | AT_KEYWORDS([molecules verlet-integration redo])
|
---|
33 |
|
---|
34 | file=test.conf
|
---|
35 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/pre/test.conf $file], 0)
|
---|
36 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/pre/test.forces .], 0)
|
---|
37 | AT_CHECK([chmod u+w $file], 0)
|
---|
38 | AT_CHECK([../../molecuilder -i $file --select-all-atoms -P test.forces --MDSteps 1 --deltat 0.01 --keep-fixed-CenterOfMass 0 --undo --redo], 0, [stdout], [stderr])
|
---|
39 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/post/test.conf], 0, [ignore], [ignore])
|
---|
40 |
|
---|
41 | AT_CLEANUP
|
---|