- Timestamp:
- 07/14/2008 10:13:00 AM (6 months ago)
- Location:
- trunk/fipy
- Files:
-
- 2 modified
-
variables/faceVariable.py (modified) (1 diff)
-
viewers/matplotlibViewer/matplotlib2DViewer.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fipy/variables/faceVariable.py
r2274 r2670 60 60 return _MeshVariable._getArithmeticBaseClass(self, other) 61 61 62 def copy(self): 63 return self.__class__(mesh = self.mesh, 64 name = self.name + "_copy", 65 value = self.getValue()) 66 62 67 def getDivergence(self): 63 68 """ -
trunk/fipy/viewers/matplotlibViewer/matplotlib2DViewer.py
r2608 r2670 110 110 self.collection = PolyCollection(polys) 111 111 self.collection.set_linewidth(0) 112 ax.add_patch(self.collection) 112 try: 113 ax.add_patch(self.collection) 114 except: 115 # PolyCollection not child of PatchCollection in matplotlib 0.98 116 ax.add_collection(self.collection) 113 117 114 118 if self._getLimit('xmin') is None:
FiPy: A Finite Volume PDE Solver Using Python