/[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 2344 by jfenwick, Mon Mar 30 02:13:58 2009 UTC revision 2431 by jfenwick, Wed May 20 03:39:57 2009 UTC
# Line 2862  class TransportPDE(LinearProblem): Line 2862  class TransportPDE(LinearProblem):
2862            self.validRightHandSide()            self.validRightHandSide()
2863         return (self.getCurrentOperator(), self.getCurrentRightHandSide())         return (self.getCurrentOperator(), self.getCurrentRightHandSide())
2864    
2865       def setDebug(self, flag):
2866         """
2867         Switches debug output on if C{flag} is True,
2868         otherwise it is switched off.
2869    
2870         @param flag: desired debug status
2871         @type flag: C{bool}
2872         """
2873         if flag:
2874             self.setDebugOn()
2875         else:
2876             self.setDebugOff()
2877    
2878       def setDebugOn(self):
2879         """
2880         Switches debug output on.
2881         """
2882         super(TransportPDE,self).setDebugOn()
2883        
2884       def setDebugOff(self):
2885         """
2886         Switches debug output off.
2887         """
2888         super(TransportPDE,self).setDebugOff()
2889        

Legend:
Removed from v.2344  
changed lines
  Added in v.2431

  ViewVC Help
Powered by ViewVC 1.1.26