Changeset 3295 for development
- Timestamp:
- Jul 10, 2006, 12:44:41 PM (19 years ago)
- Location:
- development/pyvolution-1d
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
development/pyvolution-1d/domain.py
r3293 r3295 559 559 560 560 561 print "self.vertices1" 562 print self.vertices 563 561 564 #Assign values 562 565 self.quantities[name].set_values(*args, **kwargs) 566 567 print "self.vertices2" 568 print self.vertices 563 569 564 570 def set_boundary(self, boundary_map): -
development/pyvolution-1d/quantity.py
r3293 r3295 135 135 """ 136 136 137 print "In set_function value" 138 print self.domain.vertices 139 137 140 if location == 'centroids': 141 142 print "In set at centroid" 138 143 P = self.domain.centroids 139 144 self.set_values(f(P), location) … … 141 146 #Vertices 142 147 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]) 143 156 for i in range(2): 144 157 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 145 167 146 168 -
development/pyvolution-1d/test_shallow_water_1d.py
r3293 r3295 1079 1079 assert allclose(L[1], [0.57777777, 2.37777778, 2.37777778]) 1080 1080 1081 """ 1081 1082 def test_1d_solution_I(self): 1082 1083 print "TEST 1D-SOLUTION I" … … 1128 1129 f.close 1129 1130 """ 1131 """ 1130 1132 def test_1d_solution_II(self): 1131 1133 print "TEST 1D-SOLUTION II"
Note: See TracChangeset
for help on using the changeset viewer.