ParMooN
 All Classes Functions Variables Friends Pages
BF_C_T_P0_2D.h
1 // ***********************************************************************
2 // P0 element, conforming, 2D
3 // ***********************************************************************
4 
5 // base function values
6 static void C_T_P0_2D_Funct(double xi, double eta, double *values)
7 {
8  values[0]=1;
9 }
10 
11 // values of the derivatives in xi direction
12 static void C_T_P0_2D_DeriveXi(double xi, double eta, double *values)
13 {
14  values[0]=0;
15 }
16 
17 // values of the derivatives in eta direction
18 static void C_T_P0_2D_DeriveEta(double xi, double eta, double *values)
19 {
20  values[0]=0;
21 }
22 // values of the derivatives in xi-xi direction
23 static void C_T_P0_2D_DeriveXiXi(double xi, double eta, double *values)
24 {
25  values[0]=0;
26 }
27 // values of the derivatives in xi-eta direction
28 static void C_T_P0_2D_DeriveXiEta(double xi, double eta, double *values)
29 {
30  values[0]=0;
31 }
32 // values of the derivatives in eta-eta direction
33 static void C_T_P0_2D_DeriveEtaEta(double xi, double eta, double *values)
34 {
35  values[0]=0;
36 }
37 // ***********************************************************************
38 
39 TBaseFunct2D *BF_C_T_P0_2D_Obj = new TBaseFunct2D
40  (1, BF_C_T_P0_2D, BFUnitTriangle,
41  C_T_P0_2D_Funct, C_T_P0_2D_DeriveXi, C_T_P0_2D_DeriveEta,
42  C_T_P0_2D_DeriveXiXi, C_T_P0_2D_DeriveXiEta,
43  C_T_P0_2D_DeriveEtaEta, 0, 0,
44  0, NULL);
Definition: BaseFunct2D.h:27