ParMooN
 All Classes Functions Variables Friends Pages
FE_C_H_Q1_3D.h
1 // ***********************************************************************
2 // Q1 element, conforming, 3D
3 // ***********************************************************************
4 
5 // number of degrees of freedom
6 static int C_H_Q1_3D_NDOF = 8;
7 
8 // number of dofs on the closure of the joints
9 static int C_H_Q1_3D_JointDOF = 4;
10 
11 // which local dofs are on the joints
12 static int C_H_Q1_3D_J0[4] = { 0, 1, 2, 3 };
13 static int C_H_Q1_3D_J1[4] = { 0, 4, 1, 5 };
14 static int C_H_Q1_3D_J2[4] = { 1, 5, 3, 7 };
15 static int C_H_Q1_3D_J3[4] = { 3, 7, 2, 6 };
16 static int C_H_Q1_3D_J4[4] = { 0, 2, 4, 6 };
17 static int C_H_Q1_3D_J5[4] = { 4, 6, 5, 7 };
18 
19 static int *C_H_Q1_3D_J[6] = { C_H_Q1_3D_J0, C_H_Q1_3D_J1,
20  C_H_Q1_3D_J2, C_H_Q1_3D_J3,
21  C_H_Q1_3D_J4, C_H_Q1_3D_J5};
22 
23 #ifdef _MPI
24 // number of dofs on the closure of the edges
25 static int C_H_Q1_3D_EdgeDOF = 2;
26 
27 // which local dofs are on the joints
28 static int C_H_Q1_3D_E0[2] = { 0, 1 };
29 static int C_H_Q1_3D_E1[2] = { 1, 3 };
30 static int C_H_Q1_3D_E2[2] = { 3, 2 };
31 static int C_H_Q1_3D_E3[2] = { 2, 0 };
32 
33 static int C_H_Q1_3D_E4[2] = { 0, 4 };
34 static int C_H_Q1_3D_E5[2] = { 1, 5 };
35 static int C_H_Q1_3D_E6[2] = { 3, 7 };
36 static int C_H_Q1_3D_E7[2] = { 2, 6 };
37 
38 static int C_H_Q1_3D_E8[2] = { 4, 5 };
39 static int C_H_Q1_3D_E9[2] = { 5, 7 };
40 static int C_H_Q1_3D_E10[2] = { 7, 6 };
41 static int C_H_Q1_3D_E11[2] = { 6, 4 };
42 
43 static int *C_H_Q1_3D_E[12] = { C_H_Q1_3D_E0, C_H_Q1_3D_E1, C_H_Q1_3D_E2, C_H_Q1_3D_E3,
44  C_H_Q1_3D_E4, C_H_Q1_3D_E5, C_H_Q1_3D_E6, C_H_Q1_3D_E7,
45  C_H_Q1_3D_E8, C_H_Q1_3D_E9, C_H_Q1_3D_E10, C_H_Q1_3D_E11};
46 
47 // number of dofs on the closure of the vertices
48 static int C_H_Q1_3D_VertDOF = 1;
49 
50 // array containing the numbers for the vertices dofs
51 static int C_H_Q1_3D_Vert[8] = {0, 1, 3, 2, 4, 5, 7, 6};
52 
53 #endif
54 
55 // number of inner dofs
56 static int C_H_Q1_3D_NInner = 0;
57 
58 // array containing the numbers for the inner dofs (here is no inner dof)
59 static int *C_H_Q1_3D_Inner = NULL;
60 
61 static char C_H_Q1_3D_String[] = "C_H_Q1_3D";
62 
63 
64 TFEDesc3D *FE_C_H_Q1_3D_Obj=new TFEDesc3D(C_H_Q1_3D_String, C_H_Q1_3D_NDOF,
65  C_H_Q1_3D_JointDOF,
66  C_H_Q1_3D_J, C_H_Q1_3D_NInner, C_H_Q1_3D_Inner
67 #ifdef _MPI
68  ,C_H_Q1_3D_EdgeDOF, C_H_Q1_3D_E, C_H_Q1_3D_VertDOF,
69  C_H_Q1_3D_Vert
70 #endif
71  );
72 
73 
74 
75 
Definition: FEDesc3D.h:19