1 |
|
|
2 |
|
######################################################## |
3 |
# |
# |
4 |
# $Id$ |
# Copyright (c) 2003-2008 by University of Queensland |
5 |
# |
# Earth Systems Science Computational Center (ESSCC) |
6 |
####################################################### |
# http://www.uq.edu.au/esscc |
|
# |
|
|
# Copyright 2003-2007 by ACceSS MNRF |
|
|
# Copyright 2007 by University of Queensland |
|
|
# |
|
|
# http://esscc.uq.edu.au |
|
|
# Primary Business: Queensland, Australia |
|
|
# Licensed under the Open Software License version 3.0 |
|
|
# http://www.opensource.org/licenses/osl-3.0.php |
|
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__="http://www.uq.edu.au/esscc/escript-finley" |
21 |
|
|
22 |
""" |
""" |
23 |
Utility functions for escript |
Utility functions for escript |
30 |
@var __date__: date of the version |
@var __date__: date of the version |
31 |
@var EPSILON: smallest positive value with 1.<1.+EPSILON |
@var EPSILON: smallest positive value with 1.<1.+EPSILON |
32 |
""" |
""" |
33 |
|
|
34 |
__author__="Lutz Gross, l.gross@uq.edu.au" |
__author__="Lutz Gross, l.gross@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/escript" |
|
|
__version__="$Revision$" |
|
|
__date__="$Date$" |
|
35 |
|
|
36 |
|
|
37 |
import math |
import math |