34 #ifndef GRAPH_CUTTER_BASE_H 35 #define GRAPH_CUTTER_BASE_H 1
37 #include <boost/shared_ptr.hpp> 38 #include <Epetra_Comm.h> 39 #include <Teuchos_ParameterList.hpp> 41 #include <lifev/core/LifeV.hpp> 42 #include <lifev/core/mesh/GraphUtil.hpp> 53 template<
typename MeshType>
virtual const idTablePtr_Type getGraph() const =0
Get the entire partitioned graph, wrapped in a smart pointer.
virtual Int run()=0
Performs the graph partitioning.
Graph cutter base class (abstract)
int32_type Int
Generic integer data.
void updateInverseJacobian(const UInt &iQuadPt)
virtual void setParameters(pList_Type ¶meters)=0
Set values for all the parameters, with default values where needed.
Teuchos::ParameterList pList_Type
virtual ~GraphCutterBase()
Destructor.
std::shared_ptr< idTable_Type > idTablePtr_Type
virtual const UInt numParts() const =0
Return the number of parts.
virtual idListPtr_Type & getPart(const UInt i)=0
GraphCutterBase()
Default constructor.
uint32_type UInt
generic unsigned integer (used mainly for addressing)
std::shared_ptr< idList_Type > idListPtr_Type
virtual const idListPtr_Type & getPart(const UInt i) const =0
Get a pointer to one of the partitions.