/[escript]/trunk/modellib/py_src/mechanics.py
ViewVC logotype

Diff of /trunk/modellib/py_src/mechanics.py

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

revision 816 by gross, Thu Aug 24 00:03:01 2006 UTC revision 819 by gross, Sun Aug 27 23:07:51 2006 UTC
# Line 91  class Mechanics(Model): Line 91  class Mechanics(Model):
91            self.__pde.setValue(X=self.stress_old-self.dthermal_stress*k3)            self.__pde.setValue(X=self.stress_old-self.dthermal_stress*k3)
92            if self.internal_force: self.__pde.setValue(Y=self.internal_force)            if self.internal_force: self.__pde.setValue(Y=self.internal_force)
93            if self.external_force: self.__pde.setValue(y=self.external_force)            if self.external_force: self.__pde.setValue(y=self.external_force)
94              print self.prescribed_velocity
95              print self.location_prescribed_velocity
96            self.__pde.setValue(r=self.prescribed_velocity, \            self.__pde.setValue(r=self.prescribed_velocity, \
97                                q=self.location_prescribed_velocity)                                q=self.location_prescribed_velocity)
98            # solve the PDE:            # solve the PDE:

Legend:
Removed from v.816  
changed lines
  Added in v.819

  ViewVC Help
Powered by ViewVC 1.1.26