ParMooN
 All Classes Functions Variables Friends Pages
FE_C_T_P1_3D.h
1 // ***********************************************************************
2 // P1 element, conforming, 3D
3 // ***********************************************************************
4 
5 // number of degrees of freedom
6 static int C_T_P1_3D_NDOF = 4;
7 
8 // number of dofs on the closure of the joints
9 static int C_T_P1_3D_JointDOF = 3;
10 
11 // which local dofs are on the joints
12 static int C_T_P1_3D_J0[3] = { 0, 1, 2 };
13 static int C_T_P1_3D_J1[3] = { 0, 3, 1 };
14 static int C_T_P1_3D_J2[3] = { 2, 1, 3 };
15 static int C_T_P1_3D_J3[3] = { 0, 2, 3 };
16 
17 static int *C_T_P1_3D_J[4] = { C_T_P1_3D_J0, C_T_P1_3D_J1,
18  C_T_P1_3D_J2, C_T_P1_3D_J3 };
19 
20 #ifdef _MPI
21 // number of dofs on the closure of the edges
22 static int C_T_P1_3D_EdgeDOF = 2;
23 
24 // which local dofs are on the joints
25 static int C_T_P1_3D_E0[2] = { 0, 1 };
26 static int C_T_P1_3D_E1[2] = { 1, 2 };
27 static int C_T_P1_3D_E2[2] = { 2, 0 };
28 static int C_T_P1_3D_E3[2] = { 0, 3 };
29 static int C_T_P1_3D_E4[2] = { 1, 3 };
30 static int C_T_P1_3D_E5[2] = { 2, 3 };
31 
32 
33 static int *C_T_P1_3D_E[6] = { C_T_P1_3D_E0, C_T_P1_3D_E1, C_T_P1_3D_E2, C_T_P1_3D_E3,
34  C_T_P1_3D_E4, C_T_P1_3D_E5};
35 
36 // number of dofs on the closure of the vertices
37 static int C_T_P1_3D_VertDOF = 1;
38 
39 // array containing the numbers for the vertices dofs
40 static int C_T_P1_3D_Vert[4] = {0, 1, 2, 3};
41 
42 #endif
43 
44 // number of inner dofs
45 static int C_T_P1_3D_NInner = 0;
46 
47 // array containing the numbers for the inner dofs (here is no inner dof)
48 static int *C_T_P1_3D_Inner = NULL;
49 
50 static char C_T_P1_3D_String[] = "C_T_P1_3D";
51 
52 TFEDesc3D *FE_C_T_P1_3D_Obj=new TFEDesc3D(C_T_P1_3D_String, C_T_P1_3D_NDOF,
53  C_T_P1_3D_JointDOF,
54  C_T_P1_3D_J, C_T_P1_3D_NInner, C_T_P1_3D_Inner
55 #ifdef _MPI
56  ,C_T_P1_3D_EdgeDOF, C_T_P1_3D_E, C_T_P1_3D_VertDOF,
57  C_T_P1_3D_Vert
58 #endif
59  );
Definition: FEDesc3D.h:19