/[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 2267 by gross, Thu Feb 12 06:18:45 2009 UTC revision 2277 by gross, Tue Feb 17 07:38:07 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)))*(1./self.domain.getDim())          self.__l=util.integrate(Scalar(1.,Function(self.domain)))**(1./self.domain.getDim())
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()
# Line 230  class DarcyFlow(object): Line 230  class DarcyFlow(object):
230           which is solved using the PCG method (precondition is M{Q^*Q}). In each iteration step           which is solved using the PCG method (precondition is M{Q^*Q}). In each iteration step
231           PDEs with operator M{I+D^*D} and with M{Q^*Q} needs to be solved using a sub iteration scheme.           PDEs with operator M{I+D^*D} and with M{Q^*Q} needs to be solved using a sub iteration scheme.
232           """           """
233           self.verbose=verbose           self.verbose=verbose or True
234           self.show_details= show_details and self.verbose           self.show_details= show_details and self.verbose
235           rtol=self.getTolerance()           rtol=self.getTolerance()
236           atol=self.getAbsoluteTolerance()           atol=self.getAbsoluteTolerance()

Legend:
Removed from v.2267  
changed lines
  Added in v.2277

  ViewVC Help
Powered by ViewVC 1.1.26