/[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 389 by gross, Tue Dec 20 03:17:28 2005 UTC revision 435 by gross, Thu Jan 19 03:57:30 2006 UTC
# Line 18  some benchmarks for tetsing the finley s Line 18  some benchmarks for tetsing the finley s
18    * Laplace3Dorder1_?k    * Laplace3Dorder1_?k
19    * Laplace3Dorder2_?k    * Laplace3Dorder2_?k
20    
21    
22    
23  where ? is approximatively the number of unknowns in 1000.  where ? is approximatively the number of unknowns in 1000.
24    
25  @var __author__: name of author  @var __author__: name of author
# Line 110  class FinleyOptions(Options): Line 112  class FinleyOptions(Options):
112                        LinearPDE.SCSL:  "SCSL",                        LinearPDE.SCSL:  "SCSL",
113                        LinearPDE.MKL:  "MKL",                        LinearPDE.MKL:  "MKL",
114                        LinearPDE.UMFPACK: "UMFPACK",                        LinearPDE.UMFPACK: "UMFPACK",
115                        LinearPDE.PASO:  "PASO"                        LinearPDE.PASO:  "PASO",
116                          LinearPDE.RILU: "RILU",
117                          LinearPDE.AMG:  "AMG"
118                    }                    }
119         name=""         name=""
120         if solver_method==None:         if solver_method==None:
# Line 248  class LaplaceProblem(RegularFinleyProble Line 252  class LaplaceProblem(RegularFinleyProble
252           pde.setValue(A=kronecker(domain),q=msk,r=u)           pde.setValue(A=kronecker(domain),q=msk,r=u)
253           return pde,u           return pde,u
254    
255    class AnisotropicProblem(RegularFinleyProblem):
256        """
257        base class for the Anisotropic scalar problem on a rectangular mesh
258        """
259        def __init__(self,n,order,dim,gamma,c):
260            self.c=c
261            self.gamma=gamma
262            super(AnisotropicProblem,self).__init__(n,order,dim)
263    
264    
265        def getTestProblem(self,domain):
266             """
267             returns a PDE and a test solution on the given domain
268        
269             @param doamin: a domain
270             @type domain: L{escript.Domain}
271             @return: the Laplace equation and a test solution
272             @rtype: C{tuple} of C{LinearPDE} and C{escript.Data}
273             """
274             x=domain.getX()
275             msk=whereZero(x[0])+whereZero(x[0]-1.)
276             u=x[0]
277             for i in range(1,domain.getDim()):
278                msk+=whereZero(x[i])+whereZero(x[i]-1.)
279                u*=(x[i]-i)
280    
281             gamma_rad=self.gamma/360.*8*math.atan(1.)
282             cg=maths.cos(self.gamma_rad)
283             sg=maths.sin(self.gamma_rad)
284             C=kronecker(domain)
285             C[0,0]=cg**2+self.c*sg**2
286             C[1,0]=(self.c-1.)*cg*sg
287             C[0,1]=C[0,1]
288             C[1,1]=sg**2+self.c*cg**2
289             F=2*(1.-self.c)*cg*sg
290             if domain.getDim()==3: F*=x[2]-2.
291             pde=LinearPDE(domain)
292             pde.setSymmetryOn()
293             pde.setValue(A=C,Y=F,q=msk,r=u)
294             return pde,u
295    
296  class Laplace2DOrder1_30k(LaplaceProblem):  class Laplace2DOrder1_30k(LaplaceProblem):
297     def __init__(self):     def __init__(self):
298        super(Laplace2DOrder1_30k,self).__init__(n=172,order=1,dim=2)        super(Laplace2DOrder1_30k,self).__init__(n=172,order=1,dim=2)
# Line 369  class Laplace3DOrder2_15360k(LaplaceProb Line 414  class Laplace3DOrder2_15360k(LaplaceProb
414     def __init__(self):     def __init__(self):
415        super(Laplace3DOrder2_15360k,self).__init__(n=124,order=2,dim=3)        super(Laplace3DOrder2_15360k,self).__init__(n=124,order=2,dim=3)
416    
417    class Anisotropic2DOrder1Gamma30_30k(AnisotropicProblem):
418       def __init__(self):
419          super(Anisotropic2DOrder1Gamma30_30k,self).__init__(n=172,order=1,dim=2,gamma=30,c=0.001)
420    class Anisotropic2DOrder1Gamma30_60k(AnisotropicProblem):
421       def __init__(self):
422          super(Anisotropic2DOrder1Gamma30_60k,self).__init__(n=244,order=1,dim=2,gamma=30,c=0.001)
423    class Anisotropic2DOrder1Gamma30_120k(AnisotropicProblem):
424       def __init__(self):
425          super(Anisotropic2DOrder1Gamma30_120k,self).__init__(n=345,order=1,dim=2,gamma=30,c=0.001)
426    class Anisotropic2DOrder1Gamma30_240k(AnisotropicProblem):
427       def __init__(self):
428          super(Anisotropic2DOrder1Gamma30_240k,self).__init__(n=489,order=1,dim=2,gamma=30,c=0.001)
429    class Anisotropic2DOrder1Gamma30_480k(AnisotropicProblem):
430       def __init__(self):
431          super(Anisotropic2DOrder1Gamma30_480k,self).__init__(n=692,order=1,dim=2,gamma=30,c=0.001)
432    class Anisotropic2DOrder1Gamma30_960k(AnisotropicProblem):
433       def __init__(self):
434          super(Anisotropic2DOrder1Gamma30_960k,self).__init__(n=979,order=1,dim=2,gamma=30,c=0.001)
435    class Anisotropic2DOrder1Gamma30_1920k(AnisotropicProblem):
436       def __init__(self):
437          super(Anisotropic2DOrder1Gamma30_1920k,self).__init__(n=1385,order=1,dim=2,gamma=30,c=0.001)
438    class Anisotropic2DOrder1Gamma30_3840k(AnisotropicProblem):
439       def __init__(self):
440          super(Anisotropic2DOrder1Gamma30_3840k,self).__init__(n=1959,order=1,dim=2,gamma=30,c=0.001)
441    class Anisotropic2DOrder1Gamma30_7680k(AnisotropicProblem):
442       def __init__(self):
443          super(Anisotropic2DOrder1Gamma30_7680k,self).__init__(n=2770,order=1,dim=2,gamma=30,c=0.001)
444    class Anisotropic2DOrder1Gamma30_15360k(AnisotropicProblem):
445       def __init__(self):
446          super(Anisotropic2DOrder1Gamma30_15360k,self).__init__(n=3918,order=1,dim=2,gamma=30,c=0.001)
447    class Anisotropic2DOrder1Gamma45_30k(AnisotropicProblem):
448       def __init__(self):
449          super(Anisotropic2DOrder1Gamma45_30k,self).__init__(n=172,order=1,dim=2,gamma=45,c=0.001)
450    class Anisotropic2DOrder1Gamma45_60k(AnisotropicProblem):
451       def __init__(self):
452          super(Anisotropic2DOrder1Gamma45_60k,self).__init__(n=244,order=1,dim=2,gamma=45,c=0.001)
453    class Anisotropic2DOrder1Gamma45_120k(AnisotropicProblem):
454       def __init__(self):
455          super(Anisotropic2DOrder1Gamma45_120k,self).__init__(n=345,order=1,dim=2,gamma=45,c=0.001)
456    class Anisotropic2DOrder1Gamma45_240k(AnisotropicProblem):
457       def __init__(self):
458          super(Anisotropic2DOrder1Gamma45_240k,self).__init__(n=489,order=1,dim=2,gamma=45,c=0.001)
459    class Anisotropic2DOrder1Gamma45_480k(AnisotropicProblem):
460       def __init__(self):
461          super(Anisotropic2DOrder1Gamma45_480k,self).__init__(n=692,order=1,dim=2,gamma=45,c=0.001)
462    class Anisotropic2DOrder1Gamma45_960k(AnisotropicProblem):
463       def __init__(self):
464          super(Anisotropic2DOrder1Gamma45_960k,self).__init__(n=979,order=1,dim=2,gamma=45,c=0.001)
465    class Anisotropic2DOrder1Gamma45_1920k(AnisotropicProblem):
466       def __init__(self):
467          super(Anisotropic2DOrder1Gamma45_1920k,self).__init__(n=1385,order=1,dim=2,gamma=45,c=0.001)
468    class Anisotropic2DOrder1Gamma45_3840k(AnisotropicProblem):
469       def __init__(self):
470          super(Anisotropic2DOrder1Gamma45_3840k,self).__init__(n=1959,order=1,dim=2,gamma=45,c=0.001)
471    class Anisotropic2DOrder1Gamma45_7680k(AnisotropicProblem):
472       def __init__(self):
473          super(Anisotropic2DOrder1Gamma45_7680k,self).__init__(n=2770,order=1,dim=2,gamma=45,c=0.001)
474    class Anisotropic2DOrder1Gamma45_15360k(AnisotropicProblem):
475       def __init__(self):
476          super(Anisotropic2DOrder1Gamma45_15360k,self).__init__(n=3918,order=1,dim=2,gamma=45,c=0.001)
477    class Anisotropic2DOrder2Gamma30_30k(AnisotropicProblem):
478       def __init__(self):
479          super(Anisotropic2DOrder2Gamma30_30k,self).__init__(n=86,order=2,dim=2,gamma=30,c=0.001)
480    class Anisotropic2DOrder2Gamma30_60k(AnisotropicProblem):
481       def __init__(self):
482          super(Anisotropic2DOrder2Gamma30_60k,self).__init__(n=122,order=2,dim=2,gamma=30,c=0.001)
483    class Anisotropic2DOrder2Gamma30_120k(AnisotropicProblem):
484       def __init__(self):
485          super(Anisotropic2DOrder2Gamma30_120k,self).__init__(n=173,order=2,dim=2,gamma=30,c=0.001)
486    class Anisotropic2DOrder2Gamma30_240k(AnisotropicProblem):
487       def __init__(self):
488          super(Anisotropic2DOrder2Gamma30_240k,self).__init__(n=244,order=2,dim=2,gamma=30,c=0.001)
489    class Anisotropic2DOrder2Gamma30_480k(AnisotropicProblem):
490       def __init__(self):
491          super(Anisotropic2DOrder2Gamma30_480k,self).__init__(n=346,order=2,dim=2,gamma=30,c=0.001)
492    class Anisotropic2DOrder2Gamma30_960k(AnisotropicProblem):
493       def __init__(self):
494          super(Anisotropic2DOrder2Gamma30_960k,self).__init__(n=489,order=2,dim=2,gamma=30,c=0.001)
495    class Anisotropic2DOrder2Gamma30_1920k(AnisotropicProblem):
496       def __init__(self):
497          super(Anisotropic2DOrder2Gamma30_1920k,self).__init__(n=692,order=2,dim=2,gamma=30,c=0.001)
498    class Anisotropic2DOrder2Gamma30_3840k(AnisotropicProblem):
499       def __init__(self):
500          super(Anisotropic2DOrder2Gamma30_3840k,self).__init__(n=979,order=2,dim=2,gamma=30,c=0.001)
501    class Anisotropic2DOrder2Gamma30_7680k(AnisotropicProblem):
502       def __init__(self):
503          super(Anisotropic2DOrder2Gamma30_7680k,self).__init__(n=1385,order=2,dim=2,gamma=30,c=0.001)
504    class Anisotropic2DOrder2Gamma30_15360k(AnisotropicProblem):
505       def __init__(self):
506          super(Anisotropic2DOrder2Gamma30_15360k,self).__init__(n=1959,order=2,dim=2,gamma=30,c=0.001)
507    class Anisotropic2DOrder2Gamma45_30k(AnisotropicProblem):
508       def __init__(self):
509          super(Anisotropic2DOrder2Gamma45_30k,self).__init__(n=86,order=2,dim=2,gamma=45,c=0.001)
510    class Anisotropic2DOrder2Gamma45_60k(AnisotropicProblem):
511       def __init__(self):
512          super(Anisotropic2DOrder2Gamma45_60k,self).__init__(n=122,order=2,dim=2,gamma=45,c=0.001)
513    class Anisotropic2DOrder2Gamma45_120k(AnisotropicProblem):
514       def __init__(self):
515          super(Anisotropic2DOrder2Gamma45_120k,self).__init__(n=173,order=2,dim=2,gamma=45,c=0.001)
516    class Anisotropic2DOrder2Gamma45_240k(AnisotropicProblem):
517       def __init__(self):
518          super(Anisotropic2DOrder2Gamma45_240k,self).__init__(n=244,order=2,dim=2,gamma=45,c=0.001)
519    class Anisotropic2DOrder2Gamma45_480k(AnisotropicProblem):
520       def __init__(self):
521          super(Anisotropic2DOrder2Gamma45_480k,self).__init__(n=346,order=2,dim=2,gamma=45,c=0.001)
522    class Anisotropic2DOrder2Gamma45_960k(AnisotropicProblem):
523       def __init__(self):
524          super(Anisotropic2DOrder2Gamma45_960k,self).__init__(n=489,order=2,dim=2,gamma=45,c=0.001)
525    class Anisotropic2DOrder2Gamma45_1920k(AnisotropicProblem):
526       def __init__(self):
527          super(Anisotropic2DOrder2Gamma45_1920k,self).__init__(n=692,order=2,dim=2,gamma=45,c=0.001)
528    class Anisotropic2DOrder2Gamma45_3840k(AnisotropicProblem):
529       def __init__(self):
530          super(Anisotropic2DOrder2Gamma45_3840k,self).__init__(n=979,order=2,dim=2,gamma=45,c=0.001)
531    class Anisotropic2DOrder2Gamma45_7680k(AnisotropicProblem):
532       def __init__(self):
533          super(Anisotropic2DOrder2Gamma45_7680k,self).__init__(n=1385,order=2,dim=2,gamma=45,c=0.001)
534    class Anisotropic2DOrder2Gamma45_15360k(AnisotropicProblem):
535       def __init__(self):
536          super(Anisotropic2DOrder2Gamma45_15360k,self).__init__(n=1959,order=2,dim=2,gamma=45,c=0.001)
537    class Anisotropic3DOrder1Gamma30_30k(AnisotropicProblem):
538       def __init__(self):
539          super(Anisotropic3DOrder1Gamma30_30k,self).__init__(n=30,order=1,dim=3,gamma=30,c=0.001)
540    class Anisotropic3DOrder1Gamma30_60k(AnisotropicProblem):
541       def __init__(self):
542          super(Anisotropic3DOrder1Gamma30_60k,self).__init__(n=38,order=1,dim=3,gamma=30,c=0.001)
543    class Anisotropic3DOrder1Gamma30_120k(AnisotropicProblem):
544       def __init__(self):
545          super(Anisotropic3DOrder1Gamma30_120k,self).__init__(n=48,order=1,dim=3,gamma=30,c=0.001)
546    class Anisotropic3DOrder1Gamma30_240k(AnisotropicProblem):
547       def __init__(self):
548          super(Anisotropic3DOrder1Gamma30_240k,self).__init__(n=61,order=1,dim=3,gamma=30,c=0.001)
549    class Anisotropic3DOrder1Gamma30_480k(AnisotropicProblem):
550       def __init__(self):
551          super(Anisotropic3DOrder1Gamma30_480k,self).__init__(n=77,order=1,dim=3,gamma=30,c=0.001)
552    class Anisotropic3DOrder1Gamma30_960k(AnisotropicProblem):
553       def __init__(self):
554          super(Anisotropic3DOrder1Gamma30_960k,self).__init__(n=98,order=1,dim=3,gamma=30,c=0.001)
555    class Anisotropic3DOrder1Gamma30_1920k(AnisotropicProblem):
556       def __init__(self):
557          super(Anisotropic3DOrder1Gamma30_1920k,self).__init__(n=123,order=1,dim=3,gamma=30,c=0.001)
558    class Anisotropic3DOrder1Gamma30_3840k(AnisotropicProblem):
559       def __init__(self):
560          super(Anisotropic3DOrder1Gamma30_3840k,self).__init__(n=156,order=1,dim=3,gamma=30,c=0.001)
561    class Anisotropic3DOrder1Gamma30_7680k(AnisotropicProblem):
562       def __init__(self):
563          super(Anisotropic3DOrder1Gamma30_7680k,self).__init__(n=196,order=1,dim=3,gamma=30,c=0.001)
564    class Anisotropic3DOrder1Gamma30_15360k(AnisotropicProblem):
565       def __init__(self):
566          super(Anisotropic3DOrder1Gamma30_15360k,self).__init__(n=248,order=1,dim=3,gamma=30,c=0.001)
567    class Anisotropic3DOrder1Gamma45_30k(AnisotropicProblem):
568       def __init__(self):
569          super(Anisotropic3DOrder1Gamma45_30k,self).__init__(n=30,order=1,dim=3,gamma=45,c=0.001)
570    class Anisotropic3DOrder1Gamma45_60k(AnisotropicProblem):
571       def __init__(self):
572          super(Anisotropic3DOrder1Gamma45_60k,self).__init__(n=38,order=1,dim=3,gamma=45,c=0.001)
573    class Anisotropic3DOrder1Gamma45_120k(AnisotropicProblem):
574       def __init__(self):
575          super(Anisotropic3DOrder1Gamma45_120k,self).__init__(n=48,order=1,dim=3,gamma=45,c=0.001)
576    class Anisotropic3DOrder1Gamma45_240k(AnisotropicProblem):
577       def __init__(self):
578          super(Anisotropic3DOrder1Gamma45_240k,self).__init__(n=61,order=1,dim=3,gamma=45,c=0.001)
579    class Anisotropic3DOrder1Gamma45_480k(AnisotropicProblem):
580       def __init__(self):
581          super(Anisotropic3DOrder1Gamma45_480k,self).__init__(n=77,order=1,dim=3,gamma=45,c=0.001)
582    class Anisotropic3DOrder1Gamma45_960k(AnisotropicProblem):
583       def __init__(self):
584          super(Anisotropic3DOrder1Gamma45_960k,self).__init__(n=98,order=1,dim=3,gamma=45,c=0.001)
585    class Anisotropic3DOrder1Gamma45_1920k(AnisotropicProblem):
586       def __init__(self):
587          super(Anisotropic3DOrder1Gamma45_1920k,self).__init__(n=123,order=1,dim=3,gamma=45,c=0.001)
588    class Anisotropic3DOrder1Gamma45_3840k(AnisotropicProblem):
589       def __init__(self):
590          super(Anisotropic3DOrder1Gamma45_3840k,self).__init__(n=156,order=1,dim=3,gamma=45,c=0.001)
591    class Anisotropic3DOrder1Gamma45_7680k(AnisotropicProblem):
592       def __init__(self):
593          super(Anisotropic3DOrder1Gamma45_7680k,self).__init__(n=196,order=1,dim=3,gamma=45,c=0.001)
594    class Anisotropic3DOrder1Gamma45_15360k(AnisotropicProblem):
595       def __init__(self):
596          super(Anisotropic3DOrder1Gamma45_15360k,self).__init__(n=248,order=1,dim=3,gamma=45,c=0.001)
597    class Anisotropic3DOrder2Gamma30_30k(AnisotropicProblem):
598       def __init__(self):
599          super(Anisotropic3DOrder2Gamma30_30k,self).__init__(n=15,order=2,dim=3,gamma=30,c=0.001)
600    class Anisotropic3DOrder2Gamma30_60k(AnisotropicProblem):
601       def __init__(self):
602          super(Anisotropic3DOrder2Gamma30_60k,self).__init__(n=19,order=2,dim=3,gamma=30,c=0.001)
603    class Anisotropic3DOrder2Gamma30_120k(AnisotropicProblem):
604       def __init__(self):
605          super(Anisotropic3DOrder2Gamma30_120k,self).__init__(n=24,order=2,dim=3,gamma=30,c=0.001)
606    class Anisotropic3DOrder2Gamma30_240k(AnisotropicProblem):
607       def __init__(self):
608          super(Anisotropic3DOrder2Gamma30_240k,self).__init__(n=31,order=2,dim=3,gamma=30,c=0.001)
609    class Anisotropic3DOrder2Gamma30_480k(AnisotropicProblem):
610       def __init__(self):
611          super(Anisotropic3DOrder2Gamma30_480k,self).__init__(n=39,order=2,dim=3,gamma=30,c=0.001)
612    class Anisotropic3DOrder2Gamma30_960k(AnisotropicProblem):
613       def __init__(self):
614          super(Anisotropic3DOrder2Gamma30_960k,self).__init__(n=49,order=2,dim=3,gamma=30,c=0.001)
615    class Anisotropic3DOrder2Gamma30_1920k(AnisotropicProblem):
616       def __init__(self):
617          super(Anisotropic3DOrder2Gamma30_1920k,self).__init__(n=62,order=2,dim=3,gamma=30,c=0.001)
618    class Anisotropic3DOrder2Gamma30_3840k(AnisotropicProblem):
619       def __init__(self):
620          super(Anisotropic3DOrder2Gamma30_3840k,self).__init__(n=78,order=2,dim=3,gamma=30,c=0.001)
621    class Anisotropic3DOrder2Gamma30_7680k(AnisotropicProblem):
622       def __init__(self):
623          super(Anisotropic3DOrder2Gamma30_7680k,self).__init__(n=98,order=2,dim=3,gamma=30,c=0.001)
624    class Anisotropic3DOrder2Gamma30_15360k(AnisotropicProblem):
625       def __init__(self):
626          super(Anisotropic3DOrder2Gamma30_15360k,self).__init__(n=124,order=2,dim=3,gamma=30,c=0.001)
627    class Anisotropic3DOrder2Gamma45_30k(AnisotropicProblem):
628       def __init__(self):
629          super(Anisotropic3DOrder2Gamma45_30k,self).__init__(n=15,order=2,dim=3,gamma=45,c=0.001)
630    class Anisotropic3DOrder2Gamma45_60k(AnisotropicProblem):
631       def __init__(self):
632          super(Anisotropic3DOrder2Gamma45_60k,self).__init__(n=19,order=2,dim=3,gamma=45,c=0.001)
633    class Anisotropic3DOrder2Gamma45_120k(AnisotropicProblem):
634       def __init__(self):
635          super(Anisotropic3DOrder2Gamma45_120k,self).__init__(n=24,order=2,dim=3,gamma=45,c=0.001)
636    class Anisotropic3DOrder2Gamma45_240k(AnisotropicProblem):
637       def __init__(self):
638          super(Anisotropic3DOrder2Gamma45_240k,self).__init__(n=31,order=2,dim=3,gamma=45,c=0.001)
639    class Anisotropic3DOrder2Gamma45_480k(AnisotropicProblem):
640       def __init__(self):
641          super(Anisotropic3DOrder2Gamma45_480k,self).__init__(n=39,order=2,dim=3,gamma=45,c=0.001)
642    class Anisotropic3DOrder2Gamma45_960k(AnisotropicProblem):
643       def __init__(self):
644          super(Anisotropic3DOrder2Gamma45_960k,self).__init__(n=49,order=2,dim=3,gamma=45,c=0.001)
645    class Anisotropic3DOrder2Gamma45_1920k(AnisotropicProblem):
646       def __init__(self):
647          super(Anisotropic3DOrder2Gamma45_1920k,self).__init__(n=62,order=2,dim=3,gamma=45,c=0.001)
648    class Anisotropic3DOrder2Gamma45_3840k(AnisotropicProblem):
649       def __init__(self):
650          super(Anisotropic3DOrder2Gamma45_3840k,self).__init__(n=78,order=2,dim=3,gamma=45,c=0.001)
651    class Anisotropic3DOrder2Gamma45_7680k(AnisotropicProblem):
652       def __init__(self):
653          super(Anisotropic3DOrder2Gamma45_7680k,self).__init__(n=98,order=2,dim=3,gamma=45,c=0.001)
654    class Anisotropic3DOrder2Gamma45_15360k(AnisotropicProblem):
655       def __init__(self):
656          super(Anisotropic3DOrder2Gamma45_15360k,self).__init__(n=124,order=2,dim=3,gamma=45,c=0.001)
657    
658  if __name__=="__main__":  if __name__=="__main__":
659     test=""     test=""
660     n0=30000     n0=30000
661     for d in [2,3]:     for d in [2,3]:
662       for o in [1,2]:      for o in [1,2]:
663          for g in [30,45]:
664          for i in range(10):          for i in range(10):
665               dofs=n0*2**i               dofs=n0*2**i
666               n=int((float(dofs)**(1./float(d))-1)/o+0.5)               n=int((float(dofs)**(1./float(d))-1)/o+0.5)
667               name="Laplace%sDOrder%s_%sk"%(d,o,dofs/1000)               name="Anisotropic%sDOrder%sGamma%s_%sk"%(d,o,g,dofs/1000)
668               print "class %s(LaplaceProblem):"%name               print "class %s(AnisotropicProblem):"%name
669               print "   def __init__(self):"               print "   def __init__(self):"
670               print "      super(%s,self).__init__(n=%s,order=%s,dim=%s)"%(name,n,o,d)               print "      super(%s,self).__init__(n=%s,order=%s,dim=%s,gamma=%s,c=0.001)"%(name,n,o,d,g)
671               test+="addProblem(%s())\n"%name               test+="addProblem(%s())\n"%name
672     print test     print test
673    

Legend:
Removed from v.389  
changed lines
  Added in v.435

  ViewVC Help
Powered by ViewVC 1.1.26