Ignore:
Timestamp:
Mar 21, 2006, 10:58:32 AM (18 years ago)
Author:
duncan
Message:

get interpolate tests running in test_all

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/fit_interpolate/test_interpolate.py

    r2394 r2563  
    2020from coordinate_transforms.geo_reference import Geo_reference
    2121from shallow_water import Domain, Transmissive_boundary #, mean
    22 from util import mean
     22from utilities.numerical_tools import mean
    2323from data_manager import get_dataobject
    2424
     
    623623        #Check basic interpolation of one quantity using averaging
    624624        #(no interpolation points or spatial info)
    625         from util import mean       
    626         I = Interpolation_interface(time, [mean(Q[0,:]),
     625        I = Interpolation_function(time, [mean(Q[0,:]),
    627626                                          mean(Q[1,:]),
    628627                                          mean(Q[2,:])])
     
    702701
    703702        #Check interpolation of one quantity using interpolaton points
    704         I = Interpolation_interface(time, Q,
     703        I = Interpolation_function(time, Q,
    705704                                   vertex_coordinates = points,
    706705                                   triangles = triangles,
     
    770769
    771770        #Check interpolation of one quantity using interpolaton points)
    772         I = Interpolation_interface(time, Q,
     771        I = Interpolation_function(time, Q,
    773772                                   vertex_coordinates = points,
    774773                                   triangles = triangles,
Note: See TracChangeset for help on using the changeset viewer.