Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiangrimberg committed Jun 26, 2024
1 parent ee3dbd7 commit 8214623
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions palace/linalg/divfree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ DivFreeSolver<VecType>::DivFreeSolver(
Mpi::GlobalSum(1, &coarse_bdr_tdofs, comm);
if (coarse_bdr_tdofs == 0)
{
int root = (h1_fespaces.GetFESpaceAtLevel(0).GetTrueVSize() == 0) ? Mpi::Size(comm) : Mpi::Rank(comm);
int root = (h1_fespaces.GetFESpaceAtLevel(0).GetTrueVSize() == 0) ? Mpi::Size(comm)
: Mpi::Rank(comm);
Mpi::GlobalMin(1, &root, comm);
MFEM_VERIFY(root < Mpi::Size(comm), "No root process found for single true dof constraint!");
MFEM_VERIFY(root < Mpi::Size(comm),
"No root process found for single true dof constraint!");
if (root == Mpi::Rank(comm))
{
aux_tdof_lists.reserve(h1_fespaces.GetNumLevels());
Expand Down

0 comments on commit 8214623

Please sign in to comment.