Changeset 11799
- Timestamp:
- 03/27/12 11:29:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/utils/Numerics/cfl_step.m
r9734 r11799 2 2 %CFL_STEP - return the maximum time step for the model in years 3 3 % 4 % Dt < c/ ( u/Dx +v/Dy )4 % Dt < 0.5 / ( u/Dx +v/Dy ) 5 5 % 6 6 % Usage: … … 8 8 % 9 9 % Example: 10 % dt=cfl_step(md,md .results.diagnostic.vx,md.results.diagnostic.vy);10 % dt=cfl_step(md,md,md.results.DiagnosticSolution.Vx,md.results.DiagnosticSolution.Vy) 11 11 12 12 %Check length of velocities
Note:
See TracChangeset
for help on using the changeset viewer.