Changeset 3534


Ignore:
Timestamp:
Aug 28, 2006, 4:58:11 PM (18 years ago)
Author:
duncan
Message:

fixing to work with new structure

Location:
documentation/user_manual/examples
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/examples/bedslope.py

    r2481 r3534  
    88# Module imports
    99#
    10 from pyvolution.mesh_factory import rectangular
    11 from pyvolution.shallow_water import Domain, Reflective_boundary,\
     10from anuga.pyvolution.mesh_factory import rectangular
     11from anuga.pyvolution.shallow_water import Domain, Reflective_boundary,\
    1212     Dirichlet_boundary, Time_boundary, Transmissive_boundary
    1313
  • documentation/user_manual/examples/file_function_example.py

    r2576 r3534  
    44#Notice the statistics output
    55
    6 from pyvolution.util import file_function
     6from anuga.pyvolution.util import file_function
    77 
    88f = file_function('bedslope.sww',
  • documentation/user_manual/examples/harbour.py

    r3483 r3534  
    1515#------------------------------------------------------------------------------
    1616
    17 from pmesh.mesh_interface import create_mesh_from_regions
    18 from pyvolution.shallow_water import Domain
    19 from pyvolution.shallow_water import Reflective_boundary
    20 from pyvolution.shallow_water import Dirichlet_boundary
    21 from pyvolution.shallow_water import Time_boundary
    22 from pyvolution.shallow_water import Transmissive_boundary
     17from anuga.pmesh.mesh_interface import create_mesh_from_regions
     18from anuga.pyvolution.shallow_water import Domain
     19from anuga.pyvolution.shallow_water import Reflective_boundary
     20from anuga.pyvolution.shallow_water import Dirichlet_boundary
     21from anuga.pyvolution.shallow_water import Time_boundary
     22from anuga.pyvolution.shallow_water import Transmissive_boundary
    2323
    2424waveheight = 1.0
     
    127127gauges, gaugex, gaugey = gauge_line(west,east,north,south)
    128128
    129 from pyvolution.util import file_function
     129from anuga.pyvolution.util import file_function
    130130
    131131f = file_function('harbour.sww',
  • documentation/user_manual/examples/runsydney.py

    r3190 r3534  
    2020
    2121# Related major packages
    22 from pyvolution.shallow_water import Domain, Dirichlet_boundary
    23 from pyvolution.data_manager import convert_dem_from_ascii2netcdf, dem2pts
    24 from pyvolution.combine_pts import combine_rectangular_points_files
    25 from pmesh.mesh_interface import create_mesh_from_regions
     22from anuga.pyvolution.shallow_water import Domain, Dirichlet_boundary
     23from anuga.pyvolution.data_manager import convert_dem_from_ascii2netcdf, dem2pts
     24from anuga.pyvolution.combine_pts import combine_rectangular_points_files
     25from anuga.pmesh.mesh_interface import create_mesh_from_regions
    2626
    2727# Application specific imports
    2828import project                           # Define file names and polygons
    29 from pyvolution.smf import slump_tsunami # Function for submarine mudslide
     29from anuga.pyvolution.smf import slump_tsunami # Function for submarine mudslide
    3030
    3131
  • documentation/user_manual/examples/runup.py

    r3505 r3534  
    1010#------------------------------------------------------------------------------
    1111
    12 from pyvolution.mesh_factory import rectangular_cross
    13 from pyvolution.shallow_water import Domain
    14 from pyvolution.shallow_water import Reflective_boundary
    15 from pyvolution.shallow_water import Dirichlet_boundary
    16 from pyvolution.shallow_water import Time_boundary
    17 from pyvolution.shallow_water import Transmissive_boundary
     12from anuga.pyvolution.mesh_factory import rectangular_cross
     13from anuga.pyvolution.shallow_water import Domain
     14from anuga.pyvolution.shallow_water import Reflective_boundary
     15from anuga.pyvolution.shallow_water import Dirichlet_boundary
     16from anuga.pyvolution.shallow_water import Time_boundary
     17from anuga.pyvolution.shallow_water import Transmissive_boundary
    1818
    1919
  • documentation/user_manual/examples/runuptest.py

    r3258 r3534  
    1010#------------------------------------------------------------------------------
    1111
    12 from pmesh.mesh_interface import create_mesh_from_regions
    13 from pyvolution.shallow_water import Domain
    14 from pyvolution.shallow_water import Reflective_boundary
    15 from pyvolution.shallow_water import Dirichlet_boundary
    16 from pyvolution.shallow_water import Time_boundary
    17 from pyvolution.shallow_water import Transmissive_boundary
     12from anuga.pmesh.mesh_interface import create_mesh_from_regions
     13from anuga.pyvolution.shallow_water import Domain
     14from anuga.pyvolution.shallow_water import Reflective_boundary
     15from anuga.pyvolution.shallow_water import Dirichlet_boundary
     16from anuga.pyvolution.shallow_water import Time_boundary
     17from anuga.pyvolution.shallow_water import Transmissive_boundary
    1818
    1919
     
    103103gauges, gaugex, gaugey = gauge_line(west,east,north,south)
    104104
    105 from pyvolution.util import file_function
     105from anuga.pyvolution.util import file_function
    106106
    107107f = file_function('test.sww',
Note: See TracChangeset for help on using the changeset viewer.