Enumerations | |
enum | ddt_mesh_handling { DDC_LOCAL_MESH = 0, DDC_GLOBAL_MESH = 1, DDC_DEFAULT = 2 } |
Functions | |
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. |
enum ddt_mesh_handling |
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.
IN | Mesh_id | |
OUT | N_subdomains | |
OUT | N_subdomains_elems | |
OUT | Subdomains_elems | |
OUT | Subdomains_elems_overlap |
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
IN | Mesh_id | |
IN | Mesh_handling DDC_LOCAL_MESH - creates subdomains only from local mesh DDC_GLOBAL_MESH - creates subdomains from all procs' meshes | |
IN | N_subdomains | |
OUT | N_subdomains_elems - sizes (in core elements) for each subdomain preferred size: N_subdomains | |
OUT | Subdomains_elems - core elements stored in continogus manner for each subdomain preferred size: number of all elements (LOCAL or GLOBAL) | |
OUT | Overlap_sizes - number of overlap element for each subdomain preferred size: N_subdomains | |
OUT | Subdomains_elems_overlap - elements creating overlap for each subdomain preferred size: same as Subdomains_elems |