source: anuga_core/source/anuga/shallow_water/test_shallow_water_domain.py @ 7105

Last change on this file since 7105 was 7105, checked in by ole, 15 years ago

Optimised compute_fluxes by disabling limitation of momentum perpendicular to the x-axis. Speeds calculated from the x-momentum are still being limited according to the _compute_speeds. All tests pass and the overall improvement is as follows:
For the simple profile compute_fluxes improved from 4.284s to 3.372s and the overall runtime of evolve from 10.909s to 9.941s. This is an overall speedup of more than 8%.

For the okushiri profile example the improvement of compute_fluxes is from 129.432s to 111.703s and the overall runtime was reduced from 312.336s to 293.286s or about 6% improvement. This is probably the more realistic profile.

File size: 284.4 KB

HTML preview not available, since the file size exceeds 262144 bytes. Try downloading the file instead.

Note: See TracBrowser for help on using the repository browser.