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

Diff of /trunk/pyvisi/py_src/rectangle.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 2365 by gross, Mon Apr 6 01:25:25 2009 UTC
# Line 17  http://www.uq.edu.au/esscc Line 17  http://www.uq.edu.au/esscc
17  Primary Business: Queensland, Australia"""  Primary Business: Queensland, Australia"""
18  __license__="""Licensed under the Open Software License version 3.0  __license__="""Licensed under the Open Software License version 3.0
19  http://www.opensource.org/licenses/osl-3.0.php"""  http://www.opensource.org/licenses/osl-3.0.php"""
20  __url__="http://www.uq.edu.au/esscc/escript-finley"  __url__="https://launchpad.net/escript-finley"
21    
22  """  """
23  @var __author__: name of author  @var __author__: name of author
# 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  
34  from mapper import DataSetMapper  from mapper import DataSetMapper
35  from actor import Actor3D  from actor import Actor3D
36  from constant import Viewport  from constant import Viewport
37  from cube import CubeSource  from cube import CubeSource
38    from esys.escript import getMPISizeWorld
39    if getMPISizeWorld()==1: import vtk
40    
41  # NOTE: CubeSource, DataSetMapper and Actor3D were inherited to allow  # NOTE: CubeSource, DataSetMapper and Actor3D were inherited to allow
42  # access to their public methods from the driver.  # access to their public methods from the driver.

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

  ViewVC Help
Powered by ViewVC 1.1.26