[c52e08] | 1 | ### Subgraph dissection with specific boundary conditions
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Graph - subgraph dissection with Wrap BC])
|
---|
| 4 | AT_KEYWORDS([graph subgraph-dissection set-boundary-conditions])
|
---|
| 5 |
|
---|
| 6 | file=water.xyz
|
---|
| 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 8 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 9 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Wrap Wrap Wrap -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 10 | AT_CHECK([fgrep "I scanned 1 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 11 | file=water-bounced.xyz
|
---|
| 12 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 13 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 14 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Wrap Wrap Wrap -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 15 | AT_CHECK([fgrep "I scanned 1 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 16 | file=water-wrapped.xyz
|
---|
| 17 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 18 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 19 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Wrap Wrap Wrap -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 20 | AT_CHECK([fgrep "I scanned 1 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 21 |
|
---|
| 22 | AT_CLEANUP
|
---|
| 23 |
|
---|
| 24 | AT_SETUP([Graph - subgraph dissection with Bounce BC])
|
---|
| 25 | AT_KEYWORDS([graph subgraph-dissection set-boundary-conditions])
|
---|
| 26 |
|
---|
| 27 | file=water.xyz
|
---|
| 28 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 29 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 30 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Bounce Bounce Bounce -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 31 | AT_CHECK([fgrep "I scanned 1 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 32 | file=water-bounced.xyz
|
---|
| 33 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 34 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 35 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Bounce Bounce Bounce -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 36 | AT_CHECK([fgrep "I scanned 1 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 37 | file=water-wrapped.xyz
|
---|
| 38 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 39 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 40 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Bounce Bounce Bounce -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 41 | AT_CHECK([fgrep "I scanned 2 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 42 |
|
---|
| 43 | AT_CLEANUP
|
---|
| 44 |
|
---|
| 45 | AT_SETUP([Graph - subgraph dissection with Ignore BC])
|
---|
| 46 | AT_KEYWORDS([graph subgraph-dissection set-boundary-conditions])
|
---|
| 47 |
|
---|
| 48 | file=water.xyz
|
---|
| 49 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 50 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 51 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Ignore Ignore Ignore -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 52 | AT_CHECK([fgrep "I scanned 1 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 53 | file=water-bounced.xyz
|
---|
| 54 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 55 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 56 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Ignore Ignore Ignore -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 57 | AT_CHECK([fgrep "I scanned 1 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 58 | file=water-wrapped.xyz
|
---|
| 59 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection-BoundaryConditions/pre/$file $file], 0)
|
---|
| 60 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore])
|
---|
[97f9b9] | 61 | AT_CHECK([../../molecuilder -i $file -B "5,0,5,0,0,5" --set-boundary-conditions Ignore Ignore Ignore -v 3 -I], 0, [stdout], [stderr])
|
---|
[c52e08] | 62 | AT_CHECK([fgrep "I scanned 2 molecules." stdout], 0, [ignore], [ignore])
|
---|
| 63 |
|
---|
| 64 | AT_CLEANUP
|
---|
| 65 |
|
---|