![]() |
SCOREC core
Parallel unstructured mesh tools
|
Functions | |
Splitter * | apf::makeMETISsplitter (Mesh *mesh) |
Make an apf::Splitter that calls METIS for the underlying algorithm. More... | |
Balancer * | apf::makeMETISbalancer (Mesh *mesh) |
Make an apf::Balancer that calls METIS for the underlying algorithm. More... | |
bool | apf::hasMETIS () |
Query whether METIS is supported. More... | |
bool apf::hasMETIS | ( | ) |
#include <metis/apfMETIS.h>
Query whether METIS is supported.
Support for METIS may or may not be included during compilation. This function allows users to check whether the APF-METIS routines will succeed. If this function returns false, all APF-METIS functions will fail.
#include <metis/apfMETIS.h>
Make an apf::Balancer that calls METIS for the underlying algorithm.
The necessary graph information is localized to rank 0 from mesh topology, METIS is run serially, then the 'migration plan' is sent to the remaining N-1 processes.
mesh | the apf::Mesh to balance |
#include <metis/apfMETIS.h>
Make an apf::Splitter that calls METIS for the underlying algorithm.
mesh | the apf::Mesh to split |