Ignore:
Timestamp:
Jul 18, 2008, 2:49:09 PM (15 years ago)
Author:
ole
Message:

Verified that urs_ext.c runs on 32 bit system and added comments towards
add permutation array to the c-code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r5529 r5531  
    7676
    7777
    78         domain.distribute_to_vertices_and_edges()               
     78        domain.distribute_to_vertices_and_edges()               
    7979        self.initial_stage = copy.copy(domain.quantities['stage'].vertex_values)
    8080
     
    580580        for t in self.domain.evolve(yieldstep = 1.0, finaltime = 4.0):
    581581           
    582             #########self.domain.write_time(track_speeds=True)
     582            #########self.domain.write_time(track_speeds=True)
    583583            stage = self.domain.quantities['stage'].vertex_values
    584584
     
    69026902
    69036903    def test_file_boundary_stsIII(self):
    6904         """Read correct points from order file
     6904        """Read correct points from ordering file
    69056905        """
    69066906        from anuga.shallow_water import Domain
     
    84908490    def test_get_mesh_and_quantities_from_sww_file(self):
    84918491        """test_get_mesh_and_quantities_from_sww_file(self):
    8492         """     
    8493        
    8494         # Generate a test sww file with non trivial georeference
    8495        
    8496         import time, os
     8492        """     
     8493       
     8494        # Generate a test sww file with non trivial georeference
     8495       
     8496        import time, os
    84978497        from Numeric import array, zeros, allclose, Float, concatenate
    84988498        from Scientific.IO.NetCDF import NetCDFFile
     
    85248524
    85258525       
    8526         # Read it
     8526        # Read it
    85278527
    85288528        # Get mesh and quantities from sww file
     
    85418541
    85428542        # Check that time has been recovered
    8543         assert allclose(time, range(t_end+1))
     8543        assert allclose(time, range(t_end+1))
    85448544
    85458545        # Check that quantities have been recovered
    85468546        # (sww files use single precision)
    85478547        z=domain.get_quantity('elevation').get_values(location='unique vertices')
    8548         assert allclose(quantities['elevation'], z)
     8548        assert allclose(quantities['elevation'], z)
    85498549
    85508550        for q in ['stage', 'xmomentum', 'ymomentum']:
Note: See TracChangeset for help on using the changeset viewer.