- Timestamp:
- Aug 6, 2008, 2:41:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/shallow_water_ext.c
r5442 r5618 1759 1759 if (max_speed > epsilon) { 1760 1760 1761 // Original CFL calculation 1761 // Apply CFL condition for triangles joining this edge (triangle k and triangle n) 1762 1763 // CFL for triangle k 1762 1764 timestep = min(timestep, radii[k]/max_speed); 1765 1763 1766 if (n>=0) 1767 // Apply CFL condition for neigbour n (which is on the ith edge of triangle k) 1764 1768 timestep = min(timestep, radii[n]/max_speed); 1765 1769
Note: See TracChangeset
for help on using the changeset viewer.