Chi-Tech
|
#include <PETScGraphPartitioner.h>
Public Member Functions | |
PETScGraphPartitioner (const InputParameters ¶ms) | |
std::vector< int64_t > | Partition (const std::vector< std::vector< uint64_t > > &graph, const std::vector< chi_mesh::Vector3 > ¢roids, int number_of_parts) override |
virtual std::vector< int64_t > | Partition (const std::vector< std::vector< uint64_t > > &graph, const std::vector< chi_mesh::Vector3 > ¢roids, int number_of_parts)=0 |
Public Member Functions inherited from ChiObject | |
ChiObject () | |
ChiObject (const chi::InputParameters ¶ms) | |
void | SetStackID (size_t stack_id) |
size_t | StackID () const |
virtual void | PushOntoStack (std::shared_ptr< ChiObject > &new_object) |
virtual | ~ChiObject ()=default |
Static Public Member Functions | |
static InputParameters | GetInputParameters () |
Static Public Member Functions inherited from ChiObject | |
static chi::InputParameters | GetInputParameters () |
Protected Attributes | |
const std::string | type_ |
Additional Inherited Members | |
Protected Member Functions inherited from chi::GraphPartitioner | |
GraphPartitioner (const InputParameters ¶ms) | |
Static Protected Member Functions inherited from chi::GraphPartitioner | |
static InputParameters | GetInputParameters () |
Definition at line 9 of file PETScGraphPartitioner.h.
|
explicit |
Definition at line 28 of file PETScGraphPartitioner.cc.
|
static |
Definition at line 15 of file PETScGraphPartitioner.cc.
|
overridevirtual |
Given a graph. Returns the partition ids of each row in the graph.
Implements chi::GraphPartitioner.
Definition at line 33 of file PETScGraphPartitioner.cc.
|
protected |
Definition at line 21 of file PETScGraphPartitioner.h.