Skip to content

Commit

Permalink
Merge Pull Request #11972 from trilinos/Trilinos/csiefer-39d54d2
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: MueLu: Enabling better dumps for Maxwell1
PR Author: csiefer2
  • Loading branch information
trilinos-autotester authored Jun 14, 2023
2 parents a338e79 + 6dccc16 commit fba42ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/muelu/src/MueCentral/MueLu_FactoryManager_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ namespace MueLu {
if (varName == "pcoarsen: element to node map") return GetFactory("P");
#endif

// NOTE: These are user data, but we might want to print them, so they need a default factory
if (varName == "NodeMatrix") return NoFactory::getRCP();
if (varName == "NodeAggMatrix") return NoFactory::getRCP();


TEUCHOS_TEST_FOR_EXCEPTION(true, MueLu::Exceptions::RuntimeError, "MueLu::FactoryManager::GetDefaultFactory(): No default factory available for building '" + varName + "'.");
}
}
Expand Down

0 comments on commit fba42ce

Please sign in to comment.