Changeset 4973
- Timestamp:
- Jan 25, 2008, 2:33:13 PM (17 years ago)
- Location:
- anuga_core/source/anuga/advection
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/advection/advection.py
r4969 r4973 263 263 #print 'huge_timestep = ',huge_timestep 264 264 265 timestep = compute_fluxes(stage_ edge,stage_bdry,stage_update,265 timestep = compute_fluxes(stage_update,stage_edge,stage_bdry, 266 266 neighbours,neighbour_edges,normals, 267 267 areas,radii,edgelengths, -
anuga_core/source/anuga/advection/advection_ext.c
r4969 r4973 2 2 #include "stdio.h" 3 3 4 double compute_fluxes(double* stage_edge, 4 double compute_fluxes( 5 double* stage_update, 6 double* stage_edge, 5 7 double* stage_bdry, 6 double* stage_update,7 8 int* neighbours, 8 9 int* neighbour_edges, … … 36 37 for (k=0; k<N; k++){ 37 38 optimal_timestep = huge_timestep; 38 flux = 0.0; //Reset work array39 flux = 0.0; 39 40 for (i=0; i<3; i++){ 40 41 k_i = 3*k+i; -
anuga_core/source/anuga/advection/advection_ext.pyf
r4972 r4973 9 9 intent(c) compute_fluxes 10 10 intent(c) 11 11 12 double precision dimension(n) :: stage_update, 12 13 double precision dimension(3,n) :: stage_edge 13 14 double precision dimension(3,n) :: stage_bdry, 14 double precision dimension(n) :: stage_update,15 15 integer dimension(3,n) :: neighbours, 16 16 integer dimension(3,n) :: neighbour_edges, -
anuga_core/source/anuga/advection/compile_all.py
r4967 r4973 8 8 print separation_line 9 9 10 command = 'python setup.py build_src build_ext --inplace '10 command = 'python setup.py build_src build_ext --inplace --compiler=mingw32' 11 11 print 'Trying to run %s in directory %s' % (command, os.getcwd()) 12 12 os.system(command)
Note: See TracChangeset
for help on using the changeset viewer.