- Timestamp:
- Jul 20, 2017, 9:38:38 AM (8 years ago)
- Branches:
- ForceAnnealing_with_BondGraph_continued
- Children:
- 461a7f
- Parents:
- 698308
- git-author:
- Frederik Heber <frederik.heber@…> (06/27/17 22:39:05)
- git-committer:
- Frederik Heber <frederik.heber@…> (07/20/17 09:38:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Python/ForceAnnealing/testsuite-python-forceannealing-ising.at
r698308 r12d20c 18 18 # Force Annealing with Ising model 19 19 20 AT_SETUP([Python externalization - Force Annealing with Ising]) 20 AT_SETUP([Python externalization - Force Annealing without bondgraph on 2-body Ising model]) 21 AT_KEYWORDS([python force-annealing ising]) 22 23 # we use forces from a simple Ising model with 2 "carbon" atoms in a row along the x axis 24 25 file=two_carbon_test.data 26 AT_CHECK([../../run ${abs_top_srcdir}/tests/Python/ForceAnnealing/pre/ising_model_chain.py ./$file ./ 15 2 "0"], 0, [stdout], [ignore]) 27 AT_CHECK([grep "Largest remaining force components.*e-05" stdout], 0, [ignore], [ignore]) 28 AT_CHECK([diff $file ${abs_top_srcdir}/tests/Python/ForceAnnealing/post/two_carbon_test_no-bondgraph.data], 0, [ignore], [ignore]) 29 30 AT_CLEANUP 31 32 AT_SETUP([Python externalization - Force Annealing without bondgraph on 5-body Ising model]) 21 33 AT_KEYWORDS([python force-annealing ising]) 22 34 … … 24 36 25 37 file=five_carbon_test.data 26 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/Python/ForceAnnealing/pre/$file $file], 0) 27 AT_CHECK([chmod u+w $file], 0) 28 AT_CHECK([../../run ${abs_top_srcdir}/tests/Python/ForceAnnealing/pre/five_carbon_test.py ./$file ./], 0, [stdout], [ignore]) 29 AT_CHECK([diff $file ${abs_top_srcdir}/tests/Python/ForceAnnealing/post/$file], 0, [ignore], [ignore]) 38 AT_CHECK([../../run ${abs_top_srcdir}/tests/Python/ForceAnnealing/pre/ising_model_chain.py ./$file ./ 20 5 "0"], 0, [stdout], [ignore]) 39 AT_CHECK([grep "Largest remaining force components.*e-05" stdout], 0, [ignore], [ignore]) 40 AT_CHECK([diff $file ${abs_top_srcdir}/tests/Python/ForceAnnealing/post/five_carbon_test_no-bondgraph.data], 0, [ignore], [ignore]) 30 41 31 42 AT_CLEANUP 43 44 AT_SETUP([Python externalization - Force Annealing with bondgraph on 2-body Ising model]) 45 AT_KEYWORDS([python force-annealing ising bondgraph]) 46 47 # we use forces from a simple Ising model with 2 "carbon" atoms in a row along the x axis 48 49 file=two_carbon_test.data 50 AT_CHECK([../../run ${abs_top_srcdir}/tests/Python/ForceAnnealing/pre/ising_model_chain.py ./$file ./ 30 2 "1"], 0, [stdout], [ignore]) 51 AT_CHECK([grep "Largest remaining force components.*e-05" stdout], 0, [ignore], [ignore]) 52 AT_CHECK([diff $file ${abs_top_srcdir}/tests/Python/ForceAnnealing/post/two_carbon_test_bondgraph.data], 0, [ignore], [ignore]) 53 54 AT_CLEANUP 55 56 AT_SETUP([Python externalization - Force Annealing with bondgraph on 5-body Ising model]) 57 AT_KEYWORDS([python force-annealing ising bondgraph]) 58 59 # we use forces from a simple Ising model with 5 "carbon" atoms in a row along the x axis 60 61 file=five_carbon_test.data 62 AT_CHECK([../../run ${abs_top_srcdir}/tests/Python/ForceAnnealing/pre/ising_model_chain.py ./$file ./ 20 5 "1"], 0, [stdout], [ignore]) 63 AT_CHECK([grep "Largest remaining force components.*0.0001" stdout], 0, [ignore], [ignore]) 64 AT_CHECK([diff $file ${abs_top_srcdir}/tests/Python/ForceAnnealing/post/five_carbon_test_bondgraph.data], 0, [ignore], [ignore]) 65 66 AT_CLEANUP
Note:
See TracChangeset
for help on using the changeset viewer.