Skip to content

Commit

Permalink
MueLu CoalesceDropFactory_kokkos: Comment out unnecessary restriction
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Glusa <[email protected]>
  • Loading branch information
cgcgcg committed Jan 13, 2025
1 parent 0aaaa7d commit 5d0df4e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ std::tuple<GlobalOrdinal, typename MueLu::LWGraph_kokkos<LocalOrdinal, GlobalOrd
TEUCHOS_TEST_FOR_EXCEPTION(threshold > 1.0, Exceptions::RuntimeError, "For cut-drop algorithms, \"aggregation: drop tol\" = " << threshold << ", needs to be <= 1.0");

// FIXME: Non-Kokkos implementation does this, but this seems unnecessary.
if (algo == "distance laplacian")
aggregationMayCreateDirichlet = true;
// if (algo == "distance laplacian")
// aggregationMayCreateDirichlet = true;

//////////////////////////////////////////////////////////////////////
// We perform four sweeps over the rows of A:
Expand Down Expand Up @@ -870,8 +870,8 @@ std::tuple<GlobalOrdinal, typename MueLu::LWGraph_kokkos<LocalOrdinal, GlobalOrd
GetOStream(Runtime0) << "algorithm = \"" << algo << "\": threshold = " << threshold << ", blocksize = " << A->GetFixedBlockSize() << std::endl;

// FIXME: Non-Kokkos implementation does this, but this seems unnecessary.
if (algo == "distance laplacian")
aggregationMayCreateDirichlet = true;
// if (algo == "distance laplacian")
// aggregationMayCreateDirichlet = true;

//////////////////////////////////////////////////////////////////////
// We perform four sweeps over the rows of A:
Expand Down

0 comments on commit 5d0df4e

Please sign in to comment.