Hi, I just got started with FEniCS and I'm trying to solve a simple 3-D Poisson equation. After modifying the c++ demon code in neumann-poisson, I constantly get this error:
"
Mesh cell type (tetrahedra) does not match cell type of form
"
Basically, I only changed the mesh from the original 2-D demo and the elements in the ufl file:
[Poisson.ufl]
V=FiniteElement("Lagrange", tetrahedra,1)
R=FiniteElement("R",tetrahedra,1)
[main.cpp]
BoxMesh mesh(0,0,0,10,10,10,20,20,20);
I guess there something I have missed. Would someone please help me point out how I could solve this? I apologize if this question is too naive, but I really have no previous knowledge how dolfin works. Thank you very much.