Changeset 7927
 Timestamp:
 Aug 6, 2010, 1:49:33 PM (9 years ago)
 Location:
 trunk/anuga_work/development/sudi/sw_1d/shock_detector
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

trunk/anuga_work/development/sudi/sw_1d/shock_detector/shm/sf_interactive_RUN.py
r7909 r7927 1 1 import os 2 2 from math import sqrt 3 from sww_domain_s implifiedimport *3 from sww_domain_shm import * 4 4 from Numeric import Float 5 5 from numpy import zeros … … 59 59 VelC = domain.quantities['velocity'].centroid_values 60 60 61 X = domain.vertices 61 X = domain.vertices.flat 62 62 StageQ = domain.quantities['stage'].vertex_values.flat 63 63 XmomQ = domain.quantities['xmomentum'].vertex_values.flat 
trunk/anuga_work/development/sudi/sw_1d/shock_detector/shv/sf_interactive_RUN.py
r7910 r7927 1 1 import os 2 2 from math import sqrt 3 from sww_domain_s implifiedimport *3 from sww_domain_shv import * 4 4 from Numeric import Float 5 5 from numpy import zeros … … 59 59 VelC = domain.quantities['velocity'].centroid_values 60 60 61 X = domain.vertices 61 X = domain.vertices.flat 62 62 StageQ = domain.quantities['stage'].vertex_values.flat 63 63 XmomQ = domain.quantities['xmomentum'].vertex_values.flat
Note: See TracChangeset
for help on using the changeset viewer.