// @HEADER // ***************************************************************************** // MueLu: A package for multigrid based preconditioning // // Copyright 2012 NTESS and the MueLu contributors. // SPDX-License-Identifier: BSD-3-Clause // ***************************************************************************** // @HEADER #ifndef MUELU_REITZINGERPFACTORY_DECL_HPP #define MUELU_REITZINGERPFACTORY_DECL_HPP #include #include #include #include #include #include #include #include #include #include "MueLu_ConfigDefs.hpp" #include "MueLu_ReitzingerPFactory_fwd.hpp" #include "MueLu_Level_fwd.hpp" #include "MueLu_PFactory.hpp" #include "MueLu_Utilities_fwd.hpp" namespace MueLu { /*! @class ReitzingerPFactory class. @brief Factory for building tentative prolongator. Factory for creating Reitzinger and Schoebel tentative prolongator for Maxwell's equations. @ingroup MueLuTransferClasses ## Input/output of ReitzingerPFactory ## ### User parameters of ReitzingerPFactory ### Parameter | type | default | master.xml | validated | requested | description ----------|------|---------|:----------:|:---------:|:---------:|------------ A | Factory | null | | * | * | Generating factory of the matrix A P | Factory | null | | * | * | Generating factory of the nodal Prolongator D0 | Factory | null | | * | * | Generating factory of the discrete gradient operator NodeMatrix | Factory | null | | * | * | Generating factory of the nodal A matrix The * in the @c master.xml column denotes that the parameter is defined in the @c master.xml file.
The * in the @c validated column means that the parameter is declared in the list of valid input parameters (see ReitzingerPFactory::GetValidParameters).
The * in the @c requested column states that the data is requested as input with all dependencies (see ReitzingerPFactory::DeclareInput). ### Variables provided by ReitzingerPFactory ### After ReitzingerPFactory::Build the following data is available (if requested) Parameter | generated by | description ----------|--------------|------------ | P | ReitzingerPFactory | Non-smoothed "tentative" Reitzinger edge prolongation operator | D0 | ReitzingerPFactory | Discrete gradient operator */ template class ReitzingerPFactory : public PFactory { #undef MUELU_REITZINGERPFACTORY_SHORT #include "MueLu_UseShortNames.hpp" public: //! @name Constructors/Destructors. //@{ //! Constructor ReitzingerPFactory() {} //! Destructor. virtual ~ReitzingerPFactory() {} //@} RCP GetValidParameterList() const; //! Input //@{ void DeclareInput(Level& fineLevel, Level& coarseLevel) const; //@} //! @name Build methods. //@{ void Build(Level& fineLevel, Level& coarseLevel) const; void BuildP(Level& fineLevel, Level& coarseLevel) const; //@} //! Utility method //@{ void CheckCommutingProperty(const Matrix& Pe, const Matrix& D0_c, const Matrix& D0_f, const Matrix& Pn) const; //@} private: }; // class ReitzingerPFactory } // namespace MueLu #define MUELU_REITZINGERPFACTORY_SHORT #endif // MUELU_REITZINGERPFACTORY_DECL_HPP