46 #ifndef MUELU_BRICKAGGREGATIONFACTORY_DECL_HPP_
47 #define MUELU_BRICKAGGREGATIONFACTORY_DECL_HPP_
51 #include <Xpetra_Import_fwd.hpp>
52 #include <Xpetra_ImportFactory_fwd.hpp>
53 #include <Xpetra_Map_fwd.hpp>
54 #include <Xpetra_MapFactory_fwd.hpp>
55 #include <Xpetra_Matrix_fwd.hpp>
56 #include <Xpetra_MultiVector_fwd.hpp>
57 #include <Xpetra_MultiVectorFactory_fwd.hpp>
83 #undef MUELU_BRICKAGGREGATIONFACTORY_SHORT
102 typedef std::map<Scalar,GlobalOrdinal,compare>
container;
163 std::map<GlobalOrdinal,GlobalOrdinal>
revMap_;
168 #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
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
MueLu::DefaultScalar Scalar
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_
std::map< GlobalOrdinal, GlobalOrdinal > revMap_
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_
std::map< Scalar, GlobalOrdinal, compare > container
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.