Ignore:
Timestamp:
Sep 17, 2010, 3:07:01 PM (13 years ago)
Author:
steve
Message:

Updating logging and printing stats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/structures/structure_operator.py

    r8020 r8021  
    255255           
    256256
    257     def structure_statistics(self):
     257    def statistics(self):
    258258
    259259
     
    289289
    290290
    291     def print_structure_statistics(self):
    292 
    293         print self.structure_statistics()
     291    def print_statistics(self):
     292
     293        print self.statistics()
    294294
    295295
     
    315315        if self.logging:
    316316            self.log_filename = self.label + '.log'
    317             log_to_file(self.log_filename, self.structure_statistics(), mode='w')
     317            log_to_file(self.log_filename, self.statistics(), mode='w')
    318318            log_to_file(self.log_filename, 'time,discharge,velocity,driving_energy,delta_total_energy')
    319319
Note: See TracChangeset for help on using the changeset viewer.