Changeset 759


Ignore:
Timestamp:
Jan 20, 2005, 4:54:49 PM (20 years ago)
Author:
ole
Message:

Debugging

Location:
inundation/ga/storm_surge/pyvolution
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/shallow_water_ext.c

    r758 r759  
    583583      }
    584584
    585       printf("%d %d (%d, %d): %.2f %.2f %.2f\n", k, i, n, m,
     585      printf("%d %d [%d] (%d, %d): %.2f %.2f %.2f\n", k, i, ki, n, m,
    586586             ql[0], ql[1], ql[2]);       
    587587
  • inundation/ga/storm_surge/pyvolution/test_shallow_water.py

    r757 r759  
    328328                                      [2,2,2], [2,2,2]])
    329329        domain.check_integrity()
     330
     331        assert allclose(domain.neighbours, [[-1,1,-1], [2,3,0], [-1,-1,1],[1,-1,-1]])
     332        assert allclose(domain.neighbour_edges, [[-1,2,-1], [2,0,1], [-1,-1,0],[1,-1,-1]])       
    330333
    331334        zl=zr=0. #Assume flat bed
Note: See TracChangeset for help on using the changeset viewer.