ddd_parmetis/dds_metis_parmetis.cpp File Reference

#include <algorithm>
#include <vector>
#include <mpi.h>
#include <metis.h>
#include <parmetis.h>
#include "ddh_intf.h"
#include "uth_log.h"
#include "PCsr.hpp"
#include "uth_io_results.h"
Include dependency graph for dds_metis_parmetis.cpp:

Classes

struct  ddt_partitioning_data

Typedefs

typedef CSR< idx_t > ddt_CSR
typedef PCSR< idx_t > ddt_PCSR

Functions

int ddr_check_CSR (const int Mesh_id, ddt_CSR &Csr)
bool ddr_is_greater0 (const int i)
int ddr_mesh_to_CRSGraph (const int Mesh_id, ddt_CSR &Csr)
void ddr_set_metis_options (ddt_partitioning_data &data)
void ddr_set_parmetis_options (ddt_partitioning_data &data)
int ddr_create_subdomains_scheme (const int Mesh_id, ddt_mesh_handling Mesh_handling, int N_subdomains, int *N_subdomains_elems, int *Subdomains_elems, int *Overlap_sizes, int *Subdomains_elems_overlap, int **Part_ptr)
 ddr_create_subdomains to create partitioning scheme with (or without) overlap Depending on the param Mesh_handling partitioning is done locally or globally
int ddr_balance_subdomains (const int Mesh_id, int *N_subdomains_elems, int *Subdomains_elems, int **Subdomains_elems_overlap)
 ddr_balance_load to improve existing partitioning created by ddr_create_subdomains according to changes in mesh structures.

Variables

std::vector
< ddt_partitioning_data
ddv_meshes_part_data

Typedef Documentation

typedef CSR<idx_t> ddt_CSR
typedef PCSR<idx_t> ddt_PCSR

Function Documentation

int ddr_check_CSR ( const int  Mesh_id,
ddt_CSR Csr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

bool ddr_is_greater0 ( const int  i  ) 

Here is the caller graph for this function:

int ddr_mesh_to_CRSGraph ( const int  Mesh_id,
ddt_CSR Csr 
)

if

while

Here is the call graph for this function:

Here is the caller graph for this function:

void ddr_set_metis_options ( ddt_partitioning_data data  ) 

Here is the caller graph for this function:

void ddr_set_parmetis_options ( ddt_partitioning_data data  ) 

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1