ParMooN
 All Classes Functions Variables Friends Pages
NSE2D_Newton.h
1 // ======================================================================
2 // @(#)NSE2D_Newton.h 1.2 04/13/00
3 //
4 // common declaration for all Navier-Stokes problems
5 // ======================================================================
6 
7 #ifndef __NSE2D_Newton__
8 #define __NSE2D_Newton__
9 
10 #include <Enumerations.h>
11 
12 // ======================================================================
13 // Type 3, Standard Galerkin, (grad u, grad v)
14 // ======================================================================
15 void NSType3GalerkinNewton(double Mult, double *coeff,
16  double *param, double hK,
17  double **OrigValues, int *N_BaseFuncts,
18  double ***LocMatrices, double **LocRhs);
19 
20 // ======================================================================
21 // Type 3, Standard Galerkin, D(u):D(v)
22 // ======================================================================
23 void NSType3GalerkinDDNewton(double Mult, double *coeff,
24  double *param, double hK,
25  double **OrigValues, int *N_BaseFuncts,
26  double ***LocMatrices, double **LocRhs);
27 
28 // ======================================================================
29 // for Type 3 is SDFEM not available
30 // ======================================================================
31 
32 // ======================================================================
33 // Type 3, Upwind (no convection term), (grad u, grad v)
34 // ======================================================================
35 void NSType3UpwindNewton(double Mult, double *coeff,
36  double *param, double hK,
37  double **OrigValues, int *N_BaseFuncts,
38  double ***LocMatrices, double **LocRhs);
39 
40 // ======================================================================
41 // Type 3, Upwind (no convection term), D(u):D(v)
42 // ======================================================================
43 void NSType3UpwindDDNewton(double Mult, double *coeff,
44  double *param, double hK,
45  double **OrigValues, int *N_BaseFuncts,
46  double ***LocMatrices, double **LocRhs);
47 
48 // ======================================================================
49 // Type 3, Smagorinsky, (grad u, grad v)
50 // ======================================================================
51 void NSType3SmagorinskyNewton(double Mult, double *coeff,
52  double *param, double hK,
53  double **OrigValues, int *N_BaseFuncts,
54  double ***LocMatrices, double **LocRhs);
55 
56 // ======================================================================
57 // Type 3, Smagorinsky, D(u):D(v)
58 // ======================================================================
59 void NSType3SmagorinskyDDNewton(double Mult, double *coeff,
60  double *param, double hK,
61  double **OrigValues, int *N_BaseFuncts,
62  double ***LocMatrices, double **LocRhs);
63 
64 
65 // ======================================================================
66 // Type 4, Standard Galerkin, (grad u, grad v)
67 // ======================================================================
68 void NSType4GalerkinNewton(double Mult, double *coeff,
69  double *param, double hK,
70  double **OrigValues, int *N_BaseFuncts,
71  double ***LocMatrices, double **LocRhs);
72 
73 // ======================================================================
74 // Type 4, Standard Galerkin, D(u):D(v)
75 // ======================================================================
76 void NSType4GalerkinDDNewton(double Mult, double *coeff,
77  double *param, double hK,
78  double **OrigValues, int *N_BaseFuncts,
79  double ***LocMatrices, double **LocRhs);
80 
81 // ======================================================================
82 // Type 4, SDFEM, (grad u, grad v)
83 // ======================================================================
84 void NSType4SDFEMNewton(double Mult, double *coeff,
85  double *param, double hK,
86  double **OrigValues, int *N_BaseFuncts,
87  double ***LocMatrices, double **LocRhs);
88 
89 // ======================================================================
90 // Type 4, SDFEM, D(u):D(v)
91 // ======================================================================
92 void NSType4SDFEMDDNewton(double Mult, double *coeff,
93  double *param, double hK,
94  double **OrigValues, int *N_BaseFuncts,
95  double ***LocMatrices, double **LocRhs);
96 
97 // ======================================================================
98 // Type 4, Upwind (no convection terms), (grad u, grad v)
99 // ======================================================================
100 void NSType4UpwindNewton(double Mult, double *coeff,
101  double *param, double hK,
102  double **OrigValues, int *N_BaseFuncts,
103  double ***LocMatrices, double **LocRhs);
104 
105 // ======================================================================
106 // Type 4, Upwind (no convection terms), D(u):D(v)
107 // ======================================================================
108 void NSType4UpwindDDNewton(double Mult, double *coeff,
109  double *param, double hK,
110  double **OrigValues, int *N_BaseFuncts,
111  double ***LocMatrices, double **LocRhs);
112 
113 // ======================================================================
114 // Type 4, Smagorinsky, (grad u, grad v)
115 // ======================================================================
116 void NSType4SmagorinskyNewton(double Mult, double *coeff,
117  double *param, double hK,
118  double **OrigValues, int *N_BaseFuncts,
119  double ***LocMatrices, double **LocRhs);
120 
121 // ======================================================================
122 // Type 4, Smagorinsky, D(u):D(v)
123 // ======================================================================
124 void NSType4SmagorinskyDDNewton(double Mult, double *coeff,
125  double *param, double hK,
126  double **OrigValues, int *N_BaseFuncts,
127  double ***LocMatrices, double **LocRhs);
128 
129 // ======================================================================
130 // Type 3, Standard Galerkin, (grad u, grad v)
131 // ======================================================================
132 void NSType3NLGalerkinNewton(double Mult, double *coeff,
133  double *param, double hK,
134  double **OrigValues, int *N_BaseFuncts,
135  double ***LocMatrices, double **LocRhs);
136 
137 // ======================================================================
138 // Type 3, Standard Galerkin, D(u):D(v)
139 // ======================================================================
140 void NSType3NLGalerkinDDNewton(double Mult, double *coeff,
141  double *param, double hK,
142  double **OrigValues, int *N_BaseFuncts,
143  double ***LocMatrices, double **LocRhs);
144 
145 // ======================================================================
146 // Type 3, Upwind (no convection term), (grad u, grad v)
147 // ======================================================================
148 void NSType3NLUpwindNewton(double Mult, double *coeff,
149  double *param, double hK,
150  double **OrigValues, int *N_BaseFuncts,
151  double ***LocMatrices, double **LocRhs);
152 
153 // ======================================================================
154 // Type 3, Upwind (no convection term), D(u):D(v)
155 // ======================================================================
156 void NSType3NLUpwindDDNewton(double Mult, double *coeff,
157  double *param, double hK,
158  double **OrigValues, int *N_BaseFuncts,
159  double ***LocMatrices, double **LocRhs);
160 
161 // ======================================================================
162 // Type 3, Smagorinsky, (grad u, grad v)
163 // ======================================================================
164 void NSType3NLSmagorinskyNewton(double Mult, double *coeff,
165  double *param, double hK,
166  double **OrigValues, int *N_BaseFuncts,
167  double ***LocMatrices, double **LocRhs);
168 
169 // ======================================================================
170 // Type 3, Smagorinsky, D(u):D(v)
171 // ======================================================================
172 void NSType3NLSmagorinskyDDNewton(double Mult, double *coeff,
173  double *param, double hK,
174  double **OrigValues, int *N_BaseFuncts,
175  double ***LocMatrices, double **LocRhs);
176 
177 // ======================================================================
178 // Type 4, Standard Galerkin, (grad u, grad v)
179 // ======================================================================
180 void NSType4NLGalerkinNewton(double Mult, double *coeff,
181  double *param, double hK,
182  double **OrigValues, int *N_BaseFuncts,
183  double ***LocMatrices, double **LocRhs);
184 
185 // ======================================================================
186 // Type 4, Standard Galerkin, D(u):D(v)
187 // ======================================================================
188 void NSType4NLGalerkinDDNewton(double Mult, double *coeff,
189  double *param, double hK,
190  double **OrigValues, int *N_BaseFuncts,
191  double ***LocMatrices, double **LocRhs);
192 
193 // ======================================================================
194 // Type 4, SDFEM, (grad u, grad v)
195 // ======================================================================
196 void NSType4NLSDFEMNewton(double Mult, double *coeff,
197  double *param, double hK,
198  double **OrigValues, int *N_BaseFuncts,
199  double ***LocMatrices, double **LocRhs);
200 
201 // ======================================================================
202 // Type 4, SDFEM, D(u):D(v)
203 // ======================================================================
204 void NSType4NLSDFEMDDNewton(double Mult, double *coeff,
205  double *param, double hK,
206  double **OrigValues, int *N_BaseFuncts,
207  double ***LocMatrices, double **LocRhs);
208 
209 // ======================================================================
210 // Type 4, Upwind (no convection terms), (grad u, grad v)
211 // ======================================================================
212 void NSType4NLUpwindNewton(double Mult, double *coeff,
213  double *param, double hK,
214  double **OrigValues, int *N_BaseFuncts,
215  double ***LocMatrices, double **LocRhs);
216 
217 // ======================================================================
218 // Type 4, Upwind (no convection terms), D(u):D(v)
219 // ======================================================================
220 void NSType4NLUpwindDDNewton(double Mult, double *coeff,
221  double *param, double hK,
222  double **OrigValues, int *N_BaseFuncts,
223  double ***LocMatrices, double **LocRhs);
224 
225 // ======================================================================
226 // Type 4, Smagorinsky, (grad u, grad v), nonlinear
227 // ======================================================================
228 void NSType4NLSmagorinskyNewton(double Mult, double *coeff,
229  double *param, double hK,
230  double **OrigValues, int *N_BaseFuncts,
231  double ***LocMatrices, double **LocRhs);
232 
233 // ======================================================================
234 // Type 4, Smagorinsky, D(u):D(v), nonlinear
235 // ======================================================================
236 void NSType4NLSmagorinskyDDNewton(double Mult, double *coeff,
237  double *param, double hK,
238  double **OrigValues, int *N_BaseFuncts,
239  double ***LocMatrices, double **LocRhs);
240 
241 
242 #endif