1 |
# $Id$ |
|
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__="http://www.uq.edu.au/esscc/escript-finley" |
21 |
|
|
22 |
""" |
""" |
23 |
some mesh handling |
some mesh handling |
24 |
|
|
29 |
@var __date__: date of the version |
@var __date__: date of the version |
30 |
""" |
""" |
31 |
|
|
|
__copyright__=""" Copyright (c) 2006, 2007 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""" |
|
32 |
__author__="Lutz Gross, l.gross@uq.edu.au" |
__author__="Lutz Gross, l.gross@uq.edu.au" |
|
__url__="http://www.iservo.edu.au/esys/escript" |
|
|
__version__="$Revision$" |
|
|
__date__="$Date$" |
|
33 |
|
|
34 |
from esys.escript import * |
from esys.escript import * |
35 |
from esys.pycad.gmsh import Design as GMSHDesign |
from esys.pycad.gmsh import Design as GMSHDesign |
60 |
optimizeLabeling) |
optimizeLabeling) |
61 |
else: |
else: |
62 |
raise TypeError("Finley does not support %s designs."%design.__class__.__name__) |
raise TypeError("Finley does not support %s designs."%design.__class__.__name__) |
63 |
|
# fill in the tag map |
64 |
|
design.getTagMap().passToDomain(dom) |
65 |
return dom |
return dom |