Skip to content

Commit

Permalink
Set sidesets and subdomains in MeshInfo to root
Browse files Browse the repository at this point in the history
  • Loading branch information
loganharbour committed Nov 18, 2021
1 parent eae615c commit c9a8afd
Show file tree
Hide file tree
Showing 15 changed files with 580 additions and 1,877 deletions.
11 changes: 5 additions & 6 deletions framework/src/reporters/MeshInfo.C
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ MeshInfo::validParams()
MultiMooseEnum items(
"num_dofs num_dofs_nonlinear num_dofs_auxiliary num_elements num_nodes num_local_dofs "
"num_local_dofs_nonlinear num_local_dofs_auxiliary num_local_elements num_local_nodes "
"local_sidesets local_sideset_elems sidesets sideset_elems"
"local_subdomains local_subdomain_elems subdomains subdomain_elems");
"local_sidesets local_sideset_elems sidesets sideset_elems local_subdomains "
"local_subdomain_elems subdomains subdomain_elems");
params.addParam<MultiMooseEnum>(
"items",
items,
Expand Down Expand Up @@ -54,17 +54,16 @@ MeshInfo::MeshInfo(const InputParameters & parameters)
REPORTER_MODE_DISTRIBUTED)),
_local_sideset_elems(declareHelper<std::map<BoundaryID, SidesetInfo>>(
"local_sideset_elems", REPORTER_MODE_DISTRIBUTED)),
_sidesets(
declareHelper<std::map<BoundaryID, SidesetInfo>>("sidesets", REPORTER_MODE_REPLICATED)),
_sidesets(declareHelper<std::map<BoundaryID, SidesetInfo>>("sidesets", REPORTER_MODE_ROOT)),
_sideset_elems(
declareHelper<std::map<BoundaryID, SidesetInfo>>("sideset_elems", REPORTER_MODE_ROOT)),

_local_subdomains(declareHelper<std::map<SubdomainID, SubdomainInfo>>(
"local_subdomains", REPORTER_MODE_DISTRIBUTED)),
_local_subdomain_elems(declareHelper<std::map<SubdomainID, SubdomainInfo>>(
"local_subdomain_elems", REPORTER_MODE_DISTRIBUTED)),
_subdomains(declareHelper<std::map<SubdomainID, SubdomainInfo>>("subdomains",
REPORTER_MODE_REPLICATED)),
_subdomains(
declareHelper<std::map<SubdomainID, SubdomainInfo>>("subdomains", REPORTER_MODE_ROOT)),
_subdomain_elems(
declareHelper<std::map<SubdomainID, SubdomainInfo>>("subdomain_elems", REPORTER_MODE_ROOT)),

Expand Down
88 changes: 0 additions & 88 deletions test/tests/mesh_modifiers/rename_block/except.i

This file was deleted.

Binary file not shown.
Binary file not shown.
113 changes: 0 additions & 113 deletions test/tests/mesh_modifiers/rename_block/rename1.i

This file was deleted.

142 changes: 0 additions & 142 deletions test/tests/mesh_modifiers/rename_block/rename2.i

This file was deleted.

0 comments on commit c9a8afd

Please sign in to comment.