Dear all,
please what is the best way to obtain something like CG, DG ... instead of Lagrange, Discontinuous Lagrange ... from function V.ufl_element().family()?
CG
DG
Lagrange
Discontinuous Lagrange
V.ufl_element().family()
Thank you very much in advance!
Hi, I think what you are looking for is the _short_name attribute of ufl.FiniteElement
_short_name
ufl.FiniteElement
print V.ufl_element()._short_name
Thank you, that was exactly what I was looking for!