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

Contents of /trunk/escript/py_src/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3344 - (show annotations)
Thu Nov 11 23:26:52 2010 UTC (8 years, 4 months ago) by caltinay
File MIME type: text/x-python
File size: 1224 byte(s)
Phew!
-escript, finley, and dudley now uses weipa's saveVTK implementation
-moved tests from finley to weipa accordingly; dudley still to do
-rebaselined all test files
-fixed a few issues in weipa.saveVTK, e.g. saving metadata without schema
-added a deprecation warning to esys.escript.util.saveVTK
-todo: change doco, tests and other places to use weipa.saveVTK


1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 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-2010 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 from escript import *
23 from util import *
24 from datamanager import DataManager
25
26 # To have this function called automatically
27 def escriptLogMemoryStatusNow(prefix='memescript'):
28 import os
29 if os.name=='posix':
30 pid=os.getpid()
31 os.system("cat /proc/%d/status > %s.%d"%(pid,prefix,pid))
32
33 try:
34 import os
35 if 'escriptExitProfiling' in os.environ:
36 import atexit
37 atexit.register(escriptLogMemoryStatusNow)
38 except:
39 pass
40

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26