/usr/include/trilinos/MueLu_RepartitionInterface_decl.hpp is in libtrilinos-muelu-dev 12.4.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | /*
* MueLu_RepartitionInterface_decl.hpp
*
* Created on: 5 Sep 2013
* Author: wiesner
*/
#ifndef MUELU_REPARTITIONINTERFACE_DECL_HPP_
#define MUELU_REPARTITIONINTERFACE_DECL_HPP_
#include <Xpetra_Map.hpp>
#include <Xpetra_Matrix.hpp>
#include <Xpetra_MapFactory_fwd.hpp>
#include <Xpetra_VectorFactory.hpp>
#include "MueLu_SingleLevelFactoryBase.hpp"
#include "MueLu_Level_fwd.hpp"
#include "MueLu_FactoryBase_fwd.hpp"
#include "MueLu_Graph_fwd.hpp"
#include "MueLu_AmalgamationFactory_fwd.hpp"
#include "MueLu_AmalgamationInfo_fwd.hpp"
#include "MueLu_Utilities_fwd.hpp"
namespace MueLu {
/*!
@class RepartitionInterface
@brief Helper class which transforms an "AmalgamatedPartition" array to an unamalgamated "Partition".
This class is meant to be used with IsorropiaInterface which in general provides the amalgamated partition information
and an AmalgamationFactory which defines the amalgamation/unamalgamation process.
The output is a "Partition" (unamalgamated) which can be used by the RepartitionFactory class.
Input: matrix A, unamalgamation information (that corresponds to matrix A)
*/
//FIXME: this class should not be templated
template <class LocalOrdinal = int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
class RepartitionInterface : public SingleLevelFactoryBase {
typedef double Scalar; // FIXME
#undef MUELU_REPARTITIONINTERFACE_SHORT
#include "MueLu_UseShortNames.hpp"
public:
//! @name Constructors/Destructors
//@{
//! Constructor
RepartitionInterface() { }
//! Destructor
virtual ~RepartitionInterface() { }
//@}
RCP<const ParameterList> GetValidParameterList() const;
//! @name Input
//@{
void DeclareInput(Level & level) const;
//@}
//! @name Build methods.
//@{
void Build(Level &level) const;
//@}
private:
}; //class RepartitionInterface
} //namespace MueLu
#define MUELU_REPARTITIONINTERFACE_SHORT
#endif /* MUELU_REPARTITIONINTERFACE_DECL_HPP_ */
|