---------------------------------------------------------------------------
UFLException Traceback (most recent call last)
<ipython-input-167-d6fb65ea74ec> in <module>()
----> 1 PP, Pb = assemble_system(a11+i,L1,bcs)
2 P = as_backend_type(PP).mat()
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/dolfin/fem/assembling.pyc in assemble_system(A_form, b_form, bcs, x0, A_coefficients, b_coefficients, A_function_spaces, b_function_spaces, cell_domains, exterior_facet_domains, interior_facet_domains, reset_sparsity, add_values, finalize_tensor, keep_diagonal, A_tensor, b_tensor, backend, form_compiler_parameters)
275 # Wrap forms
276 A_dolfin_form = Form(A_form, A_function_spaces, A_coefficients,
--> 277 subdomains, form_compiler_parameters)
278 b_dolfin_form = Form(b_form, b_function_spaces, b_coefficients,
279 subdomains, form_compiler_parameters)
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/dolfin/fem/form.pyc in __init__(self, form, function_spaces, coefficients, subdomains, form_compiler_parameters, common_cell)
54 self._compiled_form, module, self.form_data, prefix \
55 = jit(form, form_compiler_parameters,
---> 56 common_cell)
57
58 elif isinstance(form, ufc.form):
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/dolfin/compilemodules/jit.pyc in mpi_jit(*args, **kwargs)
58 # Just call JIT compiler when running in serial
59 if MPI.num_processes() == 1:
---> 60 return local_jit(*args, **kwargs)
61
62 # Compile first on process 0
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/dolfin/compilemodules/jit.pyc in jit(form, form_compiler_parameters, common_cell)
120 raise RuntimeError, "Form compiler must implement the jit function."
121
--> 122 return jit_compile(form, parameters=p, common_cell=common_cell)
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/ffc/jitcompiler.pyc in jit(ufl_object, parameters, common_cell)
76 return jit_element(ufl_object, parameters)
77 else:
---> 78 return jit_form(ufl_object, parameters, common_cell)
79
80 def _auto_select_degree(elements):
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/ffc/jitcompiler.pyc in jit_form(form, parameters, common_cell)
167 # Compute form metadata and extract preprocessed form
168 form_data = form.compute_form_data(common_cell=common_cell,
--> 169 element_mapping=element_mapping)
170
171 # Wrap input
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/ufl/form.pyc in compute_form_data(self, object_names, common_cell, element_mapping)
122 object_names=object_names,
123 common_cell=common_cell,
--> 124 element_mapping=element_mapping)
125 # Always validate arguments, keeping sure that the validation works
126 self._form_data.validate(object_names=object_names,
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/ufl/algorithms/preprocess.pyc in preprocess(form, object_names, common_cell, element_mapping)
141 tic('extract_arguments_and_coefficients')
142 original_arguments, original_coefficients = \
--> 143 extract_arguments_and_coefficients(form)
144
145 tic('build_element_mapping')
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/ufl/algorithms/analysis.pyc in extract_arguments_and_coefficients(a)
116 Did you combine test or trial functions from different spaces?
117 The Arguments found are:\n%s""" % "\n".join(" %s" % f for f in arguments)
--> 118 error(msg)
119
120 if len(fcounts) != len(set(fcounts.values())):
/home/mwathen/Work/FEniCS/lib/python2.7/site-packages/ufl/log.pyc in error(self, *message)
152 "Write error message and raise an exception."
153 self._log.error(*message)
--> 154 raise self._exception_type(self._format_raw(*message))
155
156 def begin(self, *message):
UFLException: Found different Arguments with same counts.
Did you combine test or trial functions from different spaces?
The Arguments found are:
v_{-1}
v_{-2}
v_{-1}
v_{-2}