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

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

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

revision 2716 by jfenwick, Fri Aug 21 06:30:25 2009 UTC revision 2717 by gross, Wed Oct 14 03:41:20 2009 UTC
# Line 53  def MakeDomain(design,integrationOrder=- Line 53  def MakeDomain(design,integrationOrder=-
53      :rtype: `Domain`      :rtype: `Domain`
54      """      """
55      if isinstance(design, GMSHDesign):      if isinstance(design, GMSHDesign):
56            ff=design.getFileFormat()
57            design.setFileFormat(design.GMSH)
58          mshname=design.getMeshHandler()          mshname=design.getMeshHandler()
59          dom = ReadGmsh(mshname,          dom = ReadGmsh(mshname,
60                         design.getDim(),                         design.getDim(),
61                         integrationOrder,                         integrationOrder,
62                         reducedIntegrationOrder,                         reducedIntegrationOrder,
63                         optimizeLabeling)                         optimizeLabeling)
64            design.setFileFormat(ff)
65      else:      else:
66          raise TypeError("Finley does not support %s designs."%design.__class__.__name__)          raise TypeError("Finley does not support %s designs."%design.__class__.__name__)
67      # fill in the tag map      # fill in the tag map

Legend:
Removed from v.2716  
changed lines
  Added in v.2717

  ViewVC Help
Powered by ViewVC 1.1.26