ParMooN
 All Classes Functions Variables Friends Pages
NSE3D_ParamRout.h
1 // ======================================================================
2 // setting for error calculation for all types
3 // ======================================================================
4 MultiIndex3D NSAllDerivatives[4] = { D000, D100, D010, D001 };
5 MultiIndex3D NSErrorEstiamtorU_Derivatives[8] = { D100, D010, D001, D000,
6  D100, D010, D001, D000 };
7 MultiIndex3D NSErrorEstiamtorP_Derivatives[4] = { D100, D010, D000 };
8 
9 // ========================================================================
10 // parameter routines
11 // ========================================================================
12 
13 // ========================================================================
14 // parameters: u1old, u2old, u3old
15 // ========================================================================
16 void NSParamsVelo3D(double *in, double *out);
17 
18 int NSN_FESpacesVelo = 1;
19 int NSN_FctVelo = 3;
20 int NSN_ParamFctVelo = 1;
21 int NSN_FEValuesVelo = 3;
22 int NSN_ParamsVelo = 3;
23 int NSFEFctIndexVelo[3] = { 0, 1, 2 };
24 MultiIndex3D NSFEMultiIndexVelo[3] = { D000, D000, D000 };
25 ParamFct *NSFctVelo[1] = { NSParamsVelo3D };
26 int NSBeginParamVelo[1] = { 0 };
27 
28 // ========================================================================
29 // parameters: u1old, u2old, gradient(u1), gradient(u2)
30 // ========================================================================
31 void NSParamsVelo_GradVelo3D(double *in, double *out);
32 
33 int NSN_FESpacesVelo_GradVelo = 1;
34 int NSN_FctVelo_GradVelo = 3;
35 int NSN_ParamFctVelo_GradVelo = 1;
36 int NSN_FEValuesVelo_GradVelo = 12;
37 int NSN_ParamsVelo_GradVelo = 12;
38 int NSFEFctIndexVelo_GradVelo[12] = { 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2};
39 MultiIndex3D NSFEMultiIndexVelo_GradVelo[12] = { D000, D000, D000,
40  D100, D100, D100,
41  D010, D010, D010,
42  D001, D001, D001};
43 ParamFct *NSFctVelo_GradVelo[1] = { NSParamsVelo_GradVelo3D };
44 int NSBeginParamVelo_GradVelo[1] = { 0 };
45 
46 // ======================================================================
47 // auxiliary problem
48 // ======================================================================
49 void NSAuxProblem(double Mult, double *coeff,
50  double *param, double hK,
51  double **OrigValues, int *N_BaseFuncts,
52  double ***LocMatrices, double **LocRhs);
53 
54 
55 int NSAuxProblemN_Terms = 4;
56 MultiIndex3D NSAuxProblemDerivatives[4] = { D100, D010, D001, D000};
57 int NSAuxProblemSpaceNumbers[4] = { 0, 0, 0, 0};
58 int NSAuxProblemN_Matrices = 1;
59 int NSAuxProblemRowSpace[1] = { 0 };
60 int NSAuxProblemColumnSpace[1] = { 0 };
61 int NSAuxProblemN_Rhs = 3;
62 int NSAuxProblemRhsSpace[3] = { 0, 0, 0 };
63 
64 void NSParamsVeloExact(double *in, double *out);
65 ParamFct *NSFctVeloExact[1] = { NSParamsVeloExact };
66 
67 // ========================================================================
68 // parameters: separated pressure
69 // ========================================================================
70 void NSParamsPressSep(double *in, double *out);
71 
72 int NSN_FESpacesPressSep = 1;
73 int NSN_FctPressSep = 1;
74 int NSN_ParamFctPressSep = 1;
75 int NSN_FEValuesPressSep = 3;
76 int NSN_ParamsPressSep = 3;
77 int NSFEFctIndexPressSep[3] = { 0, 0, 0 };
78 MultiIndex3D NSFEMultiIndexPressSep[3] = { D100, D010, D001 };
79 ParamFct *NSFctPressSep[1] = { NSParamsPressSep };
80 int NSBeginParamPressSep[1] = { 0 };