Changeset 1232


Ignore:
Timestamp:
Apr 18, 2005, 5:44:50 PM (20 years ago)
Author:
steve
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution-parallel/domain.py

    r1187 r1232  
    152152        internal ordering.
    153153
    154         #FIXME (Ole): I suggest the following interface
    155         set_quantity(name, X, location, region)
    156         where
     154        #FIXME (Ole): I suggest the following interface
     155        set_quantity(name, X, location, region)
     156        where
    157157            name: Name of quantity
    158158            X:
     
    322322        """Output statistics about boundary forcing
    323323
    324        
    325         """
    326        
     324
     325        """
     326
    327327        if quantities is None:
    328328            quantities = self.conserved_quantities
     
    344344                        v = q.boundary_values[i]
    345345                        if minval is None or v < minval: minval = v
    346                         if maxval is None or v > maxval: maxval = v                       
     346                        if maxval is None or v > maxval: maxval = v
    347347
    348348                if minval is None or maxval is None:
    349349                    print 'Sorry no information about tag %s' %tag
    350                 else:   
     350                else:
    351351                    print '    Quantity %s, tag %s: min = %12.8f, max = %12.8f'\
    352352                          %(name, tag, minval, maxval)
    353                        
    354 
    355 
    356                
    357 
    358        
    359        
    360            
    361        
     353
     354
     355
     356
     357
     358
     359
     360
     361
    362362
    363363    def get_name(self):
     
    412412        if yieldstep is None:
    413413            yieldstep = max_timestep
    414         else:
     414        else:
    415415            yieldstep = float(yieldstep)
    416416
     
    463463            #Yield results
    464464            if finaltime is not None and abs(self.time - finaltime) < epsilon:
    465            
    466                 #FIXME: There is a rare situation where the 
     465
     466                #FIXME: There is a rare situation where the
    467467                #final time step is stored twice. Can we make a test?
    468468
     
    637637    except:
    638638        import os
    639         if os.name == 'posix' and os.uname()[4] == 'x86_64':       
     639        if os.name == 'posix' and os.uname()[4] == 'x86_64':
    640640            pass
    641641            #Psyco isn't supported on 64 bit systems, but it doesn't matter
Note: See TracChangeset for help on using the changeset viewer.