Hello everyone!
Can someone tell me what is wrong with this code?
import dolfinx
from mpi4py import MPI
import dolfinx.io
import ufl
import numpy as np
mesh = dolfinx.mesh.create_unit_square(MPI.COMM_WORLD, 10, 10)
V1 = ufl.FiniteElement(“CG”, mesh.ufl_cell(), 1)
R1 = ufl.FiniteElement(“Real”, mesh.ufl_cell(), 0)
mel = ufl.MixedElement([V1, R1])
V = dolfinx.fem.FunctionSpace(mesh, mel)
This is the error I am getting
ValueError: Unknown element family: Real with cell type triangle