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

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

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

revision 727 by gross, Sat Apr 8 16:13:02 2006 UTC revision 728 by gross, Mon May 15 02:01:18 2006 UTC
# Line 44  boundaryvalue.t=Link(sqe) Line 44  boundaryvalue.t=Link(sqe)
44  tt=TemperatureAdvection()  tt=TemperatureAdvection()
45  tt.domain=Link(dom)  tt.domain=Link(dom)
46  tt.temperature=Link(boundaryvalue,"out")  tt.temperature=Link(boundaryvalue,"out")
47  tt.velocity=numarray.array([1,-1,0])  tt.velocity=numarray.array([1,-1])
48  tt.thermal_source=Link(source,"out")  tt.thermal_source=Link(source,"out")
49  tt.location_fixed_temperature=Link(constraints,"location_of_constraint")  tt.location_fixed_temperature=Link(constraints,"location_of_constraint")
50  tt.fixed_temperature=Link(boundaryvalue,"out")  tt.fixed_temperature=Link(boundaryvalue,"out")
# Line 56  probe.t=Link(sqe) Line 56  probe.t=Link(sqe)
56  probe.value=Link(tt,"temperature")  probe.value=Link(tt,"temperature")
57    
58    
59  s=Simulation([sqe,dom,tt,probe],debug=True)  s=Simulation([sqe,tt,probe],debug=True)
60  s.writeXML()  s.writeXML()
61  s.run()  s.run()

Legend:
Removed from v.727  
changed lines
  Added in v.728

  ViewVC Help
Powered by ViewVC 1.1.26