What's the C++ equivalent of this:
solve(a == L, u, bc, solver_parameters={'linear_solver':'mumps'})
When I write it as above, I get errors.
problem = LinearVariationalProblem(a, L, u, bc) solver = LinearVariationalSolver(problem) solver.parameters["linear_solver"] = "mumps" solver.solve
You're probably meaning
solver.solve()
on the last line :)