Changeset 8392


Ignore:
Timestamp:
Apr 11, 2012, 11:20:27 PM (13 years ago)
Author:
steve
Message:

Added a new macro \inputresults so that only need to specify validation test
directory in the report.tex file

Location:
trunk/anuga_core/validation_tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/validation_tests/Tests/Analytical/Dam_Break/description.tex

    r8390 r8392  
    99Here are some results.
    1010
    11 \begin{figure}
    12 \includegraphics{stage_plot.png}
     11\begin{figure}[h]
     12\begin{center}
     13\includegraphics[width=0.9\textwidth]{stage_plot.png}
     14\end{center}
    1315\caption{Stage results}
    1416\end{figure}
    1517
    1618
    17 \begin{figure}
    18 \includegraphics{xvel_plot.png}
     19\begin{figure}[h]
     20\begin{center}
     21\includegraphics[width=0.9\textwidth]{xvel_plot.png}
     22\end{center}
    1923\caption{Velocity results}
    2024\end{figure}
  • trunk/anuga_core/validation_tests/local-defs.tex

    r8390 r8392  
    11
    22\newcommand{\anuga}{\textsc{anuga}}
     3
     4
     5\newcommand{\cwd}{}
     6\newcommand{\setcwd}[1]{\renewcommand{\cwd}[1]{#1##1}}
     7
     8
     9\newcommand{\inputresults}[1]{\setcwd{#1/}\graphicspath{{\cwd}}\input{#1/description}}
  • trunk/anuga_core/validation_tests/report.tex

    r8390 r8392  
    1 \documentclass[11pt,a4paper,oneside]{report}
     1\documentclass[11pt,a4paper]{report}
    22
     3
     4\usepackage{graphicx}
    35\usepackage{epstopdf}
    4 \usepackage{graphicx}
    56
    67\input{local-defs}
    7 
    88
    99%=========================================
    1010\begin{document}
    1111%=========================================
     12
     13%======================
    1214\chapter{Introduction}
     15%======================
    1316
    1417Here we collect the results of running our validation tests.
     
    1821%======================
    1922
    20 \graphicspath{Tests/Analytical/Dam_Break/}
    21 \input{Tests/Analytical/Dam_Break/description}
    22 
     23\inputresults{Tests/Analytical/Dam_Break}
    2324
    2425%======================
     
    2627%======================
    2728
    28 \include{Tests/Experimental/Isolated_Building/description}
    29 
    30 
     29\inputresults{Tests/Experimental/Isolated_Building}
    3130
    3231%======================
     
    3433%======================
    3534
    36 \include{Tests/Real_World/Patong/description}
    37 
    38 
     35\inputresults{Tests/Real_World/Patong}
    3936
    4037
Note: See TracChangeset for help on using the changeset viewer.