Curvature elements

Hello community !

I have a very easy case here. After generating an eighth sphere domain, I’d like to mesh the spherical surface with curvature elements. I create the geometry directly on my python code, and use the method generate(3) to generate the 3D mesh over the whole domain. How could I indicate I want curvature elements for the spherical surface, if curvature elements exist in gmsh!

I am not sure what a “curvature element” is. Do you mean an element that is curved, i.e. a second order or third order Lagrangian element to describe each cell? This is supported in GMSH through Mesh.Order, see for instance: Gmsh 4.11.1 (chapter 10.2)
or https://github.com/FEniCS/dolfinx/blob/main/python/demo/demo_gmsh.py#L227-L234