Changeset 7804 for trunk/anuga_core/documentation
- Timestamp:
- Jun 7, 2010, 4:19:31 PM (15 years ago)
- 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 72 72 % will be used. 73 73 74 %\release{1. 0} % release version; this is used to define the74 %\release{1.2} % release version; this is used to define the 75 75 % % \version macro 76 76 … … 147 147 where the more adventurous reader might like to go. 148 148 149 This manual describes \anuga version 1. 0. To check for later versions of this manual149 This manual describes \anuga version 1.2. To check for later versions of this manual 150 150 go to \url{https://datamining.anu.edu.au/anuga}. 151 151 … … 335 335 336 336 \begin{verbatim} 337 points, vertices, boundary = rectangular_cross(10, 10)337 points, vertices, boundary = anuga.rectangular_cross(10, 10) 338 338 \end{verbatim} 339 339 … … 345 345 346 346 \begin{verbatim} 347 points, vertices, boundary = rectangular_cross(m, n)347 points, vertices, boundary = anuga.rectangular_cross(m, n) 348 348 \end{verbatim} 349 349 … … 372 372 373 373 \begin{verbatim} 374 domain = Domain(points, vertices, boundary)374 domain = anuga.Domain(points, vertices, boundary) 375 375 \end{verbatim} 376 376 … … 499 499 500 500 \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,501 Br = anuga.Reflective_boundary(domain) 502 Bt = anuga.Transmissive_boundary(domain) 503 Bd = anuga.Dirichlet_boundary([0.2, 0.0, 0.0]) 504 Bw = anuga.Time_boundary(domain=domain, 505 505 f=lambda t: [(0.1*sin(t*2*pi)-0.3)*exp(-t), 0.0, 0.0]) 506 506 \end{verbatim} … … 609 609 610 610 \begin{verbatim} 611 Bw = Time_boundary(domain=domain, f=lambda t: [(0.1*sin(t*2*pi)-0.3), 0.0, 0.0])611 Bw = anuga.Time_boundary(domain=domain, f=lambda t: [(0.1*sin(t*2*pi)-0.3), 0.0, 0.0]) 612 612 \end{verbatim} 613 613 … … 726 726 727 727 \begin{verbatim} 728 points, vertices, boundary = rectangular_cross(m, n, len1=length, len2=width)728 points, vertices, boundary = anuga.rectangular_cross(m, n, len1=length, len2=width) 729 729 \end{verbatim} 730 730 … … 742 742 dx = dy = 1 # Resolution: Length of subdivisions on both axes 743 743 744 points, vertices, boundary = rectangular_cross(int(length/dx), int(width/dy),744 points, vertices, boundary = anuga.rectangular_cross(int(length/dx), int(width/dy), 745 745 len1=length, len2=width) 746 746 \end{verbatim} … … 780 780 781 781 \begin{verbatim} 782 Bo = Dirichlet_boundary([-5, 0, 0]) # Outflow782 Bo = anuga.Dirichlet_boundary([-5, 0, 0]) # Outflow 783 783 \end{verbatim} 784 784 … … 1024 1024 \begin{verbatim} 1025 1025 remainder_res = 10000000 1026 domain = create_domain_from_regions(project.bounding_polygon,1026 domain = anuga.create_domain_from_regions(project.bounding_polygon, 1027 1027 boundary_tags={'top': [0], 1028 1028 'ocean_east': [1], … … 1145 1145 1146 1146 \begin{verbatim} 1147 Bd = Dirichlet_boundary([tide,0,0]) # Mean water level1148 Bs = Transmissive_stage_zero_momentum_boundary(domain) # Neutral boundary1147 Bd = anuga.Dirichlet_boundary([tide,0,0]) # Mean water level 1148 Bs = anuga.Transmissive_stage_zero_momentum_boundary(domain) # Neutral boundary 1149 1149 1150 1150 if project.scenario == 'fixed_wave': 1151 1151 # Huge 50m wave starting after 60 seconds and lasting 1 hour. 1152 Bw = Time_boundary(domain=domain,1152 Bw = anuga.Time_boundary(domain=domain, 1153 1153 function=lambda t: [(60<t<3660)*50, 0, 0]) 1154 1154 domain.set_boundary({'ocean_east': Bw, -
trunk/anuga_core/documentation/user_manual/version.tex
r6055 r7804 7 7 % release version; this is used to define the 8 8 % \version macro 9 \release{1. 0beta\_6051}9 \release{1.2beta\_6051}
Note: See TracChangeset
for help on using the changeset viewer.