53#ifndef MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
54#define MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
56#include <Xpetra_Matrix_fwd.hpp>
60#include "MueLu_VisualizationHelpers.hpp"
110#undef MUELU_AGGREGATIONEXPORTFACTORY_SHORT
154 void doJacksPlus_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
155 void doConvexHulls(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
156 void doGraphEdges_(std::ofstream& fout, Teuchos::RCP<Matrix>& A, Teuchos::RCP<GraphBase>& G,
bool fine,
int dofs)
const;
159 void writeFile_(std::ofstream& fout, std::string styleName, std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
161 void writePVTU_(std::ofstream& pvtu, std::string baseFname,
int numProcs)
const;
168 mutable Teuchos::RCP<CoordinateMultiVector>
coords_;
185#define MUELU_AGGREGATIONEXPORTFACTORY_SHORT
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Factory to export aggregation info or visualize aggregates using VTK.
Teuchos::RCP< CoordinateMultiVector > coords_
Teuchos::ArrayRCP< LocalOrdinal > aggSizes_
void doJacksPlus_(std::vector< int > &vertices, std::vector< int > &geomSizes) const
static const int CONTRAST_1_
void writePVTU_(std::ofstream &pvtu, std::string baseFname, int numProcs) const
AggregationExportFactory()
Constructor.
void doConvexHulls(std::vector< int > &vertices, std::vector< int > &geomSizes) const
void doGraphEdges_(std::ofstream &fout, Teuchos::RCP< Matrix > &A, Teuchos::RCP< GraphBase > &G, bool fine, int dofs) const
void buildColormap_() const
virtual ~AggregationExportFactory()
Destructor.
std::vector< bool > isRoot_
Teuchos::RCP< CoordinateMultiVector > coordsCoarse_
void writeFile_(std::ofstream &fout, std::string styleName, std::vector< int > &vertices, std::vector< int > &geomSizes) const
void Build(Level &fineLevel, Level &coarseLevel) const
Build an object with this factory.
static const int CONTRAST_3_
Teuchos::RCP< const Map > nodeMapCoarse_
Teuchos::RCP< const Map > nodeMap_
typename Teuchos::ScalarTraits< SC >::coordinateType coordinate_type
static const int CONTRAST_2_
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Teuchos::ArrayRCP< LocalOrdinal > vertex2AggId_
typename Xpetra::MultiVector< coordinate_type, LO, GO, NO > CoordinateMultiVector
Class that holds all level-specific information.
Base class for factories that use two levels (fineLevel and coarseLevel).
Base class providing routines to visualize aggregates and coarsening information.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar