Skip to content

Commit

Permalink
Transitioning from mesh_mode = 'SERIAL' (which is no longer sufficien…
Browse files Browse the repository at this point in the history
…t) to adding 'distribution = serial' in Periodic BCs tests.

Periodic BCs do not currently work with ParallelMesh on more than one
processor, but most of these input files will actually work with
ParallelMesh enabled if you run on 1 processor...

Refs #2105.
Refs #2119.

r20834
  • Loading branch information
John Peterson authored and permcody committed Feb 14, 2014
1 parent d9fb1d4 commit 37fbf05
Show file tree
Hide file tree
Showing 21 changed files with 53 additions and 24 deletions.
3 changes: 3 additions & 0 deletions test/tests/bcs/periodic/all_periodic_trans.i
Expand Up @@ -9,6 +9,9 @@
zmin = 0
zmax = 0
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
3 changes: 3 additions & 0 deletions test/tests/bcs/periodic/auto_periodic_bc_non_generated.i
@@ -1,6 +1,9 @@
[Mesh]
file = square2.e
uniform_refine = 3
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Variables]
Expand Down
4 changes: 3 additions & 1 deletion test/tests/bcs/periodic/auto_periodic_bc_test.i
Expand Up @@ -4,11 +4,13 @@
nx = 50
ny = 50
nz = 0

xmax = 40
ymax = 40
zmax = 0
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Variables]
Expand Down
4 changes: 3 additions & 1 deletion test/tests/bcs/periodic/auto_periodic_bc_test_3d.i
Expand Up @@ -4,11 +4,13 @@
nx = 10
ny = 10
nz = 10

xmax = 40
ymax = 40
zmax = 40
elem_type = HEX8
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Variables]
Expand Down
3 changes: 3 additions & 0 deletions test/tests/bcs/periodic/orthogonal_pbc_on_square.i
Expand Up @@ -9,6 +9,9 @@
zmin = 0
zmax = 0
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
4 changes: 4 additions & 0 deletions test/tests/bcs/periodic/parallel_pbc_using_trans.i
Expand Up @@ -9,6 +9,10 @@
zmin = 0
zmax = 0
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs. Note: it might work with 2 processors
# but not with 4.
distribution = serial
[]

[Functions]
Expand Down
4 changes: 3 additions & 1 deletion test/tests/bcs/periodic/periodic_bc_test.i
Expand Up @@ -4,11 +4,13 @@
nx = 50
ny = 50
nz = 0

xmax = 40
ymax = 40
zmax = 0
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Variables]
Expand Down
5 changes: 3 additions & 2 deletions test/tests/bcs/periodic/periodic_level_1_test.i
Expand Up @@ -4,13 +4,14 @@
nx = 4
ny = 4
nz = 0

xmax = 40
ymax = 40
zmax = 0
elem_type = QUAD4

uniform_refine = 4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Variables]
Expand Down
3 changes: 3 additions & 0 deletions test/tests/bcs/periodic/periodic_subdomain_restricted_test.i
@@ -1,5 +1,8 @@
[Mesh]
file = rect-2blk.e
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Variables]
Expand Down
13 changes: 0 additions & 13 deletions test/tests/bcs/periodic/tests
Expand Up @@ -4,15 +4,13 @@
input = 'all_periodic_trans.i'
exodiff = 'all_periodic_trans_out.e'
group = 'periodic'
mesh_mode = 'SERIAL'
[../]

[./auto_wrap_2d_test]
type = 'Exodiff'
input = 'auto_periodic_bc_test.i'
exodiff = 'out_auto.e'
group = 'periodic'
mesh_mode = 'SERIAL'
abs_zero = 1e-6
[../]

Expand All @@ -21,7 +19,6 @@
input = 'auto_periodic_bc_non_generated.i'
exodiff = 'out_auto_non_generated.e'
group = 'periodic'
mesh_mode = 'SERIAL'
[../]

[./auto_wrap_2d_test_error_check]
Expand All @@ -38,7 +35,6 @@
input = ' auto_periodic_bc_test_3d.i '
exodiff = 'out_auto_3d.e'
group = 'periodic'
mesh_mode = 'SERIAL'
no_valgrind = True
abs_zero = 1e-6
[../]
Expand All @@ -48,23 +44,20 @@
input = 'orthogonal_pbc_on_square.i'
exodiff = 'orthogonal_pbc_on_square_out.e'
group = 'periodic'
mesh_mode = 'SERIAL'
[../]

[./parallel_pbc_using_trans_test]
type = 'Exodiff'
input = ' parallel_pbc_using_trans.i '
exodiff = 'parallel_pbc_using_trans_out.e'
group = 'periodic'
mesh_mode = 'SERIAL'
[../]

[./subdomain_restricted_vars_test]
type = 'Exodiff'
input = 'periodic_subdomain_restricted_test.i'
exodiff = 'out_restrict.e'
group = 'periodic'
mesh_mode = 'SERIAL'
deleted = 'Libmesh Bug #1410'
[../]

Expand All @@ -73,7 +66,6 @@
input = 'periodic_level_1_test.i'
exodiff = 'level1.e level1.e-s005 level1.e-s010'
group = 'periodic'
mesh_mode = 'SERIAL'
group = 'adaptive periodic'
no_valgrind = True
abs_zero = 1e-6
Expand All @@ -84,7 +76,6 @@
input = 'periodic_bc_test.i'
exodiff = 'out.e'
group = 'periodic'
mesh_mode = 'SERIAL'
abs_zero = 1e-6
[../]

Expand All @@ -93,16 +84,13 @@
input = 'trapezoid.i'
exodiff = 'out_trapezoid.e'
group = 'periodic'
mesh_mode = 'SERIAL'
[../]

[./testwedge]
type = 'Exodiff'
input = 'wedge.i'
exodiff = 'out_wedge.e'
max_parallel = 1
group = 'periodic'
mesh_mode = 'SERIAL'
[../]

[./testwedgesys]
Expand All @@ -111,6 +99,5 @@
exodiff = 'out_wedge_sys.e'
max_parallel = 1
group = 'periodic'
mesh_mode = 'SERIAL'
[../]
[]
3 changes: 3 additions & 0 deletions test/tests/bcs/periodic/trapezoid.i
@@ -1,6 +1,9 @@
[Mesh]
file = trapezoid.e
uniform_refine = 1
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
3 changes: 3 additions & 0 deletions test/tests/bcs/periodic/wedge.i
@@ -1,6 +1,9 @@
[Mesh]
file = wedge.e
uniform_refine = 1
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
3 changes: 3 additions & 0 deletions test/tests/bcs/periodic/wedge_sys.i
@@ -1,6 +1,9 @@
[Mesh]
file = wedge.e
# uniform_refine = 1
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
4 changes: 3 additions & 1 deletion test/tests/mesh/named_entities/periodic_bc_names_test.i
Expand Up @@ -4,11 +4,13 @@
nx = 50
ny = 50
nz = 0

xmax = 40
ymax = 40
zmax = 0
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Variables]
Expand Down
1 change: 0 additions & 1 deletion test/tests/mesh/named_entities/tests
Expand Up @@ -11,7 +11,6 @@
input = 'periodic_bc_names_test.i'
exodiff = 'periodic_bc_names_test_out.e'
group = 'periodic'
mesh_mode = 'SERIAL'
abs_zero = 1e-6
[../]

Expand Down
3 changes: 3 additions & 0 deletions test/tests/postprocessors/nodal_pps/nodal_extreme_pps_test.i
Expand Up @@ -2,6 +2,9 @@
type = FileMesh
file = trapezoid.e
uniform_refine = 1
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
3 changes: 3 additions & 0 deletions test/tests/postprocessors/nodal_pps/nodal_max_pps_test.i
@@ -1,6 +1,9 @@
[Mesh]
file = trapezoid.e
uniform_refine = 1
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
4 changes: 1 addition & 3 deletions test/tests/postprocessors/nodal_pps/tests
Expand Up @@ -5,19 +5,17 @@
exodiff = 'nodal_nodeset_pps_test_out.e'
[../]

[./nodal_extreme]
[./nodal_extreme]
type = 'Exodiff'
input = 'nodal_extreme_pps_test.i'
exodiff = 'nodal_extreme_pps_test_out.e'
group = 'periodic'
mesh_mode = 'SERIAL'
[../]

[./testnodalpps]
type = 'Exodiff'
input = 'nodal_max_pps_test.i'
exodiff = 'nodal_max_pps_test_out.e'
group = 'periodic'
mesh_mode = 'SERIAL'
[../]
[]
Expand Up @@ -8,6 +8,9 @@
nx = 4
ny = 4
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
Expand Up @@ -8,6 +8,9 @@
nx = 4
ny = 4
elem_type = QUAD4
# This test will not work in parallel with ParallelMesh enabled
# due to a bug in PeriodicBCs.
distribution = serial
[]

[Functions]
Expand Down
1 change: 0 additions & 1 deletion test/tests/variables/fe_hermite_convergence/tests
Expand Up @@ -5,7 +5,6 @@
exodiff = 'hermite_converge_periodic_out.e-s003'
group = 'periodic'
no_valgrind = true
mesh_mode = 'SERIAL'
[../]

[./test_hermite_converge_neumann]
Expand Down

0 comments on commit 37fbf05

Please sign in to comment.