ParMooN
 All Classes Functions Variables Friends Pages
FE_C_T_P2_3D.h
1 // ***********************************************************************
2 // P2 element, conforming, 3D
3 // ***********************************************************************
4 
5 // number of degrees of freedom
6 static int C_T_P2_3D_NDOF = 10;
7 
8 // number of dofs on the closure of the joints
9 static int C_T_P2_3D_JointDOF = 6;
10 
11 // which local dofs are on the joints
12 static int C_T_P2_3D_J0[6] = { 0, 1, 2, 3, 4, 5 };
13 static int C_T_P2_3D_J1[6] = { 0, 6, 9, 1, 7, 2 };
14 static int C_T_P2_3D_J2[6] = { 5, 4, 2, 8, 7, 9 };
15 static int C_T_P2_3D_J3[6] = { 0, 3, 5, 6, 8, 9 };
16 
17 static int *C_T_P2_3D_J[4] = { C_T_P2_3D_J0, C_T_P2_3D_J1,
18  C_T_P2_3D_J2, C_T_P2_3D_J3 };
19 
20 
21 #ifdef _MPI
22 // number of dofs on the closure of the edges
23 static int C_T_P2_3D_EdgeDOF = 3;
24 
25 // which local dofs are on the joints
26 static int C_T_P2_3D_E0[3] = { 0, 1, 2 };
27 static int C_T_P2_3D_E1[3] = { 2, 4, 5 };
28 static int C_T_P2_3D_E2[3] = { 5, 3, 0 };
29 static int C_T_P2_3D_E3[3] = { 0, 6, 9 };
30 static int C_T_P2_3D_E4[3] = { 2, 7, 9 };
31 static int C_T_P2_3D_E5[3] = { 5, 8, 9 };
32 
33 
34 static int *C_T_P2_3D_E[6] = { C_T_P2_3D_E0, C_T_P2_3D_E1, C_T_P2_3D_E2, C_T_P2_3D_E3,
35  C_T_P2_3D_E4, C_T_P2_3D_E5};
36 
37 // number of dofs on the closure of the vertices
38 static int C_T_P2_3D_VertDOF = 1;
39 
40 // array containing the numbers for the vertices dofs
41 static int C_T_P2_3D_Vert[4] = {0, 2, 5, 9};
42 #endif
43 
44 
45 
46 // number of inner dofs
47 static int C_T_P2_3D_NInner = 0;
48 
49 // array containing the numbers for the inner dofs (here is no inner dof)
50 static int *C_T_P2_3D_Inner = NULL;
51 
52 static char C_T_P2_3D_String[] = "C_T_P2_3D";
53 
54 TFEDesc3D *FE_C_T_P2_3D_Obj=new TFEDesc3D(C_T_P2_3D_String, C_T_P2_3D_NDOF,
55  C_T_P2_3D_JointDOF,
56  C_T_P2_3D_J, C_T_P2_3D_NInner, C_T_P2_3D_Inner
57 #ifdef _MPI
58  ,C_T_P2_3D_EdgeDOF, C_T_P2_3D_E, C_T_P2_3D_VertDOF,
59  C_T_P2_3D_Vert
60 #endif
61  );
62 
63 
Definition: FEDesc3D.h:19