Hello all,
I would like to add a new finite element
2010–A nonstandard mixed finite element family.pdf (170.3 KB)
in FreeFem as https://doc.freefem.org/documentation/developers.html. However, I am unable to provide the exact values of the data[ ] for the new finite element, as I do not fully understand the meaning or structure of the array data[ ].
Could anyone provide references or share your experiences?
To make my point more clear, I show two examples in the following.
For example, in FESpace.cpp line 553,
int TypeOfFE_P1Lagrange::Data[ ]
={0,1,2,
0,0,0,
0,1,2,
0,0,0,
0,1,2,
0, 0,3};
I understand how the values in the 1st, 3rd and 5th lines are assigned, but I do not understand how the values in the 2nd and 6th lines are determined.
For example, in Element_Mixte.cpp line 1313,
int TypeOfFE_BDM2_2d::Data[ ] =
{3, 3, 3, 4,4,4, 5,5,5, 6,6,6, // support on what
0, 1, 2, 0,1,2, 0,1,2, 0,1,2, // df on node
0, 0, 0, 1,1,1, 2,2,2, 3,3,3, // th node of df
0, 0, 0, 0,0,0, 0,0,0, 0,0,0, // df previou FE
0, 1, 2, 3,4,5, 6,7,8, 9,10,11 , // which df on prev
0,0,0,0, 12, 12};
I understand how the values 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6 are assigned, but I do not understand how the values in the 2nd, 3rd, 4th, and 6th lines are determined. Moreover, I do not understand why the 6th lines in P1 and BDM2 have different dimensions, i.e., 3 and 6.
Thank you in advance,
Best regards,
Alex