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

Diff of /trunk/escript/py_src/util.py

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

revision 153 by jgs, Tue Oct 25 01:51:20 2005 UTC revision 154 by jgs, Mon Nov 7 05:51:17 2005 UTC
# Line 68  def saveVTK(filename,domain=None,**data) Line 68  def saveVTK(filename,domain=None,**data)
68          raise ValueError,"no domain detected."          raise ValueError,"no domain detected."
69      else:      else:
70          domain.saveVTK(filename,data)          domain.saveVTK(filename,data)
71    
72  #=========================================================  #=========================================================
73  def saveDX(filename,domain=None,**data):  def saveDX(filename,domain=None,**data):
74      """      """
# Line 96  def saveDX(filename,domain=None,**data): Line 97  def saveDX(filename,domain=None,**data):
97          raise ValueError,"no domain detected."          raise ValueError,"no domain detected."
98      else:      else:
99          domain.saveDX(filename,data)          domain.saveDX(filename,data)
100    
101  #=========================================================  #=========================================================
102    
103  def exp(arg):  def exp(arg):
# Line 565  def trace(arg,axis0=0,axis1=1): Line 567  def trace(arg,axis0=0,axis1=1):
567    
568  def length(arg):  def length(arg):
569      """      """
   
570      @param arg:      @param arg:
571      """      """
572      if isinstance(arg,escript.Data):      if isinstance(arg,escript.Data):

Legend:
Removed from v.153  
changed lines
  Added in v.154

  ViewVC Help
Powered by ViewVC 1.1.26