... | @@ -30,7 +30,7 @@ We add the output within the `solveLinearSystemImpl_` overload for `Dune::MultiT |
... | @@ -30,7 +30,7 @@ We add the output within the `solveLinearSystemImpl_` overload for `Dune::MultiT |
|
if (printmatrix)
|
|
if (printmatrix)
|
|
{
|
|
{
|
|
static int counter = 0;
|
|
static int counter = 0;
|
|
const auto rank = Dune::MPIHelper::getCollectiveCommunication().rank();
|
|
const auto rank = Dune::MPIHelper::getCommunication().rank();
|
|
|
|
|
|
Dune::storeMatrixMarket(M, "matrix_" + std::to_string(rank) + "_iter_" + std::to_string(counter) + ".log");
|
|
Dune::storeMatrixMarket(M, "matrix_" + std::to_string(rank) + "_iter_" + std::to_string(counter) + ".log");
|
|
Dune::storeMatrixMarket(bTmp, "rhs_" + std::to_string(rank) + "_iter_" + std::to_string(counter) + ".log");
|
|
Dune::storeMatrixMarket(bTmp, "rhs_" + std::to_string(rank) + "_iter_" + std::to_string(counter) + ".log");
|
... | | ... | |