1 | ### create Micelle by filling spherical surface
|
---|
2 |
|
---|
3 | AT_SETUP([Molecules - Fill spherical surface])
|
---|
4 | AT_KEYWORDS([molecules filling fill-spherical-surface rotate-to-principal-axis-system])
|
---|
5 |
|
---|
6 | file=tensid.data
|
---|
7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/pre/tensid.data $file], 0)
|
---|
8 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/pre/tensid.potentials .], 0)
|
---|
9 | AT_CHECK([chmod u+w $file], 0)
|
---|
10 | AT_CHECK([../../molecuilder --parse-tremolo-potentials tensid.potentials -i $file --select-all-molecules --rotate-to-principal-axis-system "0,0,-1" --fill-spherical-surface --center "0,0,0" --radius 20. --count 200 --min-distance 3.1 --Alignment-Axis "0,0,1"], 0, [stdout], [stderr])
|
---|
11 | AT_CHECK([grep "194 out of 194 returned true from predicate" stdout], 0, [ignore], [ignore])
|
---|
12 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/post/tensid.data], 0, [ignore], [ignore])
|
---|
13 |
|
---|
14 | AT_CLEANUP
|
---|
15 |
|
---|
16 |
|
---|
17 | AT_SETUP([Molecules - Fill spherical surface with Undo])
|
---|
18 | AT_KEYWORDS([molecules filling fill-spherical-surface rotate-to-principal-axis-system undo])
|
---|
19 |
|
---|
20 | file=tensid-undo.data
|
---|
21 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/pre/tensid.data $file], 0)
|
---|
22 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/pre/tensid.potentials .], 0)
|
---|
23 | AT_CHECK([chmod u+w $file], 0)
|
---|
24 | AT_CHECK([../../molecuilder --parse-tremolo-potentials tensid.potentials -i $file --select-all-molecules --rotate-to-principal-axis-system "0,0,-1" --fill-spherical-surface --center "0,0,0" --radius 20. --count 200 --min-distance 3.1 --Alignment-Axis "0,0,1" --undo], 0, [stdout], [stderr])
|
---|
25 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/post/$file], 0, [ignore], [ignore])
|
---|
26 |
|
---|
27 | AT_CLEANUP
|
---|
28 |
|
---|
29 |
|
---|
30 | AT_SETUP([Molecules - Fill spherical surface with Redo])
|
---|
31 | AT_KEYWORDS([molecules filling fill-spherical-surface rotate-to-principal-axis-system redo])
|
---|
32 |
|
---|
33 | file=tensid.data
|
---|
34 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/pre/tensid.data $file], 0)
|
---|
35 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/pre/tensid.potentials .], 0)
|
---|
36 | AT_CHECK([chmod u+w $file], 0)
|
---|
37 | AT_CHECK([../../molecuilder --parse-tremolo-potentials tensid.potentials -i $file --select-all-molecules --rotate-to-principal-axis-system "0,0,-1" --fill-spherical-surface --center "0,0,0" --radius 20. --count 200 --min-distance 3.1 --Alignment-Axis "0,0,1" --undo --redo], 0, [stdout], [stderr])
|
---|
38 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/SphericalSurface/post/tensid.data], 0, [ignore], [ignore])
|
---|
39 |
|
---|
40 | AT_CLEANUP
|
---|