[8c574b] | 1 | AT_BANNER([MoleCuilder - Molecules])
|
---|
| 2 | # 1. Bonds from file
|
---|
| 3 | AT_SETUP([Molecules - Bonds from file])
|
---|
| 4 | AT_KEYWORDS([Molecules])
|
---|
| 5 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/1/pre/test.* .], 0)
|
---|
[192f6e] | 6 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -v 4 -A test.dbond --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 7 | AT_CHECK([fgrep "Looking for atoms 2 and 9." stdout], 0, [ignore], [ignore])
|
---|
| 8 | AT_CLEANUP
|
---|
| 9 |
|
---|
| 10 | # 2. Storing adjacency info
|
---|
| 11 | AT_SETUP([Molecules - Storing bond info])
|
---|
| 12 | AT_KEYWORDS([Molecules])
|
---|
| 13 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/2/pre/test.conf .], 0)
|
---|
[192f6e] | 14 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -v 1 -j test.dbond --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 15 | AT_CHECK([file=test.dbond; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/2/post/$file], 0, [ignore], [ignore])
|
---|
[192f6e] | 16 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -v 1 -J test.adj --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 17 | AT_CHECK([file=test.adj; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/2/post/$file], 0, [ignore], [ignore])
|
---|
| 18 | AT_CLEANUP
|
---|
| 19 |
|
---|
| 20 | # 3. Storing temperature
|
---|
| 21 | AT_SETUP([Molecules - Storing temperature])
|
---|
| 22 | AT_KEYWORDS([Molecules])
|
---|
| 23 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/3/pre/test.conf .], 0)
|
---|
[192f6e] | 24 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -S test.ekin --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 25 | AT_CHECK([file=test.ekin; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/3/post/$file], 0, [ignore], [ignore])
|
---|
| 26 | AT_CLEANUP
|
---|
| 27 |
|
---|
| 28 | # 4. linear interpolation
|
---|
| 29 | AT_SETUP([Molecules - BROKEN: Linear interpolation])
|
---|
| 30 | AT_KEYWORDS([Molecules])
|
---|
| 31 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/4/pre/test.conf .], 0)
|
---|
[192f6e] | 32 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -L teststep --start-step 0 --end-step 1 --molecule-by-id 0 --id-mapping 1], 0, [stdout], [stderr])
|
---|
[8c574b] | 33 | AT_CLEANUP
|
---|
| 34 |
|
---|
| 35 | # 5. Verlet force integration
|
---|
| 36 | AT_SETUP([Molecules - BROKEN: Verlet force integration])
|
---|
| 37 | AT_KEYWORDS([Molecules])
|
---|
| 38 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/5/pre/test.* .], 0)
|
---|
[192f6e] | 39 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -P test.forces --molecule-by-id 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 40 | #AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/5/post/$file], 0, [ignore], [ignore])
|
---|
| 41 | AT_CLEANUP
|
---|
| 42 |
|
---|
| 43 | # 6. Translation
|
---|
| 44 | AT_SETUP([Molecules - Translation])
|
---|
| 45 | AT_KEYWORDS([Molecules])
|
---|
| 46 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/6/pre/test.* .], 0)
|
---|
[192f6e] | 47 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -t "1., 1., 1." --molecule-by-id 0 --periodic 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 48 | AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/6/post/$file], 0, [ignore], [ignore])
|
---|
[b540f3] | 49 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/6/pre/test2.* .], 0)
|
---|
[192f6e] | 50 | AT_CHECK([../../molecuilder -i test2.conf -e ${abs_top_srcdir}/src/ -t "-1., -1., -1." --molecule-by-id 0 --periodic 0], 0, [stdout], [stderr])
|
---|
[b540f3] | 51 | AT_CHECK([file=test2.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/6/post/$file], 0, [ignore], [ignore])
|
---|
[8c574b] | 52 | AT_CLEANUP
|
---|
| 53 |
|
---|
| 54 | # 7. Periodic translation
|
---|
| 55 | AT_SETUP([Molecules - Periodic translation])
|
---|
| 56 | AT_KEYWORDS([Molecules])
|
---|
| 57 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/7/pre/test.* .], 0)
|
---|
[192f6e] | 58 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -t "12., 12., 12." --molecule-by-id 0 --periodic 1], 0, [stdout], [stderr])
|
---|
[8c574b] | 59 | AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/7/post/$file], 0, [ignore], [ignore])
|
---|
| 60 | AT_CLEANUP
|
---|
| 61 |
|
---|
[aacce8] | 62 | # 8. Rotate to PAS
|
---|
[8c574b] | 63 | AT_SETUP([Molecules - BROKEN: Rotate to PAS])
|
---|
| 64 | AT_KEYWORDS([Molecules])
|
---|
| 65 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/8/pre/test.* .], 0)
|
---|
[192f6e] | 66 | AT_CHECK([../../molecuilder -i test.conf -e ${abs_top_srcdir}/src/ -m 0], 0, [stdout], [stderr])
|
---|
[8c574b] | 67 | #AT_CHECK([file=test.conf; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/8/post/$file], 0, [ignore], [ignore])
|
---|
| 68 | AT_CLEANUP
|
---|
| 69 |
|
---|