Changeset 3534
- Timestamp:
- Aug 28, 2006, 4:58:11 PM (19 years ago)
- Location:
- documentation/user_manual/examples
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/user_manual/examples/bedslope.py
r2481 r3534 8 8 # Module imports 9 9 # 10 from pyvolution.mesh_factory import rectangular11 from pyvolution.shallow_water import Domain, Reflective_boundary,\10 from anuga.pyvolution.mesh_factory import rectangular 11 from anuga.pyvolution.shallow_water import Domain, Reflective_boundary,\ 12 12 Dirichlet_boundary, Time_boundary, Transmissive_boundary 13 13 -
documentation/user_manual/examples/file_function_example.py
r2576 r3534 4 4 #Notice the statistics output 5 5 6 from pyvolution.util import file_function6 from anuga.pyvolution.util import file_function 7 7 8 8 f = file_function('bedslope.sww', -
documentation/user_manual/examples/harbour.py
r3483 r3534 15 15 #------------------------------------------------------------------------------ 16 16 17 from pmesh.mesh_interface import create_mesh_from_regions18 from pyvolution.shallow_water import Domain19 from pyvolution.shallow_water import Reflective_boundary20 from pyvolution.shallow_water import Dirichlet_boundary21 from pyvolution.shallow_water import Time_boundary22 from pyvolution.shallow_water import Transmissive_boundary17 from anuga.pmesh.mesh_interface import create_mesh_from_regions 18 from anuga.pyvolution.shallow_water import Domain 19 from anuga.pyvolution.shallow_water import Reflective_boundary 20 from anuga.pyvolution.shallow_water import Dirichlet_boundary 21 from anuga.pyvolution.shallow_water import Time_boundary 22 from anuga.pyvolution.shallow_water import Transmissive_boundary 23 23 24 24 waveheight = 1.0 … … 127 127 gauges, gaugex, gaugey = gauge_line(west,east,north,south) 128 128 129 from pyvolution.util import file_function129 from anuga.pyvolution.util import file_function 130 130 131 131 f = file_function('harbour.sww', -
documentation/user_manual/examples/runsydney.py
r3190 r3534 20 20 21 21 # Related major packages 22 from pyvolution.shallow_water import Domain, Dirichlet_boundary23 from pyvolution.data_manager import convert_dem_from_ascii2netcdf, dem2pts24 from pyvolution.combine_pts import combine_rectangular_points_files25 from pmesh.mesh_interface import create_mesh_from_regions22 from anuga.pyvolution.shallow_water import Domain, Dirichlet_boundary 23 from anuga.pyvolution.data_manager import convert_dem_from_ascii2netcdf, dem2pts 24 from anuga.pyvolution.combine_pts import combine_rectangular_points_files 25 from anuga.pmesh.mesh_interface import create_mesh_from_regions 26 26 27 27 # Application specific imports 28 28 import project # Define file names and polygons 29 from pyvolution.smf import slump_tsunami # Function for submarine mudslide29 from anuga.pyvolution.smf import slump_tsunami # Function for submarine mudslide 30 30 31 31 -
documentation/user_manual/examples/runup.py
r3505 r3534 10 10 #------------------------------------------------------------------------------ 11 11 12 from pyvolution.mesh_factory import rectangular_cross13 from pyvolution.shallow_water import Domain14 from pyvolution.shallow_water import Reflective_boundary15 from pyvolution.shallow_water import Dirichlet_boundary16 from pyvolution.shallow_water import Time_boundary17 from pyvolution.shallow_water import Transmissive_boundary12 from anuga.pyvolution.mesh_factory import rectangular_cross 13 from anuga.pyvolution.shallow_water import Domain 14 from anuga.pyvolution.shallow_water import Reflective_boundary 15 from anuga.pyvolution.shallow_water import Dirichlet_boundary 16 from anuga.pyvolution.shallow_water import Time_boundary 17 from anuga.pyvolution.shallow_water import Transmissive_boundary 18 18 19 19 -
documentation/user_manual/examples/runuptest.py
r3258 r3534 10 10 #------------------------------------------------------------------------------ 11 11 12 from pmesh.mesh_interface import create_mesh_from_regions13 from pyvolution.shallow_water import Domain14 from pyvolution.shallow_water import Reflective_boundary15 from pyvolution.shallow_water import Dirichlet_boundary16 from pyvolution.shallow_water import Time_boundary17 from pyvolution.shallow_water import Transmissive_boundary12 from anuga.pmesh.mesh_interface import create_mesh_from_regions 13 from anuga.pyvolution.shallow_water import Domain 14 from anuga.pyvolution.shallow_water import Reflective_boundary 15 from anuga.pyvolution.shallow_water import Dirichlet_boundary 16 from anuga.pyvolution.shallow_water import Time_boundary 17 from anuga.pyvolution.shallow_water import Transmissive_boundary 18 18 19 19 … … 103 103 gauges, gaugex, gaugey = gauge_line(west,east,north,south) 104 104 105 from pyvolution.util import file_function105 from anuga.pyvolution.util import file_function 106 106 107 107 f = file_function('test.sww',
Note: See TracChangeset
for help on using the changeset viewer.