Changeset 5507


Ignore:
Timestamp:
Jul 16, 2008, 12:28:52 PM (11 years ago)
Author:
ole
Message:

LeTeX bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/documentation/user_manual/anuga_user_manual.tex

    r5506 r5507  
    22992299\anuga provides a number of predefined forcing functions to be used with simulations.
    23002300Gravity and friction are always calculated using the elevation and friction quantities, but the user may additionally add forcing terms to the list
    2301 \code{domain.forcing_terms} and have them affect the model.
     2301\code{domain.forcing\_terms} and have them affect the model.
    23022302 
    23032303Currently, predifiend forcing terms are
    23042304
    2305 \begin{funcdesc}{General_forcing}{}
     2305\begin{funcdesc}{General\_forcing}{}
    23062306  Module: \module{shallow\_water.shallow\_water\_domain}
    23072307
     
    23232323  \end{itemize}
    23242324  Note specifying both center, radius and polygon will cause an exception to be thrown.
    2325  
     2325
     2326   
    23262327  Example:
    23272328  {\scriptsize \begin{verbatim}
     
    23342335        domain.forcing_terms.append(xmom)
    23352336        domain.forcing_terms.append(ymom)       
    2336   \end{itemize}}
     2337  \end{verbatim}}
    23372338  Here, \code{f}, \code{g} are assumed to be defined as functions of time providing a time dependent rate of change for xmomentum and ymomentum respectively.
    23382339  P is assumed to be polygon, specified as a list of points, e.g. a square \code{P = [[x0, y0], [x1, y0], [x1, y1], [x0, y1]]}. 
     
    23622363    \item \code{polygon}: Optionally restrict forcing to an area enclosed by given polygon.             
    23632364  \end{itemize}
    2364  
     2365
     2366   
    23652367  Example:
    23662368  {\scriptsize \begin{verbatim}
     
    23692371
    23702372    domain.forcing_terms.append(hydrograph)
    2371   \end{itemize}}
    2372   Here, \code{'QPMF_Rot_Sub13.tms') is assumed to be a NetCDF file in the format \code{tms} defining a timeseries for a hydrograph.
     2373  \end{verbatim}}
     2374  Here, \code{'QPMF_Rot_Sub13.tms'} is assumed to be a NetCDF file in the format \code{tms} defining a timeseries for a hydrograph.
    23732375\end{funcdesc}
    23742376
     
    24042406    domain.forcing_terms.append(catchmentrainfall)
    24052407
    2406   \end{itemize}}
    2407   Here, \code{'Q100_2hr_Rain.tms') is assumed to be a NetCDF file in the format \code{tms} defining a timeseries for the rainfall.
     2408  \end{verbatim}}
     2409  Here, \code{'Q100_2hr_Rain.tms'} is assumed to be a NetCDF file in the format \code{tms} defining a timeseries for the rainfall.
    24082410\end{funcdesc}
    24092411
     
    24162418  This class modifies the quantities \code{stage, xmomentum, ymomentum} in areas at both ends of the culvert.
    24172419 
    2418   The Culvert\_flow forcing term uses \code{Inflow} and {General\_forcing} to update the quantities. The flow direction is determined on-the-fly so
     2420  The Culvert\_flow forcing term uses \code{Inflow} and {General\_forcing} to update the quantities. The flow drection is determined on-the-fly so
    24192421  openings are referenced simple as opening0 and opening1 with either being able to take the role as Inflow and Outflow.
    24202422 
     
    24652467
    24662468   
    2467   \end{itemize}}
     2469  \end{verbatim}}
    24682470\end{funcdesc}
    24692471
Note: See TracChangeset for help on using the changeset viewer.