/[escript]/trunk/dudley/py_src/readers.py
ViewVC logotype

Diff of /trunk/dudley/py_src/readers.py

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

revision 3891 by jfenwick, Fri Jan 7 01:32:07 2011 UTC revision 3892 by jfenwick, Tue Apr 10 08:57:23 2012 UTC
# Line 32  some mesh handling Line 32  some mesh handling
32  __author__="Lutz Gross, l.gross@uq.edu.au, Joel Fenwick"  __author__="Lutz Gross, l.gross@uq.edu.au, Joel Fenwick"
33    
34  from esys.pycad.gmsh import Design as GMSHDesign  from esys.pycad.gmsh import Design as GMSHDesign
35  from dudleycpp import ReadGmsh  from .dudleycpp import ReadGmsh
36    
37  def MakeDomain(design,integrationOrder=-1, reducedIntegrationOrder=-1, optimizeLabeling=True, useMacroElements=False):  def MakeDomain(design,integrationOrder=-1, reducedIntegrationOrder=-1, optimizeLabeling=True, useMacroElements=False):
38      """      """
# Line 54  def MakeDomain(design,integrationOrder=- Line 54  def MakeDomain(design,integrationOrder=-
54      :rtype: `Domain`      :rtype: `Domain`
55      """      """
56      if useMacroElements:      if useMacroElements:
57      raise TypeError("Dudley does not support macro elements")          raise TypeError("Dudley does not support macro elements")
58      if isinstance(design, GMSHDesign):      if isinstance(design, GMSHDesign):
59          design.setElementOrder(1)          design.setElementOrder(1)
60          ff=design.getFileFormat()          ff=design.getFileFormat()

Legend:
Removed from v.3891  
changed lines
  Added in v.3892

  ViewVC Help
Powered by ViewVC 1.1.26