I'm trying to translate transient problem form the heat_equation.cc file to Python interface. Everything works fine until setting Neumann boundary conditions. The code breaks without any comment while solving first iteration. Could you please help me with this problem?
Underneath I paste the code up to the line where the error occurs. Maybe there is same error in stating FEM problem because I'm not very familiar with FEM details. I run the code with IDLE under UBUNTU.