Skip to content

Commit

Permalink
Fixup reading parallel CheckpointIO files refs idaholab#7752
Browse files Browse the repository at this point in the history
  • Loading branch information
friedmud committed Feb 2, 2017
1 parent 1f6bce4 commit ccb9601
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions framework/src/mesh/FileMesh.C
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,19 @@ FileMesh::buildMesh()

DistributedMesh * pmesh = cast_ptr<DistributedMesh *>(&mesh);

//mesh.allow_renumbering(false);

if (pmesh)
reader.parallel() = true;

reader.read(_file_name);

mesh.update_parallel_id_counts();
//mesh.update_parallel_id_counts();
//mesh.find_neighbors(true, true);
//mesh.update_parallel_id_counts();
//mesh.redistribute();
//mesh.delete_remote_elements();
mesh.skip_partitioning(true);
//mesh.redistribute();
mesh.prepare_for_use();
mesh.print_info();
}
Expand Down

0 comments on commit ccb9601

Please sign in to comment.