Ignore:
Timestamp:
Mar 9, 2014, 9:11:36 PM (11 years ago)
Author:
steve
Message:

changed the order of calls in anuga.init.py to hopefully call the correct Boyd_box_operator in parallel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/geospatial_data/geospatial_data.py

    r8823 r9059  
    701701            self.verbose_block_size = (self.last_row + 10)/10
    702702            self.block_number = 0
    703             self.number_of_blocks = self.number_of_points/self.max_read_lines
     703            self.number_of_blocks = int(self.number_of_points/self.max_read_lines)
    704704            # This computes the number of full blocks. The last block may be
    705705            # smaller and won't be included in this estimate.
    706706
    707707            if self.verbose is True:
    708                 log.critical('Geospatial_data: Reading %d points (in ~%d blocks) from file %s. '
     708                log.critical('Geospatial_data: Reading %d points (in %d block(s)) from file %s. '
    709709                             % (self.number_of_points, self.number_of_blocks+1,
    710710                                self.file_name))
Note: See TracChangeset for help on using the changeset viewer.