Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tjfulle committed Aug 19, 2019
1 parent cb2b9da commit 6193d75
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,6 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(
}
graph->fillComplete();
RCP<Tpetra_CrsMatrix> matrix = rcp(new Tpetra_CrsMatrix(graph));
std::cout << "HERE I AM A.0\n";

// Set values in matrix
Array<Scalar> vals(2);
Expand All @@ -1036,7 +1035,6 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(
matrix->replaceGlobalValues(row, columnIndices(0,num_col), vals(0,num_col));
}
matrix->fillComplete();
std::cout << "HERE I AM A.1\n";

// Fill vector
RCP<Tpetra_Vector> x = Tpetra::createVector<Scalar>(map);
Expand All @@ -1052,7 +1050,6 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(
// Multiply
RCP<Tpetra_Vector> y = Tpetra::createVector<Scalar>(map);
matrix->apply(*x, *y);
std::cout << "HERE I AM A.2\n";

/*
graph->describe(*(Teuchos::fancyOStream(rcp(&std::cout,false))),
Expand All @@ -1074,10 +1071,8 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(
flat_graph =
Stokhos::create_flat_pce_graph(*graph, cijk, flat_x_map, flat_y_map,
cijk_graph, pce_size);
std::cout << "HERE I AM A.3\n";
RCP<Flat_Tpetra_CrsMatrix> flat_matrix =
Stokhos::create_flat_matrix(*matrix, flat_graph, cijk_graph, cijk);
std::cout << "HERE I AM A.4\n";

// Multiply with flattened matix
RCP<Tpetra_Vector> y2 = Tpetra::createVector<Scalar>(map);
Expand Down

0 comments on commit 6193d75

Please sign in to comment.