/[escript]/trunk/escript/py_src/flows.py
ViewVC logotype

Diff of /trunk/escript/py_src/flows.py

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

revision 3885 by gross, Wed Apr 4 22:12:26 2012 UTC revision 3905 by gross, Tue Jun 5 08:33:41 2012 UTC
# Line 96  class DarcyFlow(object): Line 96  class DarcyFlow(object):
96           self.__pde_v.setSymmetryOn()           self.__pde_v.setSymmetryOn()
97           if self.useReduced: self.__pde_v.setReducedOrderOn()           if self.useReduced: self.__pde_v.setReducedOrderOn()
98           self.w=w           self.w=w
99           self.l=util.vol(self.domain)**(1./self.domain.getDim()) # length scale           x=self.domain.getX()
100             self.l=min( [util.sup(x[i])-util.inf(x[i]) for i in xrange(self.domain.getDim()) ] )
101             #self.l=util.vol(self.domain)**(1./self.domain.getDim()) # length scale
102    
103        elif self.solver  == self.SMOOTH:        elif self.solver  == self.SMOOTH:
104           self.__pde_v=LinearPDESystem(domain)           self.__pde_v=LinearPDESystem(domain)

Legend:
Removed from v.3885  
changed lines
  Added in v.3905

  ViewVC Help
Powered by ViewVC 1.1.26