53 #ifndef MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
54 #define MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
56 #include <Xpetra_Matrix_fwd.hpp>
57 #include <Xpetra_CrsMatrixWrap_fwd.hpp>
61 #include "MueLu_VisualizationHelpers.hpp"
111 class AggregationExportFactory :
public TwoLevelFactoryBase,
public VisualizationHelpers<Scalar, LocalOrdinal, GlobalOrdinal, Node> {
112 #undef MUELU_AGGREGATIONEXPORTFACTORY_SHORT
153 void doJacksPlus_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
154 void doConvexHulls(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
155 #ifdef HAVE_MUELU_CGAL
156 void doAlphaHulls_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
157 void doAlphaHulls2D_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
158 void doAlphaHulls3D_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
163 void writeFile_(std::ofstream& fout, std::string styleName, std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
165 void writePVTU_(std::ofstream& pvtu, std::string baseFname,
int numProcs)
const;
193 #define MUELU_AGGREGATIONEXPORTFACTORY_SHORT
Teuchos::ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::coordinateType > yCoords_
void doAlphaHulls3D_(std::vector< int > &vertices, std::vector< int > &geomSizes) const
MueLu::DefaultLocalOrdinal LocalOrdinal
KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
std::vector< bool > isRoot_
static const int CONTRAST_1_
void doAlphaHulls_(std::vector< int > &vertices, std::vector< int > &geomSizes) const
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 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_
Teuchos::ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::coordinateType > zCoords_
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
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
Teuchos::ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::coordinateType > cz_
Teuchos::ArrayRCP< LocalOrdinal > vertex2AggId_
virtual ~AggregationExportFactory()
Destructor.
Teuchos::RCP< const Map > nodeMapCoarse_
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Teuchos::RCP< const Map > nodeMap_
Teuchos::ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::coordinateType > cy_
Teuchos::ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::coordinateType > xCoords_
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 doAlphaHulls2D_(std::vector< int > &vertices, std::vector< int > &geomSizes) const
Teuchos::ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::coordinateType > cx_
void buildColormap_() const