Ignore:
Timestamp:
Feb 8, 2005, 2:55:56 PM (20 years ago)
Author:
ole
Message:

Work towards spatio-temporal boundary
Also changed naming from 'z' to 'elevation' in data manager (kept 'z' for backwards compatibility, though)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/generic_boundary_conditions.py

    r844 r849  
    175175        from Numeric import array
    176176        from config import time_format
    177         from util import File_function
    178        
    179         Boundary.__init__(self)
    180 
    181         self.F = File_function(filename, domain)
     177        from util import file_function
     178       
     179        Boundary.__init__(self)
     180
     181        self.F = file_function(filename, domain)
    182182        self.domain = domain
    183183
     
    205205
    206206        d = len(domain.conserved_quantities)
    207         msg = 'Values specified in file must be a list or an array of length %d' %d
     207        msg = 'Values specified in file %s must be a list or an array of length %d' %(filename, d)
    208208        assert len(q) == d, msg
    209209
Note: See TracChangeset for help on using the changeset viewer.