Skip to content

Commit

Permalink
more indent
Browse files Browse the repository at this point in the history
  • Loading branch information
pengfej committed Mar 4, 2022
1 parent 531e666 commit d2b936a
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions source/dofs/dof_handler_policy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3913,13 +3913,12 @@ namespace internal
// --------- Phase 4: shift indices so that each processor has a unique
// range of indices
dealii::types::global_dof_index my_shift = 0;
const int ierr =
MPI_Exscan(&n_locally_owned_dofs,
&my_shift,
1,
DEAL_II_DOF_INDEX_MPI_TYPE,
MPI_SUM,
triangulation->get_communicator());
const int ierr = MPI_Exscan(&n_locally_owned_dofs,
&my_shift,
1,
DEAL_II_DOF_INDEX_MPI_TYPE,
MPI_SUM,
triangulation->get_communicator());
AssertThrowMPI(ierr);

// make dof indices globally consecutive
Expand Down Expand Up @@ -4130,8 +4129,7 @@ namespace internal
//* 3. communicate local dofcount and shift ids to make
// them unique
dealii::types::global_dof_index my_shift = 0;
int ierr = MPI_Exscan(
&level_number_cache.n_locally_owned_dofs,
int ierr = MPI_Exscan(&level_number_cache.n_locally_owned_dofs,
&my_shift,
1,
DEAL_II_DOF_INDEX_MPI_TYPE,
Expand Down

0 comments on commit d2b936a

Please sign in to comment.