Changeset 1017


Ignore:
Timestamp:
Mar 6, 2005, 4:24:15 PM (20 years ago)
Author:
ole
Message:
 
File:
1 edited

Legend:

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

    r1007 r1017  
    234234      //else
    235235      //  alpha = max( min( hc[k]/dz, 1.0), 0.0 );
    236         alpha = max( min( 2.0*hmin/dz, 1.0), 0.0 );
     236      alpha = max( min( 2.0*hmin/dz, 1.0), 0.0 );
    237237   
    238238    else
     
    744744  PyArrayObject
    745745    *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)
    747747    *neighbours;
    748748   
     
    787787      n = ((long*) neighbours -> data)[k3+i];
    788788     
    789       //Initialise hvbar with valus from hv
     789      //Initialise hvbar with values from hv
    790790      ((double*) hvbar -> data)[k3+i] = ((double*) hv -> data)[k3+i]; 
    791791     
     
    799799  }
    800800 
    801   // Call underlying routine
     801  // Call underlying standard routine
    802802  _limit(N, beta_h, (double*) hc -> data, (double*) hvbar -> data, hmin, hmax);
    803803         
Note: See TracChangeset for help on using the changeset viewer.