40 #ifndef _Isorropia_Colorer_hpp_
41 #define _Isorropia_Colorer_hpp_
44 #include <Teuchos_ParameterList.hpp>
72 virtual void color(
bool forceColoring=
false) = 0;
128 const int*& array)
const {
virtual void color(bool forceColoring=false)=0
Method which does the work of computing a new coloring.
virtual int extractColorsView(int &size, const int *&array) const
Give access of the color assignments array that is owned by the current processor.
Definition: Isorropia_Colorer.hpp:127
virtual int numColors() const
Method which returns the number (global) of colors used.
Definition: Isorropia_Colorer.hpp:82
virtual ~Colorer()
Destructor.
Definition: Isorropia_Colorer.hpp:59
virtual int numProperties() const =0
Return the number of different values used for "properties".
Interface (abstract base class) for computing a new coloring and describing the result.
Definition: Isorropia_Colorer.hpp:55
virtual int extractPropertiesCopy(int len, int &size, int *array) const =0
Copy a part of the property array.
virtual int extractColorsCopy(int len, int &size, int *array) const
Copy a part of the color assignments array.
Definition: Isorropia_Colorer.hpp:147
Interface (abstract base class) for computing a new partitioning/coloring/ ordering and exploiting th...
Definition: Isorropia_Operator.hpp:58
virtual void elemsWithColor(int theColor, int *elementList, int len) const
Fill user-allocated list (of length len) with the local element ids for LOCAL elements of the given c...
Definition: Isorropia_Colorer.hpp:109
virtual void elemsWithProperty(int property, int *elementList, int len) const =0
Fill user-allocated list (of length len) with the local element ids of the LOCAL elements with the gi...
virtual int numElemsWithProperty(int property) const =0
Return the number of LOCAL elements with the given property.
virtual int numElemsWithColor(int theColor) const
Return the number of local elements of a given color.
Definition: Isorropia_Colorer.hpp:94
virtual int extractPropertiesView(int &size, const int *&array) const =0
Give access of the property array that is owned by the current processor.