// @HEADER // ***************************************************************************** // MueLu: A package for multigrid based preconditioning // // Copyright 2012 NTESS and the MueLu contributors. // SPDX-License-Identifier: BSD-3-Clause // ***************************************************************************** // @HEADER #ifndef MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_DECL_HPP_ #define MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_DECL_HPP_ #include #include #include #include "Xpetra_MultiVector_fwd.hpp" #include "Xpetra_MultiVectorFactory_fwd.hpp" #include "Xpetra_Vector_fwd.hpp" #include "Xpetra_VectorFactory_fwd.hpp" #include "Xpetra_Import_fwd.hpp" #include "Xpetra_ImportFactory_fwd.hpp" #include "MueLu_ConfigDefs.hpp" #include "MueLu_TwoLevelFactoryBase.hpp" #include "MueLu_RebalanceBlockInterpolationFactory_fwd.hpp" #include "MueLu_PerfUtils_fwd.hpp" #include "MueLu_Types.hpp" namespace MueLu { /*! @class RebalanceBlockInterpolationFactory class. @brief Applies permutation to prolongation operators. @ingroup MueLuTransferClasses */ template class RebalanceBlockInterpolationFactory : public TwoLevelFactoryBase { #undef MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_SHORT #include "MueLu_UseShortNames.hpp" public: //! @name Constructors/Destructors. //@{ //! Constructor. RebalanceBlockInterpolationFactory() {} //! Destructor. virtual ~RebalanceBlockInterpolationFactory() {} RCP GetValidParameterList() const; //@} //! @name Input //@{ /*! @brief Specifies the data that this class needs, and the factories that generate that data. If the Build method of this class requires some data, but the generating factory is not specified in DeclareInput, then this class will fall back to the settings in FactoryManager. */ void DeclareInput(Level &fineLevel, Level &coarseLevel) const; //! Add a factory manager void AddFactoryManager(RCP FactManager); //@} //! @name Build methods. //@{ //! Build an object with this factory. void Build(Level &fineLevel, Level &coarseLevel) const; //@} private: //! Input factories std::vector > FactManager_; }; // class RebalanceBlockTransferFactory } // namespace MueLu #define MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_SHORT #endif /* MUELU_REBALANCEBLOCKINTERPOLATIONFACTORY_DECL_HPP_ */