![]() |
INMOST
Mathematical Modelling Toolkit
|
Main class to modify or improve the mesh distribution for better load balancing. More...
#include <inmost_partitioner.h>
Public Types | |
| enum | Type { Zoltan_Parmetis, Zoltan_Scotch, Zoltan_PHG, Zoltan_RCB, Zoltan_RIB, Zoltan_HSFC, Parmetis, Inner_RCM } |
| enum | Action { Partition, Repartition, Refine } |
Public Member Functions | |
| Partitioner (Mesh *m) | |
| The default constructor of the partitioner for the specified mesh. More... | |
| Partitioner (const Partitioner &other) | |
| Partitioner & | operator= (Partitioner const &other) |
| ~Partitioner () | |
| void | Evaluate () |
| void | SetMethod (enum Type t, enum Action a=Repartition) |
| void | SetWeight (Tag weight) |
| Compute the specific weights for the selected partitioner. More... | |
| void | ResetWeight () |
| Reset the computed weights for the partitioner. More... | |
| Mesh * | GetMesh () |
| Get the Mesh pointer for the current partitioner. More... | |
| Tag | GetWeight () |
| Get the Tag of the computed weights for the current partitioner. More... | |
Static Public Member Functions | |
| static void | Initialize (int *argc, char ***argv) |
| static void | Finalize () |
Main class to modify or improve the mesh distribution for better load balancing.
Definition at line 17 of file inmost_partitioner.h.
Definition at line 34 of file inmost_partitioner.h.
Type of the Partitioner can be currently used in this version of INMOST.
Definition at line 23 of file inmost_partitioner.h.
| INMOST::Partitioner::Partitioner | ( | Mesh * | m | ) |
The default constructor of the partitioner for the specified mesh.
| INMOST::Partitioner::Partitioner | ( | const Partitioner & | other | ) |
| INMOST::Partitioner::~Partitioner | ( | ) |
| void INMOST::Partitioner::Evaluate | ( | ) |
Evaluate the earlier specified partitioner.
|
static |
Finalize the use of partitioner.
| Tag INMOST::Partitioner::GetWeight | ( | ) |
Get the Tag of the computed weights for the current partitioner.
|
static |
Initialize the use of partitioner.
| argc | The number of arguments transmitted to the function main. |
| argv | The pointer to arguments transmitted to the function main. The shortest call to this function with the default solver parameters is the following: Initialize(NULL,NULL); |
| Partitioner& INMOST::Partitioner::operator= | ( | Partitioner const & | other | ) |
| void INMOST::Partitioner::ResetWeight | ( | ) |
Reset the computed weights for the partitioner.
| void INMOST::Partitioner::SetMethod | ( | enum Type | t, |
| enum Action | a = Repartition |
||
| ) |
Set the partitioner method to be used.
| t | The concrete Type of the partitioner from the selected package. |
| a | The partitioner Action, the default is Repartition. |
| void INMOST::Partitioner::SetWeight | ( | Tag | weight | ) |
Compute the specific weights for the selected partitioner.
1.8.5