Changeset 1017
- Timestamp:
- Mar 6, 2005, 4:24:15 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/shallow_water_ext.c
r1007 r1017 234 234 //else 235 235 // alpha = max( min( hc[k]/dz, 1.0), 0.0 ); 236 236 alpha = max( min( 2.0*hmin/dz, 1.0), 0.0 ); 237 237 238 238 else … … 744 744 PyArrayObject 745 745 *hv, *hc, //Depth at vertices and centroids 746 *hvbar, //Limited depth at vertices (return values) FIXME: Not used?746 *hvbar, //Limited depth at vertices (return values) 747 747 *neighbours; 748 748 … … 787 787 n = ((long*) neighbours -> data)[k3+i]; 788 788 789 //Initialise hvbar with valu s from hv789 //Initialise hvbar with values from hv 790 790 ((double*) hvbar -> data)[k3+i] = ((double*) hv -> data)[k3+i]; 791 791 … … 799 799 } 800 800 801 // Call underlying routine801 // Call underlying standard routine 802 802 _limit(N, beta_h, (double*) hc -> data, (double*) hvbar -> data, hmin, hmax); 803 803
Note: See TracChangeset
for help on using the changeset viewer.