/[escript]/trunk/finley/py_src/finleybench.py
ViewVC logotype

Diff of /trunk/finley/py_src/finleybench.py

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

revision 463 by gross, Wed Jan 25 00:01:12 2006 UTC revision 464 by gross, Wed Jan 25 00:42:41 2006 UTC
# Line 286  class AnisotropicProblem(RegularFinleyPr Line 286  class AnisotropicProblem(RegularFinleyPr
286           C=kronecker(domain)           C=kronecker(domain)
287           C[0,0]=cg**2+self.c*sg**2           C[0,0]=cg**2+self.c*sg**2
288           C[1,0]=(self.c-1.)*cg*sg           C[1,0]=(self.c-1.)*cg*sg
289           C[0,1]=C[0,1]           C[0,1]=C[1,0]
290           C[1,1]=sg**2+self.c*cg**2           C[1,1]=sg**2+self.c*cg**2
291           F=2*(1.-self.c)*cg*sg           F=2*(1.-self.c)*cg*sg
292           if domain.getDim()==3: F*=x[2]-2.           if domain.getDim()==3: F*=x[2]-2.

Legend:
Removed from v.463  
changed lines
  Added in v.464

  ViewVC Help
Powered by ViewVC 1.1.26