[967b3c] | 1 | ### Verlet force integration
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Molecules - Verlet force integration])
|
---|
[718542] | 4 | AT_KEYWORDS([molecules,verlet-integration])
|
---|
[23b0c2] | 5 |
|
---|
| 6 | file=test.conf
|
---|
[7db9bd] | 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)
|
---|
[23b0c2] | 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])
|
---|
[7db9bd] | 11 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/post/test.conf], 0, [ignore], [ignore])
|
---|
[23b0c2] | 12 |
|
---|
[967b3c] | 13 | AT_CLEANUP
|
---|
[e69c87] | 14 |
|
---|
| 15 |
|
---|
| 16 | AT_SETUP([Molecules - Verlet force integration with Undo])
|
---|
| 17 | AT_XFAIL_IF([/bin/true])
|
---|
[718542] | 18 | AT_KEYWORDS([molecules,verlet-integration,undo])
|
---|
[e69c87] | 19 |
|
---|
| 20 | file=test.conf
|
---|
[7db9bd] | 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)
|
---|
[e69c87] | 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])
|
---|
[7db9bd] | 25 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/post/test.conf], 0, [ignore], [ignore])
|
---|
[e69c87] | 26 |
|
---|
| 27 | AT_CLEANUP
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | AT_SETUP([Molecules - Verlet force integration with Redo])
|
---|
| 31 | AT_XFAIL_IF([/bin/true])
|
---|
[718542] | 32 | AT_KEYWORDS([molecules,verlet-integration,redo])
|
---|
[e69c87] | 33 |
|
---|
| 34 | file=test.conf
|
---|
[7db9bd] | 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)
|
---|
[e69c87] | 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])
|
---|
[7db9bd] | 39 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/VerletIntegration/post/test.conf], 0, [ignore], [ignore])
|
---|
[e69c87] | 40 |
|
---|
| 41 | AT_CLEANUP
|
---|