/[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 387 by gross, Tue Dec 20 00:37:20 2005 UTC revision 410 by gross, Fri Dec 23 01:27:38 2005 UTC
# Line 2339  class AdvectionDiffusion(LinearPDE): Line 2339  class AdvectionDiffusion(LinearPDE):
2339       @note: This method is called by the assembling routine to map the Possion equation onto the general PDE.       @note: This method is called by the assembling routine to map the Possion equation onto the general PDE.
2340       """       """
2341       if name == "A" :       if name == "A" :
2342           return self.getCoefficient("k")+outer(self.getCoefficient("upwind"),self.getCoefficient("upwind"))           return self.getCoefficient("k")+util.outer(self.getCoefficient("upwind"),self.getCoefficient("upwind"))
2343       elif name == "B" :       elif name == "B" :
2344           return escript.Data()           return escript.Data()
2345       elif name == "C" :       elif name == "C" :
2346           return escript.getCoefficient("v")           return self.getCoefficient("v")
2347       elif name == "D" :       elif name == "D" :
2348           return self.getCoefficient("omega")           return self.getCoefficient("omega")
2349       elif name == "X" :       elif name == "X" :

Legend:
Removed from v.387  
changed lines
  Added in v.410

  ViewVC Help
Powered by ViewVC 1.1.26