/[escript]/trunk/dudley/benchmarks/dudleybench.py
ViewVC logotype

Diff of /trunk/dudley/benchmarks/dudleybench.py

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

revision 447 by gross, Mon Jan 23 00:36:07 2006 UTC revision 448 by gross, Mon Jan 23 03:04:06 2006 UTC
# Line 280  class AnisotropicProblem(RegularFinleyPr Line 280  class AnisotropicProblem(RegularFinleyPr
280              u*=(x[i]-i)              u*=(x[i]-i)
281    
282           gamma_rad=self.gamma/360.*8*math.atan(1.)           gamma_rad=self.gamma/360.*8*math.atan(1.)
283           cg=math.cos(self.gamma_rad)           cg=math.cos(gamma_rad)
284           sg=math.sin(self.gamma_rad)           sg=math.sin(gamma_rad)
285           C=kronecker(domain)           C=kronecker(domain)
286           C[0,0]=cg**2+self.c*sg**2           C[0,0]=cg**2+self.c*sg**2
287           C[1,0]=(self.c-1.)*cg*sg           C[1,0]=(self.c-1.)*cg*sg

Legend:
Removed from v.447  
changed lines
  Added in v.448

  ViewVC Help
Powered by ViewVC 1.1.26