Mixed Function Spaces in Fenics 2.0
Specifically, instead of for example:
V = VectorFunctionSpace(mesh, 'CG', 1) F = FunctionSpace(mesh, 'CG', 1) MS = MixedFunctionSpace([V, V, F, F])
p = 1 V_ele = VectorElement("CG", mesh.ufl_cell(), p) F_ele = FiniteElement("CG", mesh.ufl_cell(), p) MS = FunctionSpace(mesh, MixedElement([V_ele, V_ele, F_ele, F_ele]))
, but the system kills the process a few minutes after showing "Solving linear variation problem.". There are no errors other than the message "Killed", but I get no results either. This code used to run fine and fast on an older version of fenics.
Since I am using more than one function in my mixed function space, I cannot use the "*" operator.
I would appreciate any help about what is best to use instead of MixedFunctionSpaces. If indeed the above solution is the best way, what is causing the system to kill the run at the solution step?