/[escript]/trunk/esys2/modellib/py_src/temperature.py
ViewVC logotype

Diff of /trunk/esys2/modellib/py_src/temperature.py

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

revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC
# Line 1  Line 1 
1  # $Id$  # $Id$
2    
3  from esys.escript.escript import *  from esys.escript import *
4  from esys.escript.modelframe import Model,IterationDivergenceError  from esys.escript.modelframe import Model,IterationDivergenceError
5  from esys.escript.linearPDEs import AdvectivePDE,LinearPDE  from esys.escript.linearPDEs import AdvectivePDE,LinearPDE
6  import numarray  import numarray
# Line 39  class TemperatureAdvection(Model): Line 39  class TemperatureAdvection(Model):
39             self.__pde=LinearPDE(self.domain)             self.__pde=LinearPDE(self.domain)
40             self.__pde.setSymmetryOn()             self.__pde.setSymmetryOn()
41             # self.__pde.setReducedOrderOn()             # self.__pde.setReducedOrderOn()
42             # self.__pde.setLumpingOn()             self.__pde.setSolverMethod(self.__pde.LUMPING)
43             self.__pde.setValue(D=self.heat_capacity*self.density)             self.__pde.setValue(D=self.heat_capacity*self.density)
44    
45         def getSafeTimeStepSize(self,dt):         def getSafeTimeStepSize(self,dt):

Legend:
Removed from v.149  
changed lines
  Added in v.150

  ViewVC Help
Powered by ViewVC 1.1.26