/[escript]/trunk/escript/py_src/runmodel.py
ViewVC logotype

Diff of /trunk/escript/py_src/runmodel.py

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

revision 614 by elspeth, Wed Mar 22 01:37:07 2006 UTC revision 637 by gross, Thu Mar 23 10:55:31 2006 UTC
# Line 1  Line 1 
1  #!/usr/bin/python  #!/usr/bin/python
2  # $Id$  # $Id$
3    
4    """
5    commandline utility to take an xml file, parse it, and run a simulation.
6    invoke this by doing ./runmodel.py <filename.xml>
7    
8    @var __author__: name of author
9    @var __copyright__: copyrights
10    @var __license__: licence agreement
11    @var __url__: url entry point on documentation
12    @var __version__: version
13    @var __date__: date of the version
14    """
15    
16    __author__="Elspeth Thorne, e.thorne@uq.edu.au"
17  __copyright__="""  Copyright (c) 2006 by ACcESS MNRF  __copyright__="""  Copyright (c) 2006 by ACcESS MNRF
18                      http://www.access.edu.au                      http://www.access.edu.au
19                  Primary Business: Queensland, Australia"""                  Primary Business: Queensland, Australia"""
20  __license__="""Licensed under the Open Software License version 3.0  __license__="""Licensed under the Open Software License version 3.0
21               http://www.opensource.org/licenses/osl-3.0.php"""               http://www.opensource.org/licenses/osl-3.0.php"""
22    __url__="http://www.iservo.edu.au/esys"
23    __version__="$Revision$"
24    __date__="$Date$"
25    
 from esys.escript import modelframe  
   
 #commandline utility to take an xml file, parse it, and run a simulation.  
 # invoke this by doing ./runmodel.py <filename.xml>  
26    
27    from esys.escript import modelframe
28  import optparse  import optparse
29    
30  parser = optparse.OptionParser(usage="\n%prog [options]\n%prog files...")  parser = optparse.OptionParser(usage="\n%prog [options]\n%prog files...")

Legend:
Removed from v.614  
changed lines
  Added in v.637

  ViewVC Help
Powered by ViewVC 1.1.26