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 |
# |
# |