/[escript]/trunk/escript/py_src/linearPDEs.py
ViewVC logotype

Diff of /trunk/escript/py_src/linearPDEs.py

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

revision 348 by gross, Tue Dec 13 07:33:10 2005 UTC revision 349 by gross, Tue Dec 13 07:35:31 2005 UTC
# Line 2275  class AdvectionDiffusion(LinearPDE): Line 2275  class AdvectionDiffusion(LinearPDE):
2275       @param debug: if True debug informations are printed.       @param debug: if True debug informations are printed.
2276    
2277       """       """
2278       super(Helmholtz, self).__init__(domain,1,1,debug)       super(AdvectionDiffusion, self).__init__(domain,1,1,debug)
2279       self.COEFFICIENTS={"omega": PDECoefficient(PDECoefficient.INTERIOR,(PDECoefficient.BY_EQUATION,),PDECoefficient.OPERATOR),       self.COEFFICIENTS={"omega": PDECoefficient(PDECoefficient.INTERIOR,(PDECoefficient.BY_EQUATION,),PDECoefficient.OPERATOR),
2280                          "k": PDECoefficient(PDECoefficient.INTERIOR,(PDECoefficient.BY_DIM,PDECoefficient.BY_DIM),PDECoefficient.OPERATOR),                          "k": PDECoefficient(PDECoefficient.INTERIOR,(PDECoefficient.BY_DIM,PDECoefficient.BY_DIM),PDECoefficient.OPERATOR),
2281                          "f": PDECoefficient(PDECoefficient.INTERIOR,(PDECoefficient.BY_EQUATION,),PDECoefficient.RIGHTHANDSIDE),                          "f": PDECoefficient(PDECoefficient.INTERIOR,(PDECoefficient.BY_EQUATION,),PDECoefficient.RIGHTHANDSIDE),
# Line 2313  class AdvectionDiffusion(LinearPDE): Line 2313  class AdvectionDiffusion(LinearPDE):
2313                 depending of reduced order is used for the representation of the equation.                 depending of reduced order is used for the representation of the equation.
2314       @raise IllegalCoefficient: if an unknown coefficient keyword is used.       @raise IllegalCoefficient: if an unknown coefficient keyword is used.
2315       """       """
2316       super(Helmholtz, self).setValue(**coefficients)       super(AdvectionDiffusion, self).setValue(**coefficients)
2317    
2318     def getCoefficientOfGeneralPDE(self,name):     def getCoefficientOfGeneralPDE(self,name):
2319       """       """

Legend:
Removed from v.348  
changed lines
  Added in v.349

  ViewVC Help
Powered by ViewVC 1.1.26