10 #ifndef MUELU_BRICKAGGREGATIONFACTORY_DECL_HPP_
11 #define MUELU_BRICKAGGREGATIONFACTORY_DECL_HPP_
49 #undef MUELU_BRICKAGGREGATIONFACTORY_SHORT
68 typedef std::map<Scalar, GlobalOrdinal, compare>
container;
130 mutable std::map<GlobalOrdinal, GlobalOrdinal>
revMap_;
135 #define MUELU_BRICKAGGREGATIONFACTORY_SHORT
BrickAggregationFactory()
Constructor.
void getAggIJK(LocalOrdinal LID, int &i, int &j, int &k) const
ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::magnitudeType > x_
MueLu::DefaultLocalOrdinal LocalOrdinal
std::map< GlobalOrdinal, GlobalOrdinal > revMap_
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
virtual ~BrickAggregationFactory()
Destructor.
static magnitudeType real(T a)
Teuchos::ScalarTraits< Scalar > STS
void Build(Level ¤tLevel) const
Build aggregates.
GlobalOrdinal getAggGID(LocalOrdinal LID) const
std::map< Scalar, GlobalOrdinal, compare > container
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
void Setup(const RCP< const Teuchos::Comm< int > > &comm, const RCP< Xpetra::MultiVector< typename Teuchos::ScalarTraits< Scalar >::magnitudeType, LO, GO, NO > > &coords, const RCP< const Map > &map) const
bool isDirichlet(LocalOrdinal LID) const
ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::magnitudeType > z_
static magnitudeType magnitude(T a)
bool isRoot(LocalOrdinal LID) const
void getIJK(LocalOrdinal LID, int &i, int &j, int &k) const
bool operator()(const Scalar &x, const Scalar &y) const
RCP< container > Construct1DMap(const RCP< const Teuchos::Comm< int > > &comm, const ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::magnitudeType > &x) const
ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::magnitudeType > y_
void BuildGraph(Level ¤tLevel, const RCP< Matrix > &A) const
Base class for factories that use one level (currentLevel).
GlobalOrdinal getRoot(LocalOrdinal LID) const
void DeclareInput(Level ¤tLevel) const
Input.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.