40 #ifndef _Isorropia_Partitioner_hpp_
41 #define _Isorropia_Partitioner_hpp_
44 #include <Teuchos_ParameterList.hpp>
81 virtual void partition(
bool forceRepartitioning=
false) = 0;
130 const int*& array)
const {
virtual void elemsInPart(int part, int *elementList, int len) const =0
Fill user-allocated list (of length len) with the local element ids to be located in the given part...
virtual int numElemsInPart(int part) const =0
Return the number of LOCAL elements in a given part.
virtual ~Partitioner()
Destructor.
Definition: Isorropia_Partitioner.hpp:63
virtual void partition(bool forceRepartitioning=false)=0
Method which does the work of computing a new partitioning.
virtual int extractPropertiesCopy(int len, int &size, int *array) const =0
Copy a part of the property array.
Interface (abstract base class) for computing a new partitioning/coloring/ ordering and exploiting th...
Definition: Isorropia_Operator.hpp:58
virtual int extractPartsView(int &size, const int *&array) const
Give access of the part assignments array that is owned by the current processor. ...
Definition: Isorropia_Partitioner.hpp:129
virtual int extractPropertiesView(int &size, const int *&array) const =0
Give access of the property array that is owned by the current processor.
virtual int extractPartsCopy(int len, int &size, int *array) const
Copy a part of the part assignment array.
Definition: Isorropia_Partitioner.hpp:149
Interface (abstract base class) for computing a new partitioning and describing the layout of element...
Definition: Isorropia_Partitioner.hpp:59