/[escript]/trunk/downunder/py_src/forwardmodels.py
ViewVC logotype

Diff of /trunk/downunder/py_src/forwardmodels.py

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

revision 4113 by gross, Wed Dec 12 06:17:03 2012 UTC revision 4114 by caltinay, Fri Dec 14 04:24:46 2012 UTC
# Line 384  class MagneticModel(ForwardModelWithPote Line 384  class MagneticModel(ForwardModelWithPote
384          pde=self.getPDE()          pde=self.getPDE()
385          pde.resetRightHandSideCoefficients()          pde.resetRightHandSideCoefficients()
386          pde.setValue(X=Y)          pde.setValue(X=Y)
   
         #print "test VTK file generated"  
         #from esys.weipa import saveVTK  
         #saveVTK("Y.vtu",RHS=pde.getRightHandSide(), Y=Y)  
   
387          YT=pde.getSolution()          YT=pde.getSolution()
388          return inner(grad(YT)-Y,self.__background_field)          return inner(grad(YT)-Y,self.__background_field)
389    

Legend:
Removed from v.4113  
changed lines
  Added in v.4114

  ViewVC Help
Powered by ViewVC 1.1.26