7 #ifndef __TNSE3D_NEWTON__
8 #define __TNSE3D_NEWTON__
16 static int TimeNSType3NewtonN_Terms = 5;
17 static MultiIndex3D TimeNSType3NewtonDerivatives[5] = { D100, D010, D001, D000, D000 };
18 static int TimeNSType3NewtonSpaceNumbers[5] = { 0, 0, 0, 0, 1 };
19 static int TimeNSType3NewtonN_Matrices = 15;
20 static int TimeNSType3NewtonRowSpace[15] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
22 static int TimeNSType3NewtonColumnSpace[15] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
24 static int TimeNSType3NewtonN_Rhs = 3;
25 static int TimeNSType3NewtonRhsSpace[3] = { 0, 0, 0 };
27 void TimeNSType3GalerkinNewton3D(
double Mult,
double *coeff,
28 double *param,
double hK,
29 double **OrigValues,
int *N_BaseFuncts,
30 double ***LocMatrices,
double **LocRhs);
32 void TimeNSType3UpwindNewton3D(
double Mult,
double *coeff,
33 double *param,
double hK,
34 double **OrigValues,
int *N_BaseFuncts,
35 double ***LocMatrices,
double **LocRhs);
37 void TimeNSType4VMS_ProjectionNewtonDD3D(
double Mult,
double *coeff,
38 double *param,
double hK,
39 double **OrigValues,
int *N_BaseFuncts,
40 double ***LocMatrices,
double **LocRhs);
42 void TimeNSType4SmagorinskyNewtonDD3D(
double Mult,
double *coeff,
43 double *param,
double hK,
44 double **OrigValues,
int *N_BaseFuncts,
45 double ***LocMatrices,
double **LocRhs);
52 static int TimeNSType3_4NLNewtonN_Terms = 4;
53 static MultiIndex3D TimeNSType3_4NLNewtonDerivatives[4] = { D100, D010, D001, D000 };
54 static int TimeNSType3_4NLNewtonSpaceNumbers[4] = { 0, 0, 0, 0 };
55 static int TimeNSType3_4NLNewtonN_Matrices = 3;
56 static int TimeNSType3_4NLNewtonRowSpace[9] = { 0, 0, 0, 0, 0, 0, 0, 0 ,0 };
57 static int TimeNSType3_4NLNewtonColumnSpace[9] = { 0, 0, 0, 0, 0, 0, 0, 0 ,0 };
58 static int TimeNSType3_4NLNewtonN_Rhs = 0;
59 static int *TimeNSType3_4NLNewtonRhsSpace = NULL;
61 void TimeNSType3_4NLGalerkinNewton3D(
double Mult,
double *coeff,
62 double *param,
double hK,
63 double **OrigValues,
int *N_BaseFuncts,
64 double ***LocMatrices,
double **LocRhs);
66 void TimeNSType3_4NLUpwindNewton3D(
double Mult,
double *coeff,
67 double *param,
double hK,
68 double **OrigValues,
int *N_BaseFuncts,
69 double ***LocMatrices,
double **LocRhs);
71 void TimeNSType3_4NLSmagorinskyNewtonDD3D(
double Mult,
double *coeff,
72 double *param,
double hK,
73 double **OrigValues,
int *N_BaseFuncts,
74 double ***LocMatrices,
double **LocRhs);
76 void TimeNSType3_4NLVMS_ProjectionNewtonDD3D(
double Mult,
double *coeff,
77 double *param,
double hK,
78 double **OrigValues,
int *N_BaseFuncts,
79 double ***LocMatrices,
double **LocRhs);
90 static int TimeNSRHSNewtonN_Terms = 1;
91 static MultiIndex3D TimeNSRHSNewtonDerivatives[1] = { D000 };
92 static int TimeNSRHSNewtonSpaceNumbers[1] = { 0 };
93 static int TimeNSRHSNewtonN_Matrices = 0;
94 static int *TimeNSRHSNewtonRowSpace = NULL;
95 static int *TimeNSRHSNewtonColumnSpace = NULL;
96 static int TimeNSRHSNewtonN_Rhs = 6;
97 static int TimeNSRHSNewtonRhsSpace[6] = { 0, 0, 0, 0, 0, 0 };
102 void TimeNSRHSNewton3D(
double Mult,
double *coeff,
103 double *param,
double hK,
104 double **OrigValues,
int *N_BaseFuncts,
105 double ***LocMatrices,
double **LocRhs);
108 void TimeNSRHSNewtonNL3D(
double Mult,
double *coeff,
109 double *param,
double hK,
110 double **OrigValues,
int *N_BaseFuncts,
111 double ***LocMatrices,
double **LocRhs);