Ignore:
Timestamp:
Aug 6, 2014, 9:14:12 AM (11 years ago)
Author:
steve
Message:

Fixed bug in volume reporting with negative rate operators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/validation_tests/reports/all_tests_report.tex

    r9241 r9287  
    122122%%======================
    123123\inputresults{../experimental_data/dam_break_yeh_petroff}
     124\inputresults{../experimental_data/okushiri}
     125
    124126\inputresults{../behaviour_only/lid_driven_cavity}
    125127\inputresults{../behaviour_only/weir_1}
     128\inputresults{../behaviour_only/bridge_hecras}
     129\inputresults{../behaviour_only/lateral_weir_hecras}
     130\inputresults{../behaviour_only/tides_hecras}
    126131
    127132\inputresults{../other_references/radial_dam_break_dry}
    128133\inputresults{../other_references/radial_dam_break_wet}
    129 
    130 \inputresults{../case_studies/okushiri}
    131134
    132135
     
    139142
    140143
    141 To setup a new validation test, create a test directory under the
    142 \textsc{Tests} directory. In that directory there should be the test code, a
     144To setup a new validation test, create a test directory under one of
     145the validation directories. In that directory there should be the test code, a
    143146\TeX{} file \texttt{results.tex} and a python script
    144147\texttt{produce\_results.py}, which runs the simulation and produces the
    145 outputs. Copy the format from the other test directory.
     148outputs. Copy the format from one of the other test directories.
    146149
    147150In this \TeX{} file, \texttt{report.tex}, add a line
    148151\begin{verbatim}
    149 \inputresults{Tests/Directory/Name}
     152\inputresults{../Directory/Name}
    150153\end{verbatim}
    151154
     
    175178
    176179\begin{verbatim}
    177 from anuga.validation_utilities.fabricate import *
    178 from anuga.validation_utilities import run_validation_script
     180import anuga
     181from anuga.validation_utilities import produce_report
    179182
    180 # Setup the python scripts which produce the output for this
    181 # validation test
    182 def build():
    183     run_validation_script('run_problem.py')
    184     run_validation_script('plot_problem.py')
    185     run('python','typeset_report.py')
    186     pass
     183args = anuga.get_args()
    187184
    188 def clean():
    189     autoclean()
    190 
    191 main()
     185produce_report('run_simulation.py', args=args)
    192186\end{verbatim}
    193 This script uses \texttt{fabricate} which automatically determines dependences
    194 and only runs the command if the parameters alg and cfl have changed,
    195 or input/output or source files have changed. (\texttt{fabricate} is a replacement for
    196 standard \texttt{make})
    197187
    198188
Note: See TracChangeset for help on using the changeset viewer.