/[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 2279 by gross, Tue Feb 17 10:51:12 2009 UTC revision 2288 by gross, Tue Feb 24 06:11:48 2009 UTC
# Line 55  class DarcyFlow(object): Line 55  class DarcyFlow(object):
55          @type domain: L{Domain}          @type domain: L{Domain}
56          """          """
57          self.domain=domain          self.domain=domain
58          self.__l=util.integrate(Scalar(1.,Function(self.domain)))**(2./self.domain.getDim())          self.__l=util.longestEdge(self.domain)**2
59          self.__pde_v=LinearPDESystem(domain)          self.__pde_v=LinearPDESystem(domain)
60          if useReduced: self.__pde_v.setReducedOrderOn()          if useReduced: self.__pde_v.setReducedOrderOn()
61          self.__pde_v.setSymmetryOn()          self.__pde_v.setSymmetryOn()

Legend:
Removed from v.2279  
changed lines
  Added in v.2288

  ViewVC Help
Powered by ViewVC 1.1.26