/[escript]/trunk/modellib/py_src/flow.py
ViewVC logotype

Diff of /trunk/modellib/py_src/flow.py

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

revision 4820 by jfenwick, Thu Feb 6 06:12:20 2014 UTC revision 4821 by sshaw, Tue Apr 1 04:58:33 2014 UTC
# Line 23  __url__="https://launchpad.net/escript-f Line 23  __url__="https://launchpad.net/escript-f
23    
24  from esys.escript import Data, kronecker, Lsup, div, inf, sup  from esys.escript import Data, kronecker, Lsup, div, inf, sup
25  from esys.escript.modelframe import Model,IterationDivergenceError  from esys.escript.modelframe import Model,IterationDivergenceError
26  from esys.escript.linearPDEs import LameEquation  from esys.escript.linearPDEs import LameEquation, SolverOptions
27    
28  class SteadyIncompressibleFlow(Model):  class SteadyIncompressibleFlow(Model):
29         """         """
# Line 61  class SteadyIncompressibleFlow(Model): Line 61  class SteadyIncompressibleFlow(Model):
61             self.__p_very_old=None             self.__p_very_old=None
62             self.__dt_old=None             self.__dt_old=None
63             self.__pde=LameEquation(self.domain)             self.__pde=LameEquation(self.domain)
64             self.__pde.getSolverOptions().setSolverMethod(self.__pde.getSolverOptions().DIRECT)             self.__pde.getSolverOptions().setSolverMethod(SolverOptions.DIRECT)
65             if self.location_prescribed_velocity == None: self.location_prescribed_velocit=Data()             if self.location_prescribed_velocity == None: self.location_prescribed_velocit=Data()
66             if self.prescribed_velocity == None: self.prescribed_velocity=Data()             if self.prescribed_velocity == None: self.prescribed_velocity=Data()
67    

Legend:
Removed from v.4820  
changed lines
  Added in v.4821

  ViewVC Help
Powered by ViewVC 1.1.26