/[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 1205 by jongui, Fri Jun 29 04:44:04 2007 UTC revision 2365 by gross, Mon Apr 6 01:25:25 2009 UTC
# Line 1  Line 1 
1    
2    ########################################################
3    #
4    # Copyright (c) 2003-2008 by University of Queensland
5    # Earth Systems Science Computational Center (ESSCC)
6    # http://www.uq.edu.au/esscc
7    #
8    # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11    #
12    ########################################################
13    
14    __copyright__="""Copyright (c) 2003-2008 by University of Queensland
15    Earth Systems Science Computational Center (ESSCC)
16    http://www.uq.edu.au/esscc
17    Primary Business: Queensland, Australia"""
18    __license__="""Licensed under the Open Software License version 3.0
19    http://www.opensource.org/licenses/osl-3.0.php"""
20    __url__="https://launchpad.net/escript-finley"
21    
22  """  """
23  @var __author__: name of author  @var __author__: name of author
24  @var __copyright__: copyrights  @var __copyright__: copyrights
# Line 8  Line 29 
29  """  """
30    
31  __author__="John Ngui, john.ngui@uq.edu.au"  __author__="John Ngui, john.ngui@uq.edu.au"
 __copyright__="""  Copyright (c) 2006 by ACcESS MNRF  
                     http://www.access.edu.au  
                 Primary Business: Queensland, Australia"""  
 __license__="""Licensed under the Open Software License version 3.0  
              http://www.opensource.org/licenses/osl-3.0.php"""  
 __url__="http://www.iservo.edu.au/esys"  
 __version__="$Revision$"  
 __date__="$Date$"  
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.1205  
changed lines
  Added in v.2365

  ViewVC Help
Powered by ViewVC 1.1.26