mmpd_adapter/ddd_metis_adapter/ddh_metis_adapter.h File Reference
#include <map>
#include "mmh_intf.h"
#include "mmph_intf.h"
#include "../mmph_adapter.h"
Go to the source code of this file.
Function Documentation
int ddr_check_CSR |
( |
const int |
Mesh_id |
) |
|
int ddr_mesh_to_CRSGraph |
( |
const int |
Mesh_id |
) |
|
int ddr_PCSR_create_initial_distribution |
( |
const int |
Mesh_id |
) |
|
int ddr_PCSR_improve_partitioning |
( |
int |
Mesh_id |
) |
|
----------------------------------------------------------- mmpr_improve_partitioning - to improve the quality of an existing a k-way partitioning ------------------------------------------------------------
int ddr_PCSR_partition_mesh |
( |
int |
Mesh_id, |
|
|
int |
Part_amount, |
|
|
int |
Parition_tool | |
|
) |
| | |
----------------------------------------------------------- mmpr_partition_mesh - to to decompose the mesh and create subdomains by Metis (SFC - Parmetis) library ------------------------------------------------------------
int mmpr_adaptive_repartition |
( |
int |
Mesh_id |
) |
|
----------------------------------------------------------- mmpr_adaptive_repartition - to balance the work load of a graph that corresponds to an adaptively refined mesh ------------------------------------------------------------
void mmpr_create_overlap |
( |
const int |
MeshID |
) |
|
----------------------------------------------------------- mmpr_create_overlap - create overlap, fill data structure, set internal ------------------------------------------------------------
----------------------------------------------------------- mmpr_end_work - free memory for internal data structures ------------------------------------------------------------
void mmpr_init_data |
( |
int |
Mesh_id, |
|
|
int |
Part_amount | |
|
) |
| | |
----------------------------------------------------------- mmpr_initialize_work - to initialize the internal data structures ------------------------------------------------------------
int mmpr_IPC_expand_overlap |
( |
const int |
Mesh_id |
) |
|
----------------------------------------------------------- ddr_expand_overlap - to expand overlap regions by one element layer ------------------------------------------------------------
int mmpr_IPC_update |
( |
const int |
Mesh_id, |
|
|
const int * |
ElemsChanged, |
|
|
const int |
nElems | |
|
) |
| | |
----------------------------------------------------------- ddr_update_overlap - to update one element overlap layer ------------------------------------------------------------
int mmpr_PCSR_create_IPC |
( |
const int |
Mesh_id |
) |
|
----------------------------------------------------------- ddr_transfer_copy_elem - to copy (original remains) element from one process (mesh) to another process (mesh) ------------------------------------------------------------ ----------------------------------------------------------- ddr_create_inter_subdomain_connectivity - to create and initalize inter subdomain data ------------------------------------------------------------ Inter subdomain connectivity provides info about 1. general connections info between subdomains 2. detailed info about which [element? face?] is on the other side of subdomain boundary NOTE: this works only for initial elements (father == MMC_NO_FATHER)
int mmpr_PCSR_distribute_elems_to_procs |
( |
const int |
Mesh_id, |
|
|
const int |
Source_proc_id | |
|
) |
| | |
void mmpr_set_metis_options |
( |
const int |
Mesh_id, |
|
|
idx_t |
options[] | |
|
) |
| | |
----------------------------------------------------------- mmpr_set_metis_options - to specify metis behaviour ------------------------------------------------------------
void mmpr_set_parmetis_options |
( |
const int |
Mesh_id, |
|
|
idx_t |
options[] | |
|
) |
| | |
----------------------------------------------------------- mmpr_set_parmetis_options - to specify parmetis behaviour ------------------------------------------------------------