Last change
on this file since 4727 was
4687,
checked in by ole, 18 years ago
|
Optimised gravity term making update_conserved_quantities faster.
Instead of computing the average depth from vertices we now use the centroid values directly.
On the Linux machine nautilus the okushiri profile increased the speed of update_conserved_quantities from 4.52s to 2.8s or a 38% increase. The total time was about 38s making this optimisation a 5% overall improvement.
An experimental optimisation for flat beds did not yield any measurable
improvements, so it was commented out.
|
File size:
102 bytes
|
Line | |
---|
1 | """Parameters knows across anuga model |
---|
2 | """ |
---|
3 | |
---|
4 | epsilon = 1.0e-12 |
---|
5 | default_boundary_tag = 'exterior' |
---|
Note: See
TracBrowser
for help on using the repository browser.