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

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

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

revision 3974 by jfenwick, Mon Jul 9 23:23:43 2012 UTC revision 3975 by caltinay, Thu Sep 20 01:54:06 2012 UTC
# Line 306  class NoPDE: Line 306  class NoPDE:
306              if self.__Y==None:              if self.__Y==None:
307                 self.__u=escript.Data(0.,D.getShape(),self.__function_space)                 self.__u=escript.Data(0.,D.getShape(),self.__function_space)
308              else:              else:
309                 self.__u=util.quotient(self.__Y,D)                 self.__u=1./D*self.__Y
310              if not self.__q==None:              if not self.__q==None:
311                  q=util.wherePositive(escript.Data(self.__q,self.__function_space))                  q=util.wherePositive(escript.Data(self.__q,self.__function_space))
312                  self.__u*=(1.-q)                  self.__u*=(1.-q)

Legend:
Removed from v.3974  
changed lines
  Added in v.3975

  ViewVC Help
Powered by ViewVC 1.1.26