Changeset 8743
- Timestamp:
- Mar 8, 2013, 1:40:42 AM (12 years ago)
- Location:
- trunk/anuga_core/source/anuga_validation_tests/Analytical_exact
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/avalanche_dry/plot_results.py
r8642 r8743 19 19 #Plot stages 20 20 pyplot.clf() 21 #pyplot.ion()22 21 pyplot.plot(p2_st.x[v2], p2_st.stage[0,v2],'b.-', label='numerical stage') 23 22 pyplot.plot(p2_st.x[v2], p2_st.stage[10,v2], 'b.-') … … 37 36 #Plot xmomentum 38 37 pyplot.clf() 39 #pyplot.ion()40 38 pyplot.plot(p2_st.x[v2], p2_st.xmom[0,v2], 'b.-', label='numerical') 41 39 pyplot.plot(p2_st.x[v2], p2_st.xmom[10,v2], 'b.-') … … 53 51 #Plot velocities 54 52 pyplot.clf() 55 #pyplot.ion()56 53 pyplot.plot(p2_st.x[v2], p2_st.xvel[0,v2], 'b.-', label='numerical') 57 54 pyplot.plot(p2_st.x[v2], p2_st.xvel[10,v2], 'b.-') -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/avalanche_dry/produce_results.py
r8739 r8743 11 11 run_validation_script('numerical_avalanche_dry.py') 12 12 run_validation_script('plot_results.py') 13 run('pdflatex', 'report.tex') 14 run('bibtex', 'report') 15 run('pdflatex', 'report.tex') 16 run('bibtex', 'report') 17 run('pdflatex', 'report.tex') 18 run('bibtex', 'report') 13 19 14 20 def clean(): -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/avalanche_dry/report.tex
r8722 r8743 9 9 10 10 11 \input{../../ ../local-defs}12 \input{../../ ../saved_parameters}11 \input{../../local-defs} 12 \input{../../saved_parameters} 13 13 14 14 %========================================= … … 35 35 36 36 \bibliographystyle{plain} 37 \bibliography{../../ ../bibliography}37 \bibliography{../../bibliography} 38 38 39 39 \end{document} -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/avalanche_wet/plot_results.py
r8643 r8743 19 19 #Plot stages 20 20 pyplot.clf() 21 #pyplot.ion()22 21 pyplot.plot(p2_st.x[v2], p2_st.stage[0,v2],'b.-', label='numerical stage') 23 22 pyplot.plot(p2_st.x[v2], p2_st.stage[20,v2], 'b.-') … … 37 36 #Plot xmomentum 38 37 pyplot.clf() 39 #pyplot.ion()40 38 pyplot.plot(p2_st.x[v2], p2_st.xmom[0,v2], 'b.-', label='numerical') 41 39 pyplot.plot(p2_st.x[v2], p2_st.xmom[20,v2], 'b.-') … … 53 51 #Plot velocities 54 52 pyplot.clf() 55 #pyplot.ion()56 53 pyplot.plot(p2_st.x[v2], p2_st.xvel[0,v2], 'b.-', label='numerical') 57 54 pyplot.plot(p2_st.x[v2], p2_st.xvel[20,v2], 'b.-') -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/avalanche_wet/produce_results.py
r8739 r8743 11 11 run_validation_script('numerical_avalanche_wet.py') 12 12 run_validation_script('plot_results.py') 13 run('pdflatex', 'report.tex') 14 run('bibtex', 'report') 15 run('pdflatex', 'report.tex') 16 run('bibtex', 'report') 17 run('pdflatex', 'report.tex') 18 run('bibtex', 'report') 13 19 14 20 def clean(): -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/avalanche_wet/report.tex
r8723 r8743 9 9 10 10 11 \input{../../ ../local-defs}12 \input{../../ ../saved_parameters}11 \input{../../local-defs} 12 \input{../../saved_parameters} 13 13 14 14 %========================================= … … 34 34 %====================== 35 35 \bibliographystyle{plain} 36 \bibliography{../../ ../bibliography}36 \bibliography{../../bibliography} 37 37 38 38 \end{document} -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/dam_break_dry/plot_results.py
r8682 r8743 25 25 #Plot stages 26 26 pyplot.clf() 27 pyplot.ion()28 27 pyplot.plot(p2_st.x[v2], p2_st.stage[10,v2],'b.', label='numerical') 29 28 pyplot.plot(p2_st.x[v2], p2_st.stage[50,v2], 'b.') … … 41 40 #Plot xmomentum 42 41 pyplot.clf() 43 pyplot.ion()44 42 pyplot.plot(p2_st.x[v2], p2_st.xmom[10,v2], 'b.', label='numerical') 45 43 pyplot.plot(p2_st.x[v2], p2_st.xmom[50,v2], 'b.') … … 57 55 #Plot velocities 58 56 pyplot.clf() 59 pyplot.ion()60 57 pyplot.plot(p2_st.x[v2], p2_st.xvel[10,v2], 'b.', label='numerical') 61 58 pyplot.plot(p2_st.x[v2], p2_st.xvel[50,v2], 'b.') -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/dam_break_dry/produce_results.py
r8741 r8743 11 11 run_validation_script('numerical_dam_break_dry.py') 12 12 run_validation_script('plot_results.py') 13 os.system('pdflatexreport.tex')13 run('pdflatex', 'report.tex') 14 14 run('bibtex', 'report') 15 15 run('pdflatex', 'report.tex') 16 16 run('bibtex', 'report') 17 run('pdflatex', 'report.tex') 18 run('bibtex', 'report') 17 19 18 20 def clean(): -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/dam_break_dry/report.tex
r8741 r8743 1 \documentclass[11pt,a4paper]{a msart}1 \documentclass[11pt,a4paper]{article}%{amsart} 2 2 3 3 \usepackage{graphicx} -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/dam_break_wet/plot_results.py
r8601 r8743 23 23 #Plot stages 24 24 pyplot.clf() 25 pyplot.ion()26 25 pyplot.plot(p2_st.x[v2], p2_st.stage[10,v2],'b.', label='numerical') 27 26 pyplot.plot(p2_st.x[v2], p2_st.stage[50,v2], 'b.') … … 39 38 #Plot xmomentums 40 39 pyplot.clf() 41 pyplot.ion()42 40 pyplot.plot(p2_st.x[v2], p2_st.xmom[10,v2], 'b.', label='numerical') 43 41 pyplot.plot(p2_st.x[v2], p2_st.xmom[50,v2], 'b.') … … 55 53 #Plot velocities 56 54 pyplot.clf() 57 pyplot.ion()58 55 pyplot.plot(p2_st.x[v2], p2_st.xvel[10,v2], 'b.', label='numerical') 59 56 pyplot.plot(p2_st.x[v2], p2_st.xvel[50,v2], 'b.') -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/dam_break_wet/produce_results.py
r8739 r8743 4 4 from anuga_validation_tests.utilities.fabricate import * 5 5 from anuga_validation_tests.utilities.run_validation import run_validation_script 6 6 import os 7 7 8 8 # Setup the python scripts which produce the output for this … … 11 11 run_validation_script('numerical_dam_break_wet.py') 12 12 run_validation_script('plot_results.py') 13 run('pdflatex','report.tex') 13 run('pdflatex', 'report.tex') 14 run('bibtex', 'report') 15 run('pdflatex', 'report.tex') 16 run('bibtex', 'report') 17 run('pdflatex', 'report.tex') 18 run('bibtex', 'report') 14 19 15 20 def clean(): -
trunk/anuga_core/source/anuga_validation_tests/Analytical_exact/dam_break_wet/report.tex
r8725 r8743 9 9 10 10 11 \input{../../ ../local-defs}12 \input{../../ ../saved_parameters}11 \input{../../local-defs} 12 \input{../../saved_parameters} 13 13 14 14 %========================================= … … 33 33 % bibliography 34 34 %====================== 35 35 36 \bibliographystyle{plain} 36 \bibliography{../../../bibliography} 37 37 \bibliography{../../bibliography} 38 38 \end{document}
Note: See TracChangeset
for help on using the changeset viewer.