17#ifndef MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
18#define MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
20#include <Xpetra_Matrix_fwd.hpp>
24#include "MueLu_VisualizationHelpers.hpp"
28#include "MueLu_LWGraph.hpp"
74#undef MUELU_AGGREGATIONEXPORTFACTORY_SHORT
110 void doJacksPlus_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
111 void doConvexHulls(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
112 void doGraphEdges_(std::ofstream& fout, Teuchos::RCP<Matrix>& A, Teuchos::RCP<LWGraph>& G,
bool fine,
int dofs)
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;
124 mutable Teuchos::RCP<CoordinateMultiVector>
coords_;
145#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.
Teuchos::RCP< MultiVector > qualities_
void doConvexHulls(std::vector< int > &vertices, std::vector< int > &geomSizes) const
void buildColormap_() const
std::vector< bool > isRoot_
Teuchos::RCP< CoordinateMultiVector > coordsCoarse_
Teuchos::RCP< MultiVector > material_
virtual ~AggregationExportFactory()
Destructor.
void doGraphEdges_(std::ofstream &fout, Teuchos::RCP< Matrix > &A, Teuchos::RCP< LWGraph > &G, bool fine, int dofs) const
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::RCP< LocalOrdinalMultiVector > 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