26 TEUCHOS_TEST_FOR_EXCEPTION(varName != "CoarseSolver" && varName != "Smoother", Exceptions::RuntimeError, "varName should be either \"CoarseSolver\" or \"Smoother\"");
27
28if (varName == "CoarseSolver") {
29// For coarsest level, we only need one smoother/solver
30// If a user wants to do something weird there (like, solve coarsest system by using 2 forward
31// GS and 1 backward GS), one can use MergedSmoother