From 9d6ef4b4fe5da1bdf828dcb170a7cc0051392e94 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Tue, 13 May 2014 10:50:05 -0600 Subject: [PATCH] SideSetsAroundSubdomain runs with ParallelMesh. The algorithm doesn't use flood(). Refs #2129. --- framework/src/meshmodifiers/SideSetsAroundSubdomain.C | 3 --- test/tests/mesh_modifiers/sidesets_around_subdomain/around.i | 1 - test/tests/mesh_modifiers/sidesets_around_subdomain/tests | 1 - 3 files changed, 5 deletions(-) diff --git a/framework/src/meshmodifiers/SideSetsAroundSubdomain.C b/framework/src/meshmodifiers/SideSetsAroundSubdomain.C index bd161bfb2687..ea64a6bc4d84 100644 --- a/framework/src/meshmodifiers/SideSetsAroundSubdomain.C +++ b/framework/src/meshmodifiers/SideSetsAroundSubdomain.C @@ -57,9 +57,6 @@ SideSetsAroundSubdomain::modify() if (!_mesh_ptr) mooseError("_mesh_ptr must be initialized before calling SideSetsAroundSubdomain::modify()!"); - // We can't call this in the constructor, it appears that _mesh_ptr is always NULL there. - _mesh_ptr->errorIfParallelDistribution("SideSetsAroundSubdomain"); - // Reference the the libMesh::MeshBase MeshBase & mesh = _mesh_ptr->getMesh(); diff --git a/test/tests/mesh_modifiers/sidesets_around_subdomain/around.i b/test/tests/mesh_modifiers/sidesets_around_subdomain/around.i index c11ccec0acf4..5f61d24e2aac 100644 --- a/test/tests/mesh_modifiers/sidesets_around_subdomain/around.i +++ b/test/tests/mesh_modifiers/sidesets_around_subdomain/around.i @@ -1,7 +1,6 @@ [Mesh] type = FileMesh file = twoblocks.e - distribution = serial [] [MeshModifiers] diff --git a/test/tests/mesh_modifiers/sidesets_around_subdomain/tests b/test/tests/mesh_modifiers/sidesets_around_subdomain/tests index d11462060e95..269828a4afad 100644 --- a/test/tests/mesh_modifiers/sidesets_around_subdomain/tests +++ b/test/tests/mesh_modifiers/sidesets_around_subdomain/tests @@ -13,6 +13,5 @@ cli_args = '--mesh-only' exodiff = 'around_normals_in.e' recover = false - mesh_mode = 'SERIAL' [../] []