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

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

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

revision 433 by gross, Tue Jan 17 23:54:38 2006 UTC revision 437 by gross, Fri Jan 20 00:16:58 2006 UTC
# Line 3947  class Grad_Symbol(DependendSymbol): Line 3947  class Grad_Symbol(DependendSymbol):
3947        d=arg.getDim()        d=arg.getDim()
3948        if d==None:        if d==None:
3949           raise ValueError,"argument must have a spatial dimension"           raise ValueError,"argument must have a spatial dimension"
3950        super(Grad_Symbol,self).__init__(args=[arg,where],shape=tuple(list(arg.getShape()).extend(d)),dim=d)        super(Grad_Symbol,self).__init__(args=[arg,where],shape=arg.getShape()+(d,),dim=d)
3951    
3952     def getMyCode(self,argstrs,format="escript"):     def getMyCode(self,argstrs,format="escript"):
3953        """        """

Legend:
Removed from v.433  
changed lines
  Added in v.437

  ViewVC Help
Powered by ViewVC 1.1.26