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

Diff of /trunk/pyvisi/py_src/lookuptable.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 31  __url__="http://www.uq.edu.au/esscc/escr Line 31  __url__="http://www.uq.edu.au/esscc/escr
31  __author__="John Ngui, john.ngui@uq.edu.au"  __author__="John Ngui, john.ngui@uq.edu.au"
32    
33  import vtk  import vtk
34    from esys.escript import getMPISizeWorld
35    
36  class LookupTable:  class LookupTable:
37      """      """
# Line 41  class LookupTable: Line 42  class LookupTable:
42          """          """
43          Initialise the lookup table.          Initialise the lookup table.
44          """          """
45                    if getMPISizeWorld()>1:
46                         raise ValueError,"pyvisi.LookupTable is not running on more than one processor."
47    
48          self.__vtk_lookup_table = vtk.vtkLookupTable()          self.__vtk_lookup_table = vtk.vtkLookupTable()
49          self.__vtk_inverse_lookup_table = vtk.vtkLookupTable()          self.__vtk_inverse_lookup_table = vtk.vtkLookupTable()

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

  ViewVC Help
Powered by ViewVC 1.1.26