Changeset 7796


Ignore:
Timestamp:
Jun 7, 2010, 10:22:46 AM (10 years ago)
Author:
hudson
Message:

ANUGA core modified to fix errors with new API modules not being found.

Location:
trunk/anuga_core/source/anuga
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/__init__.py

    r7791 r7796  
    4444                                            pmesh_to_domain_instance
    4545
     46
     47from anuga.utilities.system_tools import file_length
     48
     49from anuga.utilities.file_utils import copy_code_files
     50
     51from anuga.geometry.polygon import read_polygon, Polygon_function
     52from anuga.caching import cache
    4653
    4754#-----------------------------
     
    8390from anuga.file_conversion.file_conversion import sww2obj, dat2obj, \
    8491                    timefile2netcdf, tsh2sww, urs2sww
    85 from anuga.file_conversion.urs2nc import urs2nc
     92from anuga.file_conversion.urs2nc import urs2nc 
     93from anuga.file_conversion.urs2sts import urs2sts
    8694from anuga.file_conversion.dem2pts import dem2pts                   
    8795from anuga.file_conversion.esri2sww import esri2sww   
     
    8997from anuga.file_conversion.asc2dem import asc2dem     
    9098from anuga.file_conversion.ferret2sww import ferret2sww     
    91 from anuga.file_conversion.dem2dem import dem2dem
     99from anuga.file_conversion.dem2dem import dem2dem
     100
    92101
    93102#-----------------------------
  • trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/test_region.py

    r7780 r7796  
    129129        """get values based on triangle lists."""
    130130
    131         from mesh_factory import rectangular
    132         from shallow_water import Domain
    133 
    134131        #Create basic mesh
    135132        points, vertices, boundary = rectangular(1, 3)
     
    160157        get values based on triangle lists.
    161158        """
    162         from mesh_factory import rectangular
    163         from shallow_water import Domain
    164159
    165160        #Create basic mesh
     
    190185        """Get values based on triangle lists."""
    191186
    192         from mesh_factory import rectangular
    193         from shallow_water import Domain
    194 
    195187        #Create basic mesh
    196188        points, vertices, boundary = rectangular(1, 3)
     
    227219        get values based on triangle lists.
    228220        """
    229         from mesh_factory import rectangular
    230         from shallow_water import Domain
    231221
    232222        #Create basic mesh
  • trunk/anuga_core/source/anuga/damage_modelling/test_inundation_damage.py

    r7780 r7796  
    1616from anuga.file.sww import SWW_file
    1717from anuga.shallow_water.shallow_water_domain import Domain
     18from anuga.abstract_2d_finite_volumes.generic_boundary_conditions\
     19     import Transmissive_boundary
    1820
    1921import numpy as num
  • trunk/anuga_core/source/anuga/file/sww.py

    r7780 r7796  
    10391039   
    10401040    from Scientific.IO.NetCDF import NetCDFFile
    1041     from anuga.shallow_water_domain.shallow_water import Domain
     1041    from anuga.shallow_water.shallow_water_domain import Domain
    10421042
    10431043    # initialise NaN.
  • trunk/anuga_core/source/anuga/file_conversion/sww2dem.py

    r7780 r7796  
    473473                basename_out = sww_file + '_' + quantity + '_' + extra_name_out
    474474
    475             file_out = sww2dem(dir+sep+sww_file, dir+sep+basename_out,
     475            file_out = sww2dem(dir+os.sep+sww_file, dir+os.sep+basename_out,
    476476                               quantity,
    477477                               reduction,
  • trunk/anuga_core/source/anuga/fit_interpolate/test_interpolate.py

    r7780 r7796  
    17471747        ######################
    17481748        # Boundary conditions
    1749         B = Transmissive_boundary(domain)
     1749        B = anuga.Transmissive_boundary(domain)
    17501750        domain.set_boundary( {'exterior': B})
    17511751
Note: See TracChangeset for help on using the changeset viewer.