Go to the documentation of this file.
46 #ifndef MUELU_COUPLEDAGGREGATIONFACTORY_DEF_HPP
47 #define MUELU_COUPLEDAGGREGATIONFACTORY_DEF_HPP
51 #include "MueLu_Graph.hpp"
52 #include "MueLu_Aggregates.hpp"
54 #include "MueLu_AmalgamationInfo.hpp"
58 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
64 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
66 Input(currentLevel,
"Graph");
70 template <
class LocalOrdinal,
class GlobalOrdinal,
class Node>
84 aggregates->setObjectLabel(
"UC");
86 algo1_.CoarsenUncoupled(*graph, *aggregates);
87 algo2_.AggregateLeftovers(*graph, *aggregates);
95 Set(currentLevel,
"Aggregates", aggregates);
105 #endif // MUELU_COUPLEDAGGREGATIONFACTORY_DEF_HPP
void AggregatesCrossProcessors(const bool &flag)
Record whether aggregates include DOFs from other processes.
Timer to be used in factories. Similar to Monitor but with additional timers.
void Build(Level ¤tLevel) const
Build aggregates.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual void describe(Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const
void DeclareInput(Level ¤tLevel) const
Input.
Namespace for MueLu classes and methods.
Print statistics that do not involve significant additional computation.
Exception throws to report errors in the internal logical of the program.
Container class for aggregation information.
Teuchos::ArrayRCP< LO > ComputeAggregateSizes(bool forceRecompute=false) const
Compute sizes of aggregates.
CoupledAggregationFactory()
Constructor.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Class that holds all level-specific information.