ParMooN
 All Classes Functions Variables Friends Pages
NF_C_T_P00_3D.h
1 /*
2  TNodalFunctional3D(NodalFunctional3D id,
3  int n_allfunctionals, int *n_facefunctionals,
4  int n_pointsall, int *n_pointsface,
5  double *xi, double *eta, double *zeta,
6  double **xiarray, double **etaarray,
7  double **zetaarray,
8  DoubleFunctVect *evalall,
9  DoubleFunctVect *evalface);
10 */
11 
12 /* for all functionals */
13 static double NF_C_T_P00_3D_Xi[] = { 0.25 };
14 static double NF_C_T_P00_3D_Eta[] = { 0.25 };
15 static double NF_C_T_P00_3D_Zeta[] = { 0.25 };
16 
17 /* face 0 0 */
18 static double *NF_C_T_P00_3D_F0_Xi = NULL;
19 static double *NF_C_T_P00_3D_F0_Eta = NULL;
20 static double *NF_C_T_P00_3D_F0_Zeta = NULL;
21 
22 /* face 1 1 */
23 static double *NF_C_T_P00_3D_F1_Xi = NULL;
24 static double *NF_C_T_P00_3D_F1_Eta = NULL;
25 static double *NF_C_T_P00_3D_F1_Zeta = NULL;
26 
27 /* face 2 2 */
28 static double *NF_C_T_P00_3D_F2_Xi = NULL;
29 static double *NF_C_T_P00_3D_F2_Eta = NULL;
30 static double *NF_C_T_P00_3D_F2_Zeta = NULL;
31 
32 /* face 3 3 */
33 static double *NF_C_T_P00_3D_F3_Xi = NULL;
34 static double *NF_C_T_P00_3D_F3_Eta = NULL;
35 static double *NF_C_T_P00_3D_F3_Zeta = NULL;
36 
37 static double *NF_C_T_P00_3D_XiArray[4] = {
38  NF_C_T_P00_3D_F0_Xi,
39  NF_C_T_P00_3D_F1_Xi,
40  NF_C_T_P00_3D_F2_Xi,
41  NF_C_T_P00_3D_F3_Xi };
42 
43 static double *NF_C_T_P00_3D_EtaArray[4] = {
44  NF_C_T_P00_3D_F0_Eta,
45  NF_C_T_P00_3D_F1_Eta,
46  NF_C_T_P00_3D_F2_Eta,
47  NF_C_T_P00_3D_F3_Eta };
48 
49 static double *NF_C_T_P00_3D_ZetaArray[4] = {
50  NF_C_T_P00_3D_F0_Zeta,
51  NF_C_T_P00_3D_F1_Zeta,
52  NF_C_T_P00_3D_F2_Zeta,
53  NF_C_T_P00_3D_F3_Zeta };
54 
55 static double *NF_C_T_P00_3D_T = NULL;
56 static double *NF_C_T_P00_3D_S = NULL;
57 
58 void NF_C_T_P00_3D_EvalAll(TCollection *Coll, TBaseCell *Cell,
59  double *PointValues, double *Functionals)
60 {
61  Functionals[0] = PointValues[0];
62 }
63 
64 void NF_C_T_P00_3D_EvalFace(TCollection *Coll, TBaseCell *Cell, int Joint,
65  double *PointValues, double *Functionals)
66 {
67 }
68 
69 static int NF_C_T_P00_3D_N_AllFunctionals = 1;
70 static int NF_C_T_P00_3D_N_PointsAll = 1;
71 static int NF_C_T_P00_3D_N_FaceFunctionals[] = { 0, 0, 0, 0 };
72 static int NF_C_T_P00_3D_N_PointsFace[] = { 0, 0, 0, 0 };
73 
74 TNodalFunctional3D *NF_C_T_P00_3D_Obj = new TNodalFunctional3D
75  (NF_C_T_P00_3D, NF_C_T_P00_3D_N_AllFunctionals,
76  NF_C_T_P00_3D_N_FaceFunctionals, NF_C_T_P00_3D_N_PointsAll,
77  NF_C_T_P00_3D_N_PointsFace,
78  NF_C_T_P00_3D_Xi, NF_C_T_P00_3D_Eta, NF_C_T_P00_3D_Zeta,
79  NF_C_T_P00_3D_XiArray, NF_C_T_P00_3D_EtaArray,
80  NF_C_T_P00_3D_ZetaArray,
81  NF_C_T_P00_3D_T, NF_C_T_P00_3D_S,
82  NF_C_T_P00_3D_EvalAll, NF_C_T_P00_3D_EvalFace);
Definition: NodalFunctional3D.h:21
store cells in an array, used by cell iterators
Definition: Collection.h:18
information for finite element data structure
Definition: BaseCell.h:25