-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSCtest_sl_tp1.txt
406 lines (318 loc) · 14.3 KB
/
SCtest_sl_tp1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
singlelevelSC
Numerical solution of reference stochastic diffusion problem.
Choose specific example:
1. Square domain (0,1)^2, affine random coefficient (Eigel expansion), constant source
2. L-shaped domain, exponential random coefficient (with analytic KL-expansion), constant source
3. Square domain (-4,4)^2, constant coefficient, random one-peak source
4. Square domain (0,1)^2, quadratic random coefficient (with Eigel expansion), constant source
5. Square domain (0,1)^2, exponential random coefficient (with Eigel expansion), constant source
6. L-shaped domain, quadratic random coefficient (with analytic KL-expansion), constant source
7. L-shaped domain, affine random coefficient (Eigel expansion), constant source
8. Square domain (0,1)^2, cookie problem (9 round inclusions), constant source
9. Square domain (0,1)^2, cookie problem (4 square inclusions), discontinuous source
10. Square domain (0,1)^2, affine random coefficient (Bachmayr expansion), constant source
: 1
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
1 file(s) copied.
Dimension of parametric space (default is 4) :
choose type of random variable
1. Uniform
2. Truncated Gaussian
Default is uniform :
Eigel standard deviation (default is 0.547) :
Piecewise linear (P1) finite element approximation
Error estimation: linear/quadratic bubble functions 1/2? (default 1) :
Estimator type:
1. hierarchical estimator (elementwise residual problems)
2. hierarchical estimator (fully assembled system for residual problem)
3. 2-level estimator
(default 1) :
Marking strategy: maximum or equilibration 1/2? (default 2) :
Threshold parameter (default 0.3) :
choose type of collocation nodes
1. Leja
2. CC
default is CC nodes :
Threshold parameter for marking indices (default 0.3) :
set the error tolerance (default is 6e-3) :
set the number of adaptive steps (default is 40) :
Grid parameter: 2 for underlying 8x4 grid (default is 3 for 16x8) :
Iteration 0
spatial error estimate is 3.8939e-02 vs 3.6465e-02 (spatial indicator)
parametric error estimate is 3.3651e-02 vs 5.5985e-02 (parametric indicator)
overall estimate from indicators is 9.2451e-02
overall direct error estimate is 7.2590e-02
Iteration 1
spatial error indicator is 3.6465e-02
parametric error indicator is 5.5985e-02
Parametric enrichment step ... new indices added
2 1 1 1
spatial error estimate is 4.3447e-02 vs 5.6326e-02 (spatial indicator)
parametric error estimate is 7.9253e-03 vs 1.7231e-02 (parametric indicator)
overall estimate from indicators is 7.3557e-02
overall direct error estimate is 5.1372e-02
Iteration 2
spatial error indicator is 5.6326e-02
parametric error indicator is 1.7231e-02
Spatial refinement step...
original number of elements is 128
new number of elements is 144
spatial error estimate is 3.9991e-02 vs 4.3453e-02 (spatial indicator)
parametric error estimate is 8.0181e-03 vs 1.7529e-02 (parametric indicator)
overall estimate from indicators is 6.0981e-02
overall direct error estimate is 4.8009e-02
Iteration 3
spatial error indicator is 4.3453e-02
parametric error indicator is 1.7529e-02
Spatial refinement step...
original number of elements is 144
new number of elements is 182
spatial error estimate is 3.3849e-02 vs 4.0016e-02 (spatial indicator)
parametric error estimate is 8.1786e-03 vs 1.8030e-02 (parametric indicator)
overall estimate from indicators is 5.8046e-02
overall direct error estimate is 4.2028e-02
Iteration 4
spatial error indicator is 4.0016e-02
parametric error indicator is 1.8030e-02
Spatial refinement step...
original number of elements is 182
new number of elements is 243
spatial error estimate is 2.8954e-02 vs 3.4251e-02 (spatial indicator)
parametric error estimate is 8.3901e-03 vs 1.8641e-02 (parametric indicator)
overall estimate from indicators is 5.2891e-02
overall direct error estimate is 3.7345e-02
Iteration 5
spatial error indicator is 3.4251e-02
parametric error indicator is 1.8641e-02
Spatial refinement step...
original number of elements is 243
new number of elements is 288
spatial error estimate is 2.6315e-02 vs 2.8463e-02 (spatial indicator)
parametric error estimate is 8.5191e-03 vs 1.9009e-02 (parametric indicator)
overall estimate from indicators is 4.7472e-02
overall direct error estimate is 3.4834e-02
Iteration 6
spatial error indicator is 2.8463e-02
parametric error indicator is 1.9009e-02
Spatial refinement step...
original number of elements is 288
new number of elements is 386
spatial error estimate is 2.3610e-02 vs 2.6915e-02 (spatial indicator)
parametric error estimate is 8.5687e-03 vs 1.9106e-02 (parametric indicator)
overall estimate from indicators is 4.6020e-02
overall direct error estimate is 3.2178e-02
Iteration 7
spatial error indicator is 2.6915e-02
parametric error indicator is 1.9106e-02
Spatial refinement step...
original number of elements is 386
new number of elements is 480
spatial error estimate is 2.0960e-02 vs 2.1823e-02 (spatial indicator)
parametric error estimate is 8.6020e-03 vs 1.9169e-02 (parametric indicator)
overall estimate from indicators is 4.0993e-02
overall direct error estimate is 2.9562e-02
Iteration 8
spatial error indicator is 2.1823e-02
parametric error indicator is 1.9169e-02
Spatial refinement step...
original number of elements is 480
new number of elements is 656
spatial error estimate is 1.7900e-02 vs 1.9759e-02 (spatial indicator)
parametric error estimate is 8.6295e-03 vs 1.9262e-02 (parametric indicator)
overall estimate from indicators is 3.9022e-02
overall direct error estimate is 2.6530e-02
Iteration 9
spatial error indicator is 1.9759e-02
parametric error indicator is 1.9262e-02
Spatial refinement step...
original number of elements is 656
new number of elements is 904
spatial error estimate is 1.6006e-02 vs 1.8108e-02 (spatial indicator)
parametric error estimate is 8.6941e-03 vs 1.9426e-02 (parametric indicator)
overall estimate from indicators is 3.7534e-02
overall direct error estimate is 2.4700e-02
Iteration 10
spatial error indicator is 1.8108e-02
parametric error indicator is 1.9426e-02
Parametric enrichment step ... new indices added
1 2 1 1
spatial error estimate is 1.6060e-02 vs 2.4203e-02 (spatial indicator)
parametric error estimate is 6.1654e-03 vs 1.7248e-02 (parametric indicator)
overall estimate from indicators is 4.1451e-02
overall direct error estimate is 2.2226e-02
Iteration 11
spatial error indicator is 2.4203e-02
parametric error indicator is 1.7248e-02
Spatial refinement step...
original number of elements is 904
new number of elements is 1160
spatial error estimate is 1.3580e-02 vs 1.9965e-02 (spatial indicator)
parametric error estimate is 6.2219e-03 vs 1.7399e-02 (parametric indicator)
overall estimate from indicators is 3.7364e-02
overall direct error estimate is 1.9802e-02
Iteration 12
spatial error indicator is 1.9965e-02
parametric error indicator is 1.7399e-02
Spatial refinement step...
original number of elements is 1160
new number of elements is 1520
spatial error estimate is 1.2192e-02 vs 1.7318e-02 (spatial indicator)
parametric error estimate is 6.2397e-03 vs 1.7451e-02 (parametric indicator)
overall estimate from indicators is 3.4769e-02
overall direct error estimate is 1.8432e-02
Iteration 13
spatial error indicator is 1.7318e-02
parametric error indicator is 1.7451e-02
Parametric enrichment step ... new indices added
2 2 1 1
redundant sparse grid solutions ..
spatial error estimate is 1.2253e-02 vs 1.9011e-02 (spatial indicator)
parametric error estimate is 4.9119e-03 vs 1.0437e-02 (parametric indicator)
overall estimate from indicators is 2.9448e-02
overall direct error estimate is 1.7165e-02
Iteration 14
spatial error indicator is 1.9011e-02
parametric error indicator is 1.0437e-02
Spatial refinement step...
original number of elements is 1520
new number of elements is 1940
redundant sparse grid solutions ..
spatial error estimate is 1.1073e-02 vs 1.6362e-02 (spatial indicator)
parametric error estimate is 4.9194e-03 vs 1.0456e-02 (parametric indicator)
overall estimate from indicators is 2.6818e-02
overall direct error estimate is 1.5993e-02
Iteration 15
spatial error indicator is 1.6362e-02
parametric error indicator is 1.0456e-02
Spatial refinement step...
original number of elements is 1940
new number of elements is 2690
redundant sparse grid solutions ..
spatial error estimate is 9.1872e-03 vs 1.4283e-02 (spatial indicator)
parametric error estimate is 4.9288e-03 vs 1.0475e-02 (parametric indicator)
overall estimate from indicators is 2.4758e-02
overall direct error estimate is 1.4116e-02
Iteration 16
spatial error indicator is 1.4283e-02
parametric error indicator is 1.0475e-02
Spatial refinement step...
original number of elements is 2690
new number of elements is 3942
redundant sparse grid solutions ..
spatial error estimate is 7.7729e-03 vs 1.2239e-02 (spatial indicator)
parametric error estimate is 4.9481e-03 vs 1.0513e-02 (parametric indicator)
overall estimate from indicators is 2.2752e-02
overall direct error estimate is 1.2721e-02
Iteration 17
spatial error indicator is 1.2239e-02
parametric error indicator is 1.0513e-02
Spatial refinement step...
original number of elements is 3942
new number of elements is 5302
redundant sparse grid solutions ..
spatial error estimate is 6.6520e-03 vs 1.0216e-02 (spatial indicator)
parametric error estimate is 4.9544e-03 vs 1.0526e-02 (parametric indicator)
overall estimate from indicators is 2.0742e-02
overall direct error estimate is 1.1606e-02
Iteration 18
spatial error indicator is 1.0216e-02
parametric error indicator is 1.0526e-02
Parametric enrichment step ... new indices added
3 1 1 1
spatial error estimate is 6.5207e-03 vs 1.3966e-02 (spatial indicator)
parametric error estimate is 3.6784e-03 vs 7.9393e-03 (parametric indicator)
overall estimate from indicators is 2.1905e-02
overall direct error estimate is 1.0199e-02
Iteration 19
spatial error indicator is 1.3966e-02
parametric error indicator is 7.9393e-03
Spatial refinement step...
original number of elements is 5302
new number of elements is 7030
spatial error estimate is 5.6669e-03 vs 1.1912e-02 (spatial indicator)
parametric error estimate is 3.6806e-03 vs 7.9452e-03 (parametric indicator)
overall estimate from indicators is 1.9857e-02
overall direct error estimate is 9.3475e-03
Iteration 20
spatial error indicator is 1.1912e-02
parametric error indicator is 7.9452e-03
Spatial refinement step...
original number of elements is 7030
new number of elements is 9306
spatial error estimate is 4.8759e-03 vs 1.0137e-02 (spatial indicator)
parametric error estimate is 3.6819e-03 vs 7.9492e-03 (parametric indicator)
overall estimate from indicators is 1.8087e-02
overall direct error estimate is 8.5578e-03
Iteration 21
spatial error indicator is 1.0137e-02
parametric error indicator is 7.9492e-03
Spatial refinement step...
original number of elements is 9306
new number of elements is 14013
spatial error estimate is 4.0868e-03 vs 8.8229e-03 (spatial indicator)
parametric error estimate is 3.6852e-03 vs 7.9574e-03 (parametric indicator)
overall estimate from indicators is 1.6780e-02
overall direct error estimate is 7.7719e-03
Iteration 22
spatial error indicator is 8.8229e-03
parametric error indicator is 7.9574e-03
Spatial refinement step...
original number of elements is 14013
new number of elements is 18934
spatial error estimate is 3.4765e-03 vs 7.5949e-03 (spatial indicator)
parametric error estimate is 3.6866e-03 vs 7.9609e-03 (parametric indicator)
overall estimate from indicators is 1.5556e-02
overall direct error estimate is 7.1631e-03
Iteration 23
spatial error indicator is 7.5949e-03
parametric error indicator is 7.9609e-03
Parametric enrichment step ... new indices added
1 1 2 1
spatial error estimate is 3.4827e-03 vs 9.5339e-03 (spatial indicator)
parametric error estimate is 2.9250e-03 vs 7.9216e-03 (parametric indicator)
overall estimate from indicators is 1.7456e-02
overall direct error estimate is 6.4077e-03
Iteration 24
spatial error indicator is 9.5339e-03
parametric error indicator is 7.9216e-03
Spatial refinement step...
original number of elements is 18934
new number of elements is 24148
spatial error estimate is 3.0836e-03 vs 8.0244e-03 (spatial indicator)
parametric error estimate is 2.9251e-03 vs 7.9223e-03 (parametric indicator)
overall estimate from indicators is 1.5947e-02
overall direct error estimate is 6.0086e-03
Iteration 25
spatial error indicator is 8.0244e-03
parametric error indicator is 7.9223e-03
Spatial refinement step...
original number of elements is 24148
new number of elements is 32456
spatial error estimate is 2.6280e-03 vs 6.8245e-03 (spatial indicator)
parametric error estimate is 2.9256e-03 vs 7.9240e-03 (parametric indicator)
overall estimate from indicators is 1.4748e-02
overall direct error estimate is 5.5536e-03
Final sparse grid
1 1 1 1
1 1 2 1
1 1 3 1
1 2 1 1
1 3 1 1
2 1 1 1
2 2 1 1
2 3 1 1
3 1 1 1
3 2 1 1
3 3 1 1
4 1 1 1
5 1 1 1
Tolerance was reached in 25 iterations
after 5 parametric refinements
Mean maximum 0.075810
Variance maximum 0.000050
Standard Deviation maximum 0.007078
Total elapsed time: 139.44 sec
To compute a reference solution run the script referenceSC