/[escript]/trunk/modellib/test/python/run_convection.py
ViewVC logotype

Diff of /trunk/modellib/test/python/run_convection.py

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

revision 705 by gross, Thu Apr 6 00:13:40 2006 UTC revision 706 by gross, Sat Apr 8 16:13:02 2006 UTC
# Line 11  __copyright__="""  Copyright (c) 2006 by Line 11  __copyright__="""  Copyright (c) 2006 by
11  __license__="""Licensed under the Open Software License version 3.0  __license__="""Licensed under the Open Software License version 3.0
12               http://www.opensource.org/licenses/osl-3.0.php"""               http://www.opensource.org/licenses/osl-3.0.php"""
13    
14    import os
15  from esys.escript.modelframe import Link,Simulation  from esys.escript.modelframe import Link,Simulation
16  from esys.modellib.geometry import RectangularDomain,ScalarConstrainer,VectorConstrainer  from esys.modellib.geometry import RectangularDomain,ScalarConstrainer,VectorConstrainer
17  from esys.modellib.input import Sequencer,InterpolateOverBox,GaussianProfile,LinearCombination  from esys.modellib.input import Sequencer,InterpolateOverBox,GaussianProfile,LinearCombination
# Line 88  vis.t=Link(sq) Line 89  vis.t=Link(sq)
89  vis.scalar=Link(temp,"temperature")  vis.scalar=Link(temp,"temperature")
90  vis.vector=Link(vel,"velocity")  vis.vector=Link(vel,"velocity")
91  vis.stride=5  vis.stride=5
92    vis.filename=os.environ['MODELLIB_WORKING_DIR']+"/temp.xml"
93    
94  per=GaussianProfile()  per=GaussianProfile()
95  per.domain=Link(dom)  per.domain=Link(dom)

Legend:
Removed from v.705  
changed lines
  Added in v.706

  ViewVC Help
Powered by ViewVC 1.1.26