Changeset 23924 for trunk/extsrc/gpcsw/gpcsrc/fits/burntool/trailfit.c
- Timestamp:
- Apr 18, 2009, 11:11:15 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/extsrc/gpcsw/gpcsrc/fits/burntool/trailfit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/extsrc/gpcsw/gpcsrc/fits/burntool/trailfit.c
r23490 r23924 148 148 } 149 149 150 /* Burn extends all the way to the top */ 150 151 if(up && y1 >= ny-1) { 151 152 box->slope = -1.0; 152 box->nfit = xe - xs + 1;153 153 box->fiterr = FIT_TOP_ERROR; 154 /* No fit here because the burn is to top, but the persist may be fitable */ 155 if(box->sy > FIT_EDGE) { 156 box->nfit = xe - xs + 1; 157 /* However, if burn extends to bottom, persist will not be able to fit */ 158 } else { 159 box->nfit = 1; /* Just enough to keep it alive */ 160 box->func = BURN_BLASTED; 161 } 154 162 return(0); 155 163 }
Note:
See TracChangeset
for help on using the changeset viewer.
