Changeset 6304 for branches/numpy/anuga/advection
- Timestamp:
- Feb 10, 2009, 11:11:04 AM (16 years ago)
- Location:
- branches/numpy
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/advection/advection.py
r6146 r6304 33 33 from anuga.abstract_2d_finite_volumes.domain import * 34 34 35 import Numericas num35 import numpy as num 36 36 37 37 … … 252 252 stage_bdry = Stage.boundary_values 253 253 254 flux = num.zeros(1, num. Float) #Work array for summing up fluxes254 flux = num.zeros(1, num.float) #Work array for summing up fluxes 255 255 256 256 #Loop -
branches/numpy/anuga/advection/advection_ext.c
r5162 r6304 10 10 11 11 #include "Python.h" 12 #include " Numeric/arrayobject.h"12 #include "numpy/arrayobject.h" 13 13 #include "math.h" 14 14 #include "stdio.h" -
branches/numpy/anuga/advection/test_advection.py
r6146 r6304 8 8 from anuga.advection.advection import Domain, Transmissive_boundary, Dirichlet_boundary 9 9 10 import Numericas num10 import numpy as num 11 11 12 12 … … 142 142 143 143 X = domain.quantities['stage'].explicit_update 144 # print 'X=%s' % str(X) 144 145 assert X[0] == -X[1] 145 146
Note: See TracChangeset
for help on using the changeset viewer.