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

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

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

revision 1639 by gross, Mon Jul 14 08:55:25 2008 UTC revision 1659 by gross, Fri Jul 18 02:28:13 2008 UTC
# Line 1748  class LinearPDE(object): Line 1748  class LinearPDE(object):
1748                      d_reduced_times_e=escript.Data()                      d_reduced_times_e=escript.Data()
1749    
1750                   self.__operator=self.__getNewRightHandSide()                   self.__operator=self.__getNewRightHandSide()
1751                   if hasattr(self.getDomain(), "addPDEToLumpedSystem") :                   if False and hasattr(self.getDomain(), "addPDEToLumpedSystem") :
1752                      self.getDomain().addPDEToLumpedSystem(self.__operator, D_times_e, d_times_e)                      self.getDomain().addPDEToLumpedSystem(self.__operator, D_times_e, d_times_e)
1753                      self.getDomain().addPDEToLumpedSystem(self.__operator, D_reduced_times_e, d_reduced_times_e)                      self.getDomain().addPDEToLumpedSystem(self.__operator, D_reduced_times_e, d_reduced_times_e)
1754                   else:                   else:
# Line 1762  class LinearPDE(object): Line 1762  class LinearPDE(object):
1762                                                   D_reduced_times_e, \                                                   D_reduced_times_e, \
1763                                                   d_reduced_times_e,\                                                   d_reduced_times_e,\
1764                                                   escript.Data())                                                   escript.Data())
1765                        print "RHS:",util.inf(self.__operator),util.sup(self.__operator)
1766                   self.__operator=1./self.__operator                   self.__operator=1./self.__operator
1767                   self.trace("New lumped operator has been built.")                   self.trace("New lumped operator has been built.")
1768                   self.__operator_is_Valid=True                   self.__operator_is_Valid=True

Legend:
Removed from v.1639  
changed lines
  Added in v.1659

  ViewVC Help
Powered by ViewVC 1.1.26