Hi everyone, I use mini element for stokes equation, and the error is:
terminate called after throwing an instance of 'std::runtime_error'
what(): evaluate_dof(s) for enriched element not implemented.
My ufl code is:
P1 = VectorElement("Lagrange", triangle, 1)
B = VectorElement("Bubble", triangle, 3)
Q = FiniteElement("Lagrange", triangle, 1)
MixElement = (P1 + B) * Q
f=Coefficient (P1)
(u, p) = TrialFunctions(MixElement)
(v, q) = TestFunctions(MixElement)
a=inner (grad(u), grad(v))*dx - p*div(v)*dx + q*div(u)*dx
L=inner(f,v)*dx
Has anyone encountered this problem? Any comment is appreciated.