Skip to content

Commit c174616

Browse files
committed
-dm_view no longer gives output suitable for regression testing
1 parent 60a4955 commit c174616

File tree

4 files changed

+2
-32
lines changed

4 files changed

+2
-32
lines changed

python/ch13/makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ runfish_1:
44
-@../ftestit.sh fish.py "-mx 5 -my 5 -k 2 -s_ksp_type preonly -s_pc_type lu" 1 1
55

66
runfish_2:
7-
-@../ftestit.sh fish.py "-refine 2 -dm_view -s_ksp_converged_reason -s_pc_type mg -s_mg_levels_ksp_max_it 3" 2 2
7+
-@../ftestit.sh fish.py "-refine 2 -s_ksp_converged_reason -s_pc_type mg -s_mg_levels_ksp_max_it 3" 2 2
88

99
runfish_3:
1010
-@../ftestit.sh fish.py "-refine 1 -s_snes_type newtonls -s_snes_converged_reason -s_ksp_converged_reason -s_pc_type gamg" 1 3

python/ch13/output/fish.py.test2

-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
DM Object: DM_0xc4000003_2 2 MPI processes
2-
type: plex
3-
DM_0xc4000003_2 in 2 dimensions:
4-
Number of 0-cells per rank: 53 53
5-
Number of 1-cells per rank: 124 124
6-
Number of 2-cells per rank: 72 72
7-
Labels:
8-
depth: 3 strata with value/size (0 (53), 1 (124), 2 (72))
9-
celltype: 3 strata with value/size (0 (53), 1 (124), 3 (72))
10-
Face Sets: 3 strata with value/size (1 (9), 2 (11), 4 (17))
11-
exterior_facets: 1 strata with value/size (1 (35))
12-
interior_facets: 1 strata with value/size (1 (159))
13-
pyop2_core: 1 strata with value/size (1 (150))
14-
pyop2_owned: 1 strata with value/size (1 (50))
15-
pyop2_ghost: 1 strata with value/size (1 (49))
161
Linear s_ solve converged due to CONVERGED_RTOL iterations 3
172
done on 9 x 9 grid with P_1 elements:
183
error |u-uexact|_inf = 2.573e-04, |u-uexact|_h = 1.358e-04

python/ch14/makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runstokes_4:
2121
-@../ftestit.sh stokes.py "-pdegree 0 -dp -refine 1 -s_ksp_type minres -s_ksp_converged_reason -schurgmg diag -schurpre mass" 1 4
2222

2323
runstokes_5:
24-
-@../ftestit.sh stokes.py "-nobase -refine 1 -dm_view -showinfo -s_ksp_monitor_short -s_ksp_rtol 1.0e-3 -schurgmg lower" 2 5
24+
-@../ftestit.sh stokes.py "-nobase -refine 1 -showinfo -s_ksp_monitor_short -s_ksp_rtol 1.0e-3 -schurgmg lower" 2 5
2525

2626
runstokes_6:
2727
-@../ftestit.sh stokes.py "-vectorlap -analytical -refine 1 -s_ksp_type gmres -s_ksp_converged_reason -schurgmg lower" 1 6

python/ch14/output/stokes.py.test5

-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
DM Object: DM_0xc4000003_1 2 MPI processes
2-
type: plex
3-
DM_0xc4000003_1 in 2 dimensions:
4-
Number of 0-cells per rank: 19 19
5-
Number of 1-cells per rank: 38 38
6-
Number of 2-cells per rank: 20 20
7-
Labels:
8-
depth: 3 strata with value/size (0 (19), 1 (38), 2 (20))
9-
celltype: 3 strata with value/size (0 (19), 1 (38), 3 (20))
10-
Face Sets: 3 strata with value/size (1 (5), 2 (7), 4 (9))
11-
exterior_facets: 1 strata with value/size (1 (19))
12-
interior_facets: 1 strata with value/size (1 (47))
13-
pyop2_core: 1 strata with value/size (1 (26))
14-
pyop2_owned: 1 strata with value/size (1 (26))
15-
pyop2_ghost: 1 strata with value/size (1 (25))
161
solving on 5 x 5 grid with P_2 x P_1 Taylor-Hood elements ...
172
Residual norms for s_ solve.
183
0 KSP Residual norm 20.279

0 commit comments

Comments
 (0)