ParMooN
 All Classes Functions Variables Friends Pages
BF_C_L_P0_1D.h
1 // ***********************************************************************
2 // P0 element, conforming, 1D
3 // ***********************************************************************
4 
5 // base function values
6 static void C_L_P0_1D_Funct(double xi, double *values)
7 {
8  values[0]=1;
9 }
10 
11 // values of the derivatives in xi direction
12 static void C_L_P0_1D_DeriveXi(double xi, double *values)
13 {
14  values[0]=0;
15 }
16 
17 // values of the derivatives in xi-xi direction
18 static void C_L_P0_1D_DeriveXiXi(double xi, double *values)
19 {
20  values[0]=0;
21 }
22 
23 // ***********************************************************************
24 // TBaseFunct1D *BF_C_L_P0_1D_Obj = new TBaseFunct1D
25 // (1, BF_C_L_P0_1D, C_L_P0_1D_Funct, C_L_P0_1D_DeriveXi,
26 // C_L_P0_1D_DeriveXiXi);
27 
28 TBaseFunct1D *BF_C_L_P0_1D_Obj = new TBaseFunct1D
29  (1, BF_C_L_P0_1D, C_L_P0_1D_Funct, C_L_P0_1D_DeriveXi,
30  C_L_P0_1D_DeriveXiXi, 0, 0);
Definition: BaseFunct1D.h:25