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