Skip to content

Commit

Permalink
Indent
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Nov 30, 2023
1 parent 30f590d commit 7922581
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions source/mesh_deformation/interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1482,21 +1482,21 @@ namespace aspect

MGLevelObject<dealii::LinearAlgebra::distributed::Vector<double>> distributed_level_displacements;
distributed_level_displacements.resize(0, n_levels-1);
for (unsigned int level = 0; level < n_levels; ++level)
{
distributed_level_displacements[level].reinit(mesh_deformation_dof_handler.locally_owned_mg_dofs(level),
sim.mpi_communicator);
}
for (unsigned int level = 0; level < n_levels; ++level)
{
distributed_level_displacements[level].reinit(mesh_deformation_dof_handler.locally_owned_mg_dofs(level),
sim.mpi_communicator);
}

mg_transfer.interpolate_to_mg(mesh_deformation_dof_handler,
distributed_level_displacements,
displacements);

for (unsigned int level = 0; level < n_levels; ++level)
{
level_displacements[level] = distributed_level_displacements[level];
level_displacements[level].update_ghost_values();
}
{
level_displacements[level] = distributed_level_displacements[level];
level_displacements[level].update_ghost_values();
}

}

Expand Down

0 comments on commit 7922581

Please sign in to comment.