Ignore:
Timestamp:
Sep 1, 2004, 5:26:59 AM (20 years ago)
Author:
ole
Message:

extrapolate 2 order - c implementation

File:
1 edited

Legend:

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

    r261 r262  
    194194        quantity.set_values([2.0, 4.0, 8.0, 2.0],
    195195                            location = 'centroids')
    196        
     196
     197
     198
    197199        #Gradients
    198200        a, b = quantity.compute_gradients()
    199 
    200201
    201202        #gradient bewteen t0 and t1 is undefined as det==0
     
    209210
    210211        quantity.extrapolate_second_order()
    211        
     212
     213        #print quantity.vertex_values
    212214        assert allclose(quantity.vertex_values, [[2., 2.,  2.],
    213215                                                 [0., 6.,  6.],
     
    215217                                                 [0., 0.,  6.]])
    216218
    217 
    218 
     219               
    219220    def test_second_order_extrapolation2(self):
    220221        quantity = Conserved_quantity(self.mesh4)       
Note: See TracChangeset for help on using the changeset viewer.