Ignore:
Timestamp:
Jun 7, 2010, 4:19:31 PM (15 years ago)
Author:
James Hudson
Message:

Fixed up failing tests, updated user guide with new API (first few chapters only).

Location:
trunk/anuga_core/documentation/user_manual
Files:
2 edited

Legend:

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

    r7631 r7804  
    7272                % will be used.
    7373
    74 %\release{1.0}   % release version; this is used to define the
     74%\release{1.2}   % release version; this is used to define the
    7575%                % \version macro
    7676
     
    147147where the more adventurous reader might like to go.
    148148
    149 This manual describes \anuga version 1.0. To check for later versions of this manual
     149This manual describes \anuga version 1.2. To check for later versions of this manual
    150150go to \url{https://datamining.anu.edu.au/anuga}.
    151151
     
    335335
    336336\begin{verbatim}
    337 points, vertices, boundary = rectangular_cross(10, 10)
     337points, vertices, boundary = anuga.rectangular_cross(10, 10)
    338338\end{verbatim}
    339339
     
    345345
    346346\begin{verbatim}
    347 points, vertices, boundary = rectangular_cross(m, n)
     347points, vertices, boundary = anuga.rectangular_cross(m, n)
    348348\end{verbatim}
    349349
     
    372372
    373373\begin{verbatim}
    374 domain = Domain(points, vertices, boundary)
     374domain = anuga.Domain(points, vertices, boundary)
    375375\end{verbatim}
    376376
     
    499499
    500500\begin{verbatim}
    501 Br = Reflective_boundary(domain)
    502 Bt = Transmissive_boundary(domain)
    503 Bd = Dirichlet_boundary([0.2, 0.0, 0.0])
    504 Bw = Time_boundary(domain=domain,
     501Br = anuga.Reflective_boundary(domain)
     502Bt = anuga.Transmissive_boundary(domain)
     503Bd = anuga.Dirichlet_boundary([0.2, 0.0, 0.0])
     504Bw = anuga.Time_boundary(domain=domain,
    505505                   f=lambda t: [(0.1*sin(t*2*pi)-0.3)*exp(-t), 0.0, 0.0])
    506506\end{verbatim}
     
    609609
    610610\begin{verbatim}
    611 Bw = Time_boundary(domain=domain, f=lambda t: [(0.1*sin(t*2*pi)-0.3), 0.0, 0.0])
     611Bw = anuga.Time_boundary(domain=domain, f=lambda t: [(0.1*sin(t*2*pi)-0.3), 0.0, 0.0])
    612612\end{verbatim}
    613613
     
    726726
    727727\begin{verbatim}
    728 points, vertices, boundary = rectangular_cross(m, n, len1=length, len2=width)
     728points, vertices, boundary = anuga.rectangular_cross(m, n, len1=length, len2=width)
    729729\end{verbatim}
    730730
     
    742742dx = dy = 1           # Resolution: Length of subdivisions on both axes
    743743
    744 points, vertices, boundary = rectangular_cross(int(length/dx), int(width/dy),
     744points, vertices, boundary = anuga.rectangular_cross(int(length/dx), int(width/dy),
    745745                                               len1=length, len2=width)
    746746\end{verbatim}
     
    780780
    781781\begin{verbatim}
    782 Bo = Dirichlet_boundary([-5, 0, 0])    # Outflow
     782Bo = anuga.Dirichlet_boundary([-5, 0, 0])    # Outflow
    783783\end{verbatim}
    784784
     
    10241024\begin{verbatim}
    10251025remainder_res = 10000000
    1026 domain = create_domain_from_regions(project.bounding_polygon,
     1026domain = anuga.create_domain_from_regions(project.bounding_polygon,
    10271027                                    boundary_tags={'top': [0],
    10281028                                                   'ocean_east': [1],
     
    11451145
    11461146\begin{verbatim}
    1147 Bd = Dirichlet_boundary([tide,0,0]) # Mean water level
    1148 Bs = Transmissive_stage_zero_momentum_boundary(domain) # Neutral boundary
     1147Bd = anuga.Dirichlet_boundary([tide,0,0]) # Mean water level
     1148Bs = anuga.Transmissive_stage_zero_momentum_boundary(domain) # Neutral boundary
    11491149
    11501150if project.scenario == 'fixed_wave':
    11511151    # Huge 50m wave starting after 60 seconds and lasting 1 hour.
    1152     Bw = Time_boundary(domain=domain,
     1152    Bw = anuga.Time_boundary(domain=domain,
    11531153                       function=lambda t: [(60<t<3660)*50, 0, 0])
    11541154    domain.set_boundary({'ocean_east': Bw,
  • trunk/anuga_core/documentation/user_manual/version.tex

    r6055 r7804  
    77% release version; this is used to define the
    88% \version macro
    9 \release{1.0beta\_6051}
     9\release{1.2beta\_6051}
Note: See TracChangeset for help on using the changeset viewer.