/[escript]/trunk/escriptcore/py_src/flows.py
ViewVC logotype

Diff of /trunk/escriptcore/py_src/flows.py

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

revision 4325 by jfenwick, Tue Jan 22 09:30:23 2013 UTC revision 4326 by caltinay, Wed Mar 20 02:50:46 2013 UTC
# Line 308  class DarcyFlow(object): Line 308  class DarcyFlow(object):
308             u = self.__g - util.tensor_mult(self.__permeability, self.perm_scale * (util.grad(pp) + self.__permeability_invXg_ref))             u = self.__g - util.tensor_mult(self.__permeability, self.perm_scale * (util.grad(pp) + self.__permeability_invXg_ref))
309          elif self.solver  == self.POST or self.solver  == self.SMOOTH:          elif self.solver  == self.POST or self.solver  == self.SMOOTH:
310              self.__pde_v.setValue(Y= self.__permeability_invXg - (util.grad(pp) + self.__permeability_invXg_ref))              self.__pde_v.setValue(Y= self.__permeability_invXg - (util.grad(pp) + self.__permeability_invXg_ref))
311              print  
312              if u0 == None:              if u0 == None:
313                 self.__pde_v.setValue(r=escore.Data())                 self.__pde_v.setValue(r=escore.Data())
314              else:              else:

Legend:
Removed from v.4325  
changed lines
  Added in v.4326

  ViewVC Help
Powered by ViewVC 1.1.26