Changeset 3295 for development


Ignore:
Timestamp:
Jul 10, 2006, 12:44:41 PM (19 years ago)
Author:
steve
Message:
 
Location:
development/pyvolution-1d
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • development/pyvolution-1d/domain.py

    r3293 r3295  
    559559
    560560
     561        print "self.vertices1"
     562        print self.vertices
     563       
    561564        #Assign values
    562565        self.quantities[name].set_values(*args, **kwargs)
     566
     567        print "self.vertices2"
     568        print self.vertices
    563569
    564570    def set_boundary(self, boundary_map):
  • development/pyvolution-1d/quantity.py

    r3293 r3295  
    135135        """
    136136
     137        print "In set_function value"
     138        print self.domain.vertices
     139       
    137140        if location == 'centroids':
     141
     142            print "In set at centroid"           
    138143            P = self.domain.centroids
    139144            self.set_values(f(P), location)
     
    141146            #Vertices
    142147            P = self.domain.get_vertices()
     148
     149            print "P"
     150            print P
     151            print P[:,0]
     152            print f(P[:,0])
     153
     154            print P[:,1]
     155            print f(P[:,1])
    143156            for i in range(2):
    144157                self.vertex_values[:,i] = f(P[:,i])
     158
     159
     160           
     161
     162            print "In set at vertices"
     163            print self.vertex_values
     164
     165        print "Out set_function value"
     166        print self.domain.vertices       
    145167
    146168
  • development/pyvolution-1d/test_shallow_water_1d.py

    r3293 r3295  
    10791079        assert allclose(L[1], [0.57777777, 2.37777778, 2.37777778])
    10801080
     1081"""
    10811082    def test_1d_solution_I(self):
    10821083        print "TEST 1D-SOLUTION I"
     
    11281129        f.close
    11291130"""
     1131"""
    11301132    def test_1d_solution_II(self):
    11311133        print "TEST 1D-SOLUTION II"
Note: See TracChangeset for help on using the changeset viewer.