~fluidity-core/fluidity/firedrake-mixed-space-expressions

« back to all changes in this revision

Viewing changes to python/fluidity/solving.py

  • Committer: Lawrence Mitchell
  • Date: 2013-08-23 15:17:40 UTC
  • Revision ID: lawrence.mitchell@imperial.ac.uk-20130823151740-y5qijh53qo7168zd
Make minimal change to floppy to support iteration space change

This is a bandaid while we figure how much to nuke

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
                tensor_arg = tensor(test.mesh.element_node_map[op2.i[0]], op2.INC)
170
170
            else:
171
171
                tensor_arg = tensor(op2.INC)
172
 
            itspace = m.element_set(*itspace_extents)
173
 
            args = [kernel, itspace, tensor_arg,
 
172
            args = [kernel, m.element_set, tensor_arg,
174
173
                    coords.dat(coords.element_node_map, op2.READ)]
175
174
            for c in fd.original_coefficients:
176
175
                args.append(c.dat(c.element_node_map, op2.READ))
199
198
                                     elem_node[op2.i[1]]), op2.INC)
200
199
            else:
201
200
                tensor_arg = tensor(elem_node[op2.i[0]], op2.INC)
202
 
            itspace = iterset(*itspace_extents)
203
 
            args = [kernel, itspace, tensor_arg,
 
201
            args = [kernel, iterset, tensor_arg,
204
202
                    coords.dat(elem_node, op2.READ)]
205
203
            for c in fd.original_coefficients:
206
204
                args.append(c.dat(elem_node, op2.READ))