Changeset 4826
- Timestamp:
- Nov 17, 2007, 6:15:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/shallow_water_ext.c
r4825 r4826 716 716 vc = 0.0; 717 717 } 718 718 719 // Vertex momenta guaranteed to be consistent with depth guaranteeing 719 720 // controlled speed 721 hv[i] = wv[k3+i] - zv[k3+i]; // Recompute (balanced) vertex depth 720 722 xmomv[k3+i] = uc*hv[i]; 721 723 ymomv[k3+i] = vc*hv[i]; … … 724 726 // xmomc and ymomc (shallow) and momentum 725 727 // from extrapolator xmomv and ymomv (deep). 726 // FIXME (Ole): Is this really needed? 728 // FIXME (Ole): Is this really needed? Could we use the above 729 // instead? 727 730 728 731 xmomv[k3+i] = (1-alpha)*xmomc[k] + alpha*xmomv[k3+i]; … … 735 738 736 739 737 //if (0) { // FIXME(Ole): Disabled while testing balancing of velocities above738 if (tight_slope_limiters == 1) {740 if (0) { // FIXME(Ole): Disabled while testing balancing of velocities above 741 //if (tight_slope_limiters == 1) { 739 742 740 743 // Ensure that the Froude number is kept realistic at vertices
Note: See TracChangeset
for help on using the changeset viewer.