17 #ifndef MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
18 #define MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
24 #include "MueLu_VisualizationHelpers.hpp"
28 #include "MueLu_LWGraph.hpp"
73 class AggregationExportFactory :
public TwoLevelFactoryBase,
public VisualizationHelpers<Scalar, LocalOrdinal, GlobalOrdinal, Node> {
74 #undef MUELU_AGGREGATIONEXPORTFACTORY_SHORT
93 void DeclareInput(Level& fineLevel, Level& coarseLevel)
const;
101 void Build(Level& fineLevel, Level& coarseLevel)
const;
110 void doJacksPlus_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
111 void doConvexHulls(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
115 void writeFile_(std::ofstream& fout, std::string styleName, std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
117 void writePVTU_(std::ofstream& pvtu, std::string baseFname,
int numProcs)
const;
141 #define MUELU_AGGREGATIONEXPORTFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
std::vector< bool > isRoot_
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
typename Teuchos::ScalarTraits< SC >::coordinateType coordinate_type
static const int CONTRAST_1_
void doConvexHulls(std::vector< int > &vertices, std::vector< int > &geomSizes) const
void writeFile_(std::ofstream &fout, std::string styleName, std::vector< int > &vertices, std::vector< int > &geomSizes) const
Teuchos::ArrayRCP< LocalOrdinal > aggSizes_
static const int CONTRAST_3_
static const int CONTRAST_2_
virtual ~AggregationExportFactory()
Destructor.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void writePVTU_(std::ofstream &pvtu, std::string baseFname, int numProcs) const
typename Xpetra::MultiVector< coordinate_type, LO, GO, NO > CoordinateMultiVector
Teuchos::ArrayRCP< LocalOrdinal > vertex2AggId_
Teuchos::RCP< CoordinateMultiVector > coords_
Teuchos::RCP< const Map > nodeMapCoarse_
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Teuchos::RCP< const Map > nodeMap_
Teuchos::RCP< CoordinateMultiVector > coordsCoarse_
void doGraphEdges_(std::ofstream &fout, Teuchos::RCP< Matrix > &A, Teuchos::RCP< LWGraph > &G, bool fine, int dofs) const
void doJacksPlus_(std::vector< int > &vertices, std::vector< int > &geomSizes) const
AggregationExportFactory()
Constructor.
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
void buildColormap_() const