Add_cell with quadratic element
8 weeks ago by
I developed a script that allows to pass from a geometry made with Salome (http://www.salome-platform.org) into a mesh for Fenics. However, this program only works for linear elements. I would like update my script in order to make a quadratic mesh. I use add_cell function from MeshEditor for linear triangle, linear edge, and linear tetrahedron. I tried to use this function for tetrahedrons with ten nodes using this line : add_cell(0,0,1,2,3,4,5,6,7,8,9). I have an error when i compile my program because there are too many arguments. Can you help me? is there another command that allows to create this type of cell?
Thank you in advance,
Community: FEniCS Project
7 weeks ago by
Please login to add an answer/comment or follow this question.