Changeset 7840


Ignore:
Timestamp:
Jun 15, 2010, 9:33:23 AM (14 years ago)
Author:
steve
Message:

anuga_1d passing all unit tests

Location:
anuga_work/development/2010-projects/anuga_1d
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/2010-projects/anuga_1d/compile_all.py

    r7839 r7840  
    99
    1010os.chdir('..')
    11 os.chdir('generic_1d')
     11os.chdir('generic')
    1212execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
    1313
    1414os.chdir('..')
    15 os.chdir('channel_flow')
     15os.chdir('channel')
    1616execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
    1717
    1818os.chdir('..')
    19 os.chdir('pipe_flow')
     19os.chdir('pipe')
    2020execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
    2121
    2222os.chdir('..')
    23 os.chdir('sww_flow')
     23os.chdir('sww')
    2424execfile('..' + os.sep + 'utilities' + os.sep + 'compile.py')
    2525
  • anuga_work/development/2010-projects/anuga_1d/generic/test_generic_domain.py

    r7839 r7840  
    55
    66
    7 from flow_1d.generic_1d.generic_domain import *
     7from anuga_1d.generic.generic_domain import *
    88import numpy
    99
  • anuga_work/development/2010-projects/anuga_1d/sww/sww_boundary_conditions.py

    r7839 r7840  
    77__date__ ="$05/06/2010 5:44:05 PM$"
    88
    9 from flow_1d.generic_1d.generic_domain import *
     9from anuga_1d.generic.generic_domain import *
    1010
    1111class Dirichlet_boundary(Boundary):
  • anuga_work/development/2010-projects/anuga_1d/sww/sww_domain.py

    r7839 r7840  
    4545import numpy
    4646
    47 from flow_1d.generic_1d.generic_domain import Generic_domain
     47from anuga_1d.generic.generic_domain import Generic_domain
    4848from sww_boundary_conditions import *
    4949from sww_forcing_terms import *
     
    6565                                tagged_elements      = tagged_elements)
    6666       
    67         from flow_1d.config import minimum_allowed_height, g, h0
     67        from anuga_1d.config import minimum_allowed_height, g, h0
    6868        self.minimum_allowed_height = minimum_allowed_height
    6969        self.g = g
     
    8484       
    8585        #Reduction operation for get_vertex_values
    86         from flow_1d.utilities.util import mean
     86        from anuga_1d.generic.util import mean
    8787        self.reduction = mean
    8888        #self.reduction = min  #Looks better near steep slopes
     
    152152
    153153
    154         from flow_1d.sww_flow.sww_comp_flux_ext import compute_fluxes_ext_short
     154        from anuga_1d.sww.sww_comp_flux_ext import compute_fluxes_ext_short
    155155
    156156        #self.flux_timestep = compute_fluxes_ext(timestep,self,stage,xmom,bed,height,velocity)
     
    235235
    236236    import sys
    237     from flow_1d.config import epsilon, h0
     237    from anuga_1d.config import epsilon, h0
    238238       
    239239    N = domain.number_of_elements
  • anuga_work/development/2010-projects/anuga_1d/sww/sww_forcing_terms.py

    r7839 r7840  
    1414    """
    1515
    16     from flow_1d.utilities.util import gradient
     16    from anuga_1d.generic.util import gradient
    1717
    1818    xmom  = domain.quantities['xmomentum'].explicit_update
  • anuga_work/development/2010-projects/anuga_1d/sww/sww_python.py

    r7839 r7840  
    132132    """
    133133
    134     from flow_1d.config import g, epsilon, h0
     134    from anuga_1d.config import g, epsilon, h0
    135135    from math import sqrt
    136136    import numpy
  • anuga_work/development/2010-projects/anuga_1d/sww/sww_vel_domain.py

    r7839 r7840  
    4444
    4545
    46 from flow_1d.generic_1d.generic_domain import *
     46from anuga_1d.generic.generic_domain import *
    4747from sww_boundary_conditions import *
    4848from sww_forcing_terms import *
     
    6464                                tagged_elements = tagged_elements)
    6565       
    66         from flow_1d.config import minimum_allowed_height, g, h0
     66        from anuga_1d.config import minimum_allowed_height, g, h0
    6767        self.minimum_allowed_height = minimum_allowed_height
    6868        self.g = g
     
    8282       
    8383        #Reduction operation for get_vertex_values
    84         from flow_1d.utilities.util import mean
     84        from anuga_1d.generic.util import mean
    8585        self.reduction = mean
    8686        #self.reduction = min  #Looks better near steep slopes
     
    149149
    150150
    151     from flow_1d.sww_flow.sww_vel_comp_flux_ext import compute_fluxes_ext
     151    from anuga_1d.sww_flow.sww_vel_comp_flux_ext import compute_fluxes_ext
    152152
    153153    domain.flux_timestep = compute_fluxes_ext(timestep,domain,stage,xmom,bed)
     
    171171
    172172
    173     from flow_1d.sww_flow.sww_vel_comp_flux_ext import compute_fluxes_vel_ext
     173    from anuga_1d.sww.sww_vel_comp_flux_ext import compute_fluxes_vel_ext
    174174
    175175    domain.flux_timestep = compute_fluxes_vel_ext(timestep,domain,stage,xmom,bed,height,velocity)
     
    207207    import sys
    208208    from numpy import zeros
    209     from flow_1d.config import epsilon, h0
     209    from anuga_1d.config import epsilon, h0
    210210       
    211211    N = domain.number_of_elements
     
    302302    import sys
    303303    from numpy import zeros
    304     from flow_1d.config import epsilon, h0
     304    from anuga_1d.config import epsilon, h0
    305305       
    306306    N = domain.number_of_elements
  • anuga_work/development/2010-projects/anuga_1d/test_all.py

    r7839 r7840  
    2323
    2424# Directories that should not be searched for test files.
    25 exclude_dirs = ['channel_flow',    # Special requirements
    26                 '.svn',          # subversion
     25exclude_dirs = ['channel',    # Special requirements
     26                '.svn',       # subversion
    2727                'props', 'wcprops', 'prop-base', 'text-base', 'tmp']
    2828
Note: See TracChangeset for help on using the changeset viewer.