/[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 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC revision 2551 by gross, Thu Jul 23 09:19:15 2009 UTC
# Line 11  Line 11 
11  #  #
12  ########################################################  ########################################################
13    
14  __copyright__="""Copyright (c) 2003-2008 by University of Queensland  __copyright__="""Copyright (c) 2003-2009 by University of Queensland
15  Earth Systems Science Computational Center (ESSCC)  Earth Systems Science Computational Center (ESSCC)
16  http://www.uq.edu.au/esscc  http://www.uq.edu.au/esscc
17  Primary Business: Queensland, Australia"""  Primary Business: Queensland, Australia"""
# Line 2064  class LinearProblem(object): Line 2064  class LinearProblem(object):
2064             if self.isUsingLumping():             if self.isUsingLumping():
2065                 self.__operator.setToZero()                 self.__operator.setToZero()
2066             else:             else:
2067                 self.__operator.resetValues()                 if self.getOperatorType() == self.getRequiredOperatorType():
2068                       self.__operator.resetValues()
2069                   else:
2070                       self.__operator=self.createOperator()
2071                   self.__operator_type=self.getRequiredOperatorType()
2072             self.trace("Operator reset to zero")             self.trace("Operator reset to zero")
2073    
2074     def getCurrentOperator(self):     def getCurrentOperator(self):

Legend:
Removed from v.2548  
changed lines
  Added in v.2551

  ViewVC Help
Powered by ViewVC 1.1.26