/[escript]/trunk-mpi-branch/escript/py_src/util.py
ViewVC logotype

Diff of /trunk-mpi-branch/escript/py_src/util.py

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

revision 1302 by ksteube, Mon Sep 10 06:07:09 2007 UTC revision 1303 by ksteube, Mon Sep 17 09:21:13 2007 UTC
# Line 79  def saveVTK(filename,domain=None,**data) Line 79  def saveVTK(filename,domain=None,**data)
79    
80         tmp=Scalar(..)         tmp=Scalar(..)
81         v=Vector(..)         v=Vector(..)
82         saveVTK("solution.xml",temperature=tmp,velovity=v)         saveVTK("solution.xml",temperature=tmp,velocity=v)
83    
84      tmp and v are written into "solution.xml" where tmp is named "temperature" and v is named "velovity"      tmp and v are written into "solution.xml" where tmp is named "temperature" and v is named "velocity"
85    
86      @param filename: file name of the output file      @param filename: file name of the output file
87      @type filename: C{str}      @type filename: C{str}
# Line 115  def saveDX(filename,domain=None,**data): Line 115  def saveDX(filename,domain=None,**data):
115    
116         tmp=Scalar(..)         tmp=Scalar(..)
117         v=Vector(..)         v=Vector(..)
118         saveDX("solution.dx",temperature=tmp,velovity=v)         saveDX("solution.dx",temperature=tmp,velocity=v)
119    
120      tmp and v are written into "solution.dx" where tmp is named "temperature" and v is named "velovity".      tmp and v are written into "solution.dx" where tmp is named "temperature" and v is named "velocity".
121    
122      @param filename: file name of the output file      @param filename: file name of the output file
123      @type filename: C{str}      @type filename: C{str}

Legend:
Removed from v.1302  
changed lines
  Added in v.1303

  ViewVC Help
Powered by ViewVC 1.1.26