/[escript]/trunk/pyvisi/py_src/outline.py
ViewVC logotype

Diff of /trunk/pyvisi/py_src/outline.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1809 by ksteube, Thu Sep 25 06:43:44 2008 UTC revision 2313 by gross, Tue Mar 17 03:41:17 2009 UTC
# Line 32  __author__="John Ngui, john.ngui@uq.edu. Line 32  __author__="John Ngui, john.ngui@uq.edu.
32    
33    
34  import vtk  import vtk
35    from esys.escript import getMPISizeWorld
36    
37  class Outline:  class Outline:
38      """      """
# Line 45  class Outline: Line 46  class Outline:
46          @type object: vtkUnstructuredGrid, etc          @type object: vtkUnstructuredGrid, etc
47          @param object: Data source to the outline          @param object: Data source to the outline
48          """          """
49                            if getMPISizeWorld()>1:
50                         raise ValueError,"pyvisi.Outline is not running on more than one processor."
51          self.__object = object          self.__object = object
52          self.__vtk_outline = vtk.vtkOutlineFilter()          self.__vtk_outline = vtk.vtkOutlineFilter()
53          self.__setInput()          self.__setInput()

Legend:
Removed from v.1809  
changed lines
  Added in v.2313

  ViewVC Help
Powered by ViewVC 1.1.26