53 #ifndef MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
54 #define MUELU_AGGREGATIONEXPORTFACTORY_DECL_HPP_
61 #include "MueLu_VisualizationHelpers.hpp"
107 template <
class Scalar =
double,
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = KokkosClassic::DefaultNode::DefaultNodeType>
108 class AggregationExportFactory :
public TwoLevelFactoryBase,
public VisualizationHelpers<Scalar, LocalOrdinal, GlobalOrdinal, Node> {
109 #undef MUELU_AGGREGATIONEXPORTFACTORY_SHORT
150 void doJacksPlus_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
151 void doConvexHulls(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
152 #ifdef HAVE_MUELU_CGAL
153 void doAlphaHulls_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
154 void doAlphaHulls2D_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
155 void doAlphaHulls3D_(std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
160 void writeFile_(std::ofstream& fout, std::string styleName, std::vector<int>& vertices, std::vector<int>& geomSizes)
const;
162 void writePVTU_(std::ofstream& pvtu, std::string baseFname,
int numProcs)
const;
190 #define MUELU_AGGREGATIONEXPORTFACTORY_SHORT
Teuchos::ArrayRCP< const typename Teuchos::ScalarTraits< Scalar >::coordinateType > yCoords_
void doAlphaHulls3D_(std::vector< int > &vertices, std::vector< int > &geomSizes) const
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_
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