Defines | |
#define | MMPC_MAX_NUM_SUB 1024 |
Functions | |
int | mmpr_init_mesh (int Control, int Mesh_id, int Nr_proc, int My_proc_id) |
int | mmpr_check_mesh (int Mesh_id) |
int | mmpr_el_owner (int Mesh_id, int El) |
int | mmpr_el_set_owner (int Mesh_id, int El, int Owner) |
int | mmpr_fa_owner (int Mesh_id, int Fa) |
int | mmpr_fa_set_owner (int Mesh_id, int Fa, int Owner) |
int | mmpr_ed_owner (int Mesh_id, int Ed) |
int | mmpr_ed_set_owner (int Mesh_id, int Ed, int Owner) |
int | mmpr_ve_owner (int Mesh_id, int Ve) |
int | mmpr_ve_set_owner (int Mesh_id, int Ve, int Owner) |
int | mmpr_el_id_at_owner (int Mesh_id, int El) |
int | mmpr_el_set_id_at_owner (int Mesh_id, int El, int Id_At_Owner) |
int | mmpr_fa_id_at_owner (int Mesh_id, int Fa) |
int | mmpr_fa_set_id_at_owner (int Mesh_id, int Fa, int Id_At_Owner) |
int | mmpr_ed_id_at_owner (int Mesh_id, int Ed) |
int | mmpr_ed_set_id_at_owner (int Mesh_id, int Ed, int Id_At_Owner) |
int | mmpr_ve_id_at_owner (int Mesh_id, int Ve) |
int | mmpr_ve_set_id_at_owner (int Mesh_id, int Ve, int Id_At_Owner) |
int | mmpr_create_subdomains (int Mesh_id, int Control) |
int | mmpr_init_ref (int Mesh_id) |
int | mmpr_is_ready_for_proj_dof_ref (int Mesh_id) |
int | mmpr_final_ref (int Mesh_id) |
int | mmpr_mesh_ent_ovl (int Mesh_id) |
int | mmpr_update_ipid (int Mesh_id) |
int | mmpr_free_mesh_ovl (int Mesh_id) |
int | mmpr_balance_load (int Mesh_id) |
int | mmpr_update_ref_list (const int Mesh_id, int *Nr_ref, int **List_ref) |
int | mmpr_n_neighbouring_procs (const int Mesh_id) |
int | mmpr_neighbouring_procs (const int Mesh_id, int *Neigh_proc_ids) |
int | mmpr_ipc_faces_connected_to_proc (const int Mesh_id, const int Proc_id, int *Faces) |
int | mmpr_ipc_other_subdomain_neigh (const int Mesh_id, const int Fa, int *Neig_el_id_at_owner, int *Neig_el_owner) |
#define MMPC_MAX_NUM_SUB 1024 |
int mmpr_balance_load | ( | int | Mesh_id | ) |
----------------------------------------------------------- mmpr_balance_load - to ... (what you think?) ------------------------------------------------------------
Mesh_id | in: mesh ID |
int mmpr_check_mesh | ( | int | Mesh_id | ) |
----------------------------------------------------------- mmpr_check_mesh - to check the parallel mesh data structure ------------------------------------------------------------
Mesh_id | returns: >0 - Mesh ID, <0 - error code |
int mmpr_create_subdomains | ( | int | Mesh_id, | |
int | Control | |||
) |
-------------------------------------------------------- mmpr_create_subdomains - to decompose the mesh and create subdomains ---------------------------------------------------------
Core Elements transfer orders
Overlap Elements transfer directions
Also, we must note destination process to receive additional transfers.
Transfering overlap from MASTER proc to other procs
Mesh_id | returns: >=0 - success code, <0 - error code | |
Control | in: mesh ID in: ??? |
int mmpr_ed_id_at_owner | ( | int | Mesh_id, | |
int | Ed | |||
) |
------------------------------------------------------------------------- mmpr_ed_id_at_owner - to get an local identifier of an edge ---------------------------------------------------------------------------
Mesh_id | returns: >0 an local identifier of an edge <0 - error code | |
Ed | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) edge ID |
int mmpr_ed_owner | ( | int | Mesh_id, | |
int | Ed | |||
) |
------------------------------------------------------------------------- mmpr_ed_owner - to get an owning processor identifier of an edge ---------------------------------------------------------------------------
Mesh_id | returns: >0 an owning processor identifier of an edge <0 - error code | |
Ed | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) edge ID |
int mmpr_ed_set_id_at_owner | ( | int | Mesh_id, | |
int | Ed, | |||
int | Id_At_Owner | |||
) |
------------------------------------------------------------------------- mmpr_ed_set_id_at_owner - to set an local identifier of an edge ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
Ed | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh | |
Id_At_Owner | in: global (within the subdomain) edge ID in: local identifier of the edge |
int mmpr_ed_set_owner | ( | int | Mesh_id, | |
int | Ed, | |||
int | Owner | |||
) |
------------------------------------------------------------------------- mmpr_ed_set_owner - to set an owning processor identifier of an edge ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
Ed | in: mesh ID or 0 (MMPC_CUR_MESH_ID) for the current mesh | |
Owner | in: global (within the subdomain) edge ID in: owning processor identifier of the edge |
int mmpr_el_id_at_owner | ( | int | Mesh_id, | |
int | El | |||
) |
------------------------------------------------------------------------- mmpr_el_id_at_owner - to get an local identifier of an element ---------------------------------------------------------------------------
Mesh_id | returns: >0 - an local identifier of an element <0 - error code | |
El | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) element ID |
int mmpr_el_owner | ( | int | Mesh_id, | |
int | El | |||
) |
------------------------------------------------------------------------- mmpr_el_owner - to get an owning processor identifier of an element ---------------------------------------------------------------------------
Mesh_id | returns: >0 -an owning processor identifier of an element <0 - error code | |
El | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) element ID |
int mmpr_el_set_id_at_owner | ( | int | Mesh_id, | |
int | El, | |||
int | Id_At_Owner | |||
) |
------------------------------------------------------------------------- mmpr_el_set_id_at_owner - to set an local identifier of an element ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
El | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh | |
Id_At_Owner | in: global (within the subdomain) element ID in: local identifier of the element |
int mmpr_el_set_owner | ( | int | Mesh_id, | |
int | El, | |||
int | Owner | |||
) |
------------------------------------------------------------------------- mmpr_el_set_owner - to set an owning processor identifier of an element ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
El | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh | |
Owner | in: global (within the subdomain) element ID in: owning processor identifier of the element |
int mmpr_fa_id_at_owner | ( | int | Mesh_id, | |
int | Fa | |||
) |
------------------------------------------------------------------------- mmpr_fa_id_at_owner - to get an local identifier of a face ---------------------------------------------------------------------------
Mesh_id | returns: >0 - an local identifier of a face <0 - error code | |
Fa | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) ID |
int mmpr_fa_owner | ( | int | Mesh_id, | |
int | Fa | |||
) |
------------------------------------------------------------------------- mmpr_fa_owner - to get an owning processor identifier of a face ---------------------------------------------------------------------------
Mesh_id | returns: >0 - an owning processor identifier of a face <0 - error code | |
Fa | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) ID |
int mmpr_fa_set_id_at_owner | ( | int | Mesh_id, | |
int | Fa, | |||
int | Id_At_Owner | |||
) |
------------------------------------------------------------------------- mmpr_fa_set_id_at_owner - to set an local identifier of a face ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
Fa | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh | |
Id_At_Owner | in: global (within the subdomain) face ID in: local identifier of the face |
int mmpr_fa_set_owner | ( | int | Mesh_id, | |
int | Fa, | |||
int | Owner | |||
) |
------------------------------------------------------------------------- mmpr_fa_set_owner - to set an owning processor identifier of a face ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
Fa | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh | |
Owner | in: global (within the subdomain) face ID in: owning processor identifier of the face |
int mmpr_final_ref | ( | int | Mesh_id | ) |
----------------------------------------------------------- mmpr_final_ref - to finalize the process of parallel refinement ------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh |
int mmpr_free_mesh_ovl | ( | int | Mesh_id | ) |
-------------------------------------------------------- mmpr_free_mesh_ovl - to free data structure with overlap info ----------------------------------------------------------
Mesh_id | in: mesh ID |
int mmpr_init_mesh | ( | int | Control, | |
int | Mesh_id, | |||
int | Nr_proc, | |||
int | My_proc_id | |||
) |
----------------------------------------------------------- mmpr_init_mesh - to initialize the parallel mesh data structure ------------------------------------------------------------
Control | returns: >0 - Mesh ID, <0 - error code |
int mmpr_init_ref | ( | int | Mesh_id | ) |
----------------------------------------------------------- mmpr_init_ref - to initialize the process of refinement ------------------------------------------------------------
*++++++++++++++++ executable statements ++++++++++++++++*/
Mesh_id | returns: >=0 - success code, <0 - error code in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh |
int mmpr_ipc_faces_connected_to_proc | ( | const int | Mesh_id, | |
const int | Proc_id, | |||
int * | Faces | |||
) |
----------------------------------------------------------- mmpr_ipc_faces_connected_to_proc - to get array of face (ids) connected with given proc id ------------------------------------------------------------
int mmpr_ipc_other_subdomain_neigh | ( | const int | Mesh_id, | |
const int | Fa, | |||
int * | Neig_el_id_at_owner, | |||
int * | Neig_el_owner | |||
) |
----------------------------------------------------------- mmpr_ipc_fa_crossboundary_neig - to get info about element on the other side of boundary ------------------------------------------------------------
int mmpr_is_ready_for_proj_dof_ref | ( | int | Mesh_id | ) |
----------------------------------------------------------- mmr_is_ready_for_proj_dof_ref - to check if mesh module is ready for dofs projection ------------------------------------------------------------
int mmpr_mesh_ent_ovl | ( | int | Mesh_id | ) |
-------------------------------------------------------- mmpr_mesh_ent_ovl - to create tables (for each mesh entity type) of local numbers and storing processors for each mesh entity owned by a given processor but stored also on other processors ---------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code in: mesh ID |
int mmpr_n_neighbouring_procs | ( | const int | Mesh_id | ) |
----------------------------------------------------------- mmpr_ipc_n_connected_procs - to get number of neighburing subdomains assigned to other procs. ------------------------------------------------------------
----------------------------------------------------------- mmpr_n_neighbouring_procs - to get number of neighburing subdomains assigned to other procs. / / Domain 1 (D1) is neighbouring to the domain 2 (D2) / only when they have at least one common mesh entity. / <=> (D1 n D2) != {0} /
------------------------------------------------------------
int mmpr_neighbouring_procs | ( | const int | Mesh_id, | |
int * | Neigh_proc_ids | |||
) |
----------------------------------------------------------- mmpr_interproc_connectivity - to get detailed info about neighbouring procs ------------------------------------------------------------
int mmpr_update_ipid | ( | int | Mesh_id | ) |
-------------------------------------------------------- mmpr_update_ipid - to update interprocessor ID for all mesh entities using interprocessor communication ---------------------------------------------------------
Mesh_id | returns: >=0 - processor ID, <0 - error code in: mesh ID |
int mmpr_update_ref_list | ( | const int | Mesh_id, | |
int * | Nr_ref, | |||
int ** | List_ref | |||
) |
----------------------------------------------------------- mmpr_update_ref_list - to update list of refined elements due to irregularity constraints using inter-processor communication ------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
Nr_ref | in: mesh ID | |
List_ref | in/out: number of refined elements in/out: list of refined elements |
int mmpr_ve_id_at_owner | ( | int | Mesh_id, | |
int | Ve | |||
) |
------------------------------------------------------------------------- mmr_ve_id_at_owner - to get an local identifier of a vertex ---------------------------------------------------------------------------
*--------------------------------------------------------------------------
Mesh_id | returns: >0 - a local identifier of a vertex <0 - error code | |
Ve | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) vertex ID |
int mmpr_ve_owner | ( | int | Mesh_id, | |
int | Ve | |||
) |
------------------------------------------------------------------------- mmpr_ve_owner - to get an owning processor identifier of a vertex ---------------------------------------------------------------------------
Mesh_id | returns: >0 - an owning processor identifier of a vertex <0 - error code | |
Ve | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh in: global (within the subdomain) vertex ID |
int mmpr_ve_set_id_at_owner | ( | int | Mesh_id, | |
int | Ve, | |||
int | Id_At_Owner | |||
) |
------------------------------------------------------------------------- mmpr_ve_set_id_at_owner - to set an local identifier of a vertex ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
Ve | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh | |
Id_At_Owner | in: global (within the subdomain) vertex ID in: local identifier of the vertex |
int mmpr_ve_set_owner | ( | int | Mesh_id, | |
int | Ve, | |||
int | Owner | |||
) |
------------------------------------------------------------------------- mmpr_ve_set_owner - to set an owning processor identifier of a vertex ---------------------------------------------------------------------------
Mesh_id | returns: >=0 - success code, <0 - error code | |
Ve | in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh | |
Owner | in: global (within the subdomain) vertex ID in: owning processor identifier of the vertex |