/[escript]/trunk-mpi-branch/escript/py_src/util.py
ViewVC logotype

Diff of /trunk-mpi-branch/escript/py_src/util.py

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

revision 413 by gross, Tue Jan 3 08:27:19 2006 UTC revision 414 by gross, Wed Jan 4 05:29:05 2006 UTC
# Line 3569  def escript_generalTensorProduct(arg0,ar Line 3569  def escript_generalTensorProduct(arg0,ar
3569          raise ValueError,"dimensions of last %s components in left argument don't match the first %s components in the right argument."%(offset,offset)          raise ValueError,"dimensions of last %s components in left argument don't match the first %s components in the right argument."%(offset,offset)
3570    
3571      # whatr function space should be used? (this here is not good!)      # whatr function space should be used? (this here is not good!)
3572      fs=(escript.Scalar(0.,arg0.getFunctionSpace())+escript.Scalar(0.,arg1.getFunctionSpace())).getFunctionspace()      fs=(escript.Scalar(0.,arg0.getFunctionSpace())+escript.Scalar(0.,arg1.getFunctionSpace())).getFunctionSpace()
3573      # create return value:      # create return value:
3574      out=escript.Data(0.,tuple(shape0+shape1),fs)      out=escript.Data(0.,tuple(shape0+shape1),fs)
3575      #      #

Legend:
Removed from v.413  
changed lines
  Added in v.414

  ViewVC Help
Powered by ViewVC 1.1.26