MueLu::ParameterListInterpreter::ParameterListInterpreter seems to take a lot more time than expected
Created by: pwxy
MueLu::CreateXpetraPreconditioner calls both MueLu::HierarchyManager::SetupHierarchy and MueLu::ParameterListInterpreter::ParameterListInterpreter
I'm running Chebyshev smoother, and I thought that the smoothers were being constructed by MueLu::HierarchyManager::SetupHierarchy rather than MueLu::ParameterListInterpreter::ParameterListInterpreter. However, I saw that several levels down the stack trace, MueLu::ParameterListInterpreter::ParameterListInterpreter calls MueLu::ParameterListInterpreter::UpdateFactoryManager_Smoothers, which for presmoothing, calls:
preSmoother = rcp(new SmootherFactory(rcp(new TrilinosSmoother(preSmootherType, preSmootherParams, overlap))));
So it appears that MueLu::ParameterListInterpreter::ParameterListInterpreter is constructing the smoothers?
I've noticed that time spent in MueLu::ParameterListInterpreter::ParameterListInterpreter is rather large, and most of this time is due to the construction of the presmoother (I have both pre- and post- smoothing).