Ignore:
Timestamp:
Nov 20, 2007, 5:38:57 PM (16 years ago)
Author:
ole
Message:

Arranged for timestepping statistic for chosen triangle, e.g. one of the
gauges in the Okushiri example.
The underlying function is currently brute force, but OK for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/shallow_water_domain.py

    r4827 r4836  
    462462
    463463       
    464     def timestepping_statistics(self, track_speeds=False):
     464    def timestepping_statistics(self,
     465                                track_speeds=False,
     466                                triangle_id=None):       
    465467        """Return string with time stepping statistics for printing or logging
    466468
     
    475477
    476478        # Call basic machinery from parent class
    477         msg = Generic_Domain.timestepping_statistics(self, track_speeds)
     479        msg = Generic_Domain.timestepping_statistics(self,
     480                                                     track_speeds,
     481                                                     triangle_id)
    478482
    479483        if track_speeds is True:
     
    482486            qwidth = self.qwidth
    483487       
    484             # Triangle with maximum speed
     488            # Selected triangle
    485489            k = self.k
    486490
Note: See TracChangeset for help on using the changeset viewer.