/[escript]/trunk/doc/examples/geotutorial/myfirstscript.py
ViewVC logotype

Diff of /trunk/doc/examples/geotutorial/myfirstscript.py

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

revision 2344 by jfenwick, Mon Mar 30 02:13:58 2009 UTC revision 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC
# Line 1  Line 1 
1  ########################################################  ########################################################
2  #  #
3  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2009 by University of Queensland
4  # Earth Systems Science Computational Center (ESSCC)  # Earth Systems Science Computational Center (ESSCC)
5  # http://www.uq.edu.au/esscc  # http://www.uq.edu.au/esscc
6  #  #
# Line 34  x=mydomain.getX() Line 34  x=mydomain.getX()
34  print x    print x  
35  # set a function  # set a function
36  T_D=T_bot/L1*(L1-x[1])  T_D=T_bot/L1*(L1-x[1])
37  # save T_D for visualization with mayavi  # save T_D for visualisation
38  saveVTK("u.xml",T=T_D)  saveVTK("u.vtu",T=T_D)
39    

Legend:
Removed from v.2344  
changed lines
  Added in v.2548

  ViewVC Help
Powered by ViewVC 1.1.26