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

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

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

revision 1658 by gross, Mon Jul 14 08:55:25 2008 UTC revision 1659 by gross, Fri Jul 18 02:28:13 2008 UTC
# Line 193  class PlateMantelModel(HomogeneousSaddle Line 193  class PlateMantelModel(HomogeneousSaddle
193            returns effective h            returns effective h
194            """            """
195            return self.__h_eff            return self.__h_eff
196        def getStrainEnergy(self):        def getMechanicalPower(self):
197            """            """
198            returns strain energy density            returns the locl mechanical power M{D_ij Stress_ij}
199            """            """
200            return util.inner(self.getStress(),self.getStretching())            return util.inner(self.getStress(),self.getStretching())
201                        
# Line 328  class PlateMantelModel(HomogeneousSaddle Line 328  class PlateMantelModel(HomogeneousSaddle
328                self.__pde_u.setValue(A=A)                self.__pde_u.setValue(A=A)
329            self.__pde_prec.setValue(D=1/mu_eff)            self.__pde_prec.setValue(D=1/mu_eff)
330    
331                  print "X f0:",util.inf(self.__f0), util.sup(self.__f0)
332                  print "X f1:",util.inf(self.__f1), util.sup(self.__f1)
333                  print "X f2:",util.inf(self.__f2), util.sup(self.__f2)
334                  print "X f3:",util.inf(self.__f3), util.sup(self.__f3)
335    
336                v_old=v                v_old=v
337                v,p=self.solve(v,p,max_iter=max_inner_iter, verbose=verbose, show_details=show_details, solver=solver)                v,p=self.solve(v,p,max_iter=max_inner_iter, verbose=verbose, show_details=show_details, solver=solver)
338                # update stress                # update stress

Legend:
Removed from v.1658  
changed lines
  Added in v.1659

  ViewVC Help
Powered by ViewVC 1.1.26