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

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

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

revision 127 by jgs, Fri Jul 22 05:11:29 2005 UTC revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC
# Line 2  Line 2 
2    
3    
4  from esys.escript import *  from esys.escript import *
5  from esys.modelframe import Model,IterationDivergenceError  from esys.escript.modelframe import Model,IterationDivergenceError
6  from esys.linearPDEs import AdvectivePDE,LinearPDE  from esys.escript.linearPDEs import AdvectivePDE,LinearPDE
7    
8  class DarcyFlow(Model):  class DarcyFlow(Model):
9         """ """         """ """
# Line 26  class DarcyFlow(Model): Line 26  class DarcyFlow(Model):
26                                   implicit=True)                                   implicit=True)
27             self.iter=0             self.iter=0
28    
29         def doInitialization(self,t):         def doInitialization(self):
30             self.tn=t             self.tn=0
31             self.pde=LinearPDE(self.domain)             self.pde=LinearPDE(self.domain)
32             self.pde.setSymmetryOn()             self.pde.setSymmetryOn()
33    

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

  ViewVC Help
Powered by ViewVC 1.1.26