/[escript]/branches/symbolic_from_3470/doc/user/heatedblock.tex
ViewVC logotype

Diff of /branches/symbolic_from_3470/doc/user/heatedblock.tex

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

revision 3788 by caltinay, Tue Mar 15 04:23:54 2011 UTC revision 3789 by caltinay, Tue Jan 31 04:55:05 2012 UTC
# Line 144  the \VTK file format\index{scripts!\file Line 144  the \VTK file format\index{scripts!\file
144    for i in range(mydomain.getDim()):    for i in range(mydomain.getDim()):
145      for j in range(mydomain.getDim()):      for j in range(mydomain.getDim()):
146         C[i,i,j,j]+=lam         C[i,i,j,j]+=lam
147         C[j,i,j,i]+=mu         C[i,j,i,j]+=mu
148         C[j,i,i,j]+=mu         C[i,j,j,i]+=mu
149    msk=whereZero(x[0])*[1.,0.,0.] \    msk=whereZero(x[0])*[1.,0.,0.] \
150       +whereZero(x[1])*[0.,1.,0.] \       +whereZero(x[1])*[0.,1.,0.] \
151       +whereZero(x[2])*[0.,0.,1.]       +whereZero(x[2])*[0.,0.,1.]

Legend:
Removed from v.3788  
changed lines
  Added in v.3789

  ViewVC Help
Powered by ViewVC 1.1.26