Changeset 9147
- Timestamp:
- Jun 12, 2014, 7:53:59 AM (10 years ago)
- Location:
- trunk/anuga_core/validation_tests/reports
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/validation_tests/reports/all_tests_produce_results.py
r9145 r9147 135 135 from anuga.validation_utilities.fabricate import * 136 136 137 os.system('python typeset_report.py')137 os.system('python all_test_typeset_report.py') 138 138 139 139 #cmd = 'pdflatex -shell-escape -interaction=batchmode report.tex' … … 143 143 144 144 import subprocess 145 cmd = 'mv report.pdfreport_cfl_%s_alg_%s.pdf' % (str(cfl), str(alg))145 cmd = 'mv all_tests_report.pdf all_tests_report_cfl_%s_alg_%s.pdf' % (str(cfl), str(alg)) 146 146 print cmd 147 147 subprocess.call([cmd], shell=True) -
trunk/anuga_core/validation_tests/reports/all_tests_report.tex
r9145 r9147 18 18 %========================================= 19 19 20 \title{Automated Report on the Performance of \anuga{} on VariousTest Problems}20 \title{Automated Report on the Performance of \anuga{} on (all) Validation Test Problems} 21 21 \author{Sudi Mungkasi, Stephen Roberts, Gareth Davies, Rudy vanDrie} %Type your name(s) here! 22 22 \maketitle … … 54 54 55 55 To do the complete test, we can just run the python module \\ 56 \verb produce_results.py \\56 \verb all_tests_produce_results.py \\ 57 57 available in the directory \\ 58 \verb anuga_validation_tests \\58 \verb validation_tests/reports \\ 59 59 Similar to the module for an individual test, this python module will do the numerical simulations of all the given problems, plot results in png files and save them in its corresponding directory, and finally type-set the complete report. The complete automated report is saved in this directory. 60 60 61 The simulation results can be analysed qualitatively and quantitatively. Qualitative analysis can be done by investigating the plots of the results whether they are physical or not, and whether the behaviour is the same as we expected. Quantitative analysis can be conducted by checking the numerical error. We have provided python module with the name begun by the word ``validate'' in each of individual tests. We can also run validate$\_$all.py to measure the numerical errors from the directory \verb anuga_validation_tests . This validate$\_$all.py will run a subset of the available tests having sensible ``correct'' results to test against.61 The simulation results can be analysed qualitatively and quantitatively. Qualitative analysis can be done by investigating the plots of the results whether they are physical or not, and whether the behaviour is the same as we expected. Quantitative analysis can be conducted by checking the numerical error. We have provided python module with the name begun by the word ``validate'' in each of individual tests. We can also run validate$\_$all.py to measure the numerical errors from the directory \verb run_auto_validation_tests . This validate$\_$all.py will run a subset of the available tests having sensible ``correct'' results to test against. 62 62 63 63 The main parameters in the validations are the Courant--Friedrichs-Lewy (CFL) number and the flow algorithm. They are spelled ``cfl'' and ``alg'' respectively in the python module \\ 64 \verb parameters .py\\64 \verb parameters \\ 65 65 which is available in the \\ 66 \verb anuga _validation_tests \\67 directory. In the default setting, we set the CFL to be $1.0$ and the flow algorithm to be 1$\_$5(second order in space and first order in time). The complete available flow algorithms are as follow:68 '1$\_$0', '1$\_$5', '1$\_$75', '2$\_$0', '2$\_$0$\_$limited', '2$\_$5', 'tsunami', 'yusuke' .66 \verb anuga.validation_tests \\ 67 module. In the default setting, we set the CFL to be $1.0$ and the flow algorithm to be DE0 (second order in space and first order in time). The complete available flow algorithms are as follow: 68 '1$\_$0', '1$\_$5', '1$\_$75', '2$\_$0', '2$\_$0$\_$limited', '2$\_$5', 'tsunami', 'yusuke', 'DE0', 'DE1'. 69 69 %\begin{enumerate} 70 70 %\item '1$\_$0', -
trunk/anuga_core/validation_tests/reports/all_tests_typeset_report.py
r9146 r9147 11 11 import os 12 12 13 os.system('pdflatex -shell-escape -interaction=batchmode report.tex')14 os.system('bibtex report')15 os.system('pdflatex -shell-escape -interaction=batchmode report.tex')16 os.system('pdflatex -shell-escape -interaction=batchmode report.tex')13 os.system('pdflatex -shell-escape -interaction=batchmode all_tests_report.tex') 14 os.system('bibtex all_tests_report') 15 os.system('pdflatex -shell-escape -interaction=batchmode all_tests_report.tex') 16 os.system('pdflatex -shell-escape -interaction=batchmode all_tests_report.tex') 17 17
Note: See TracChangeset
for help on using the changeset viewer.