Parallel Mesh

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 Documentation

#define MMPC_MAX_NUM_SUB   1024

Function Documentation

int mmpr_balance_load ( int  Mesh_id  ) 

----------------------------------------------------------- mmpr_balance_load - to ... (what you think?) ------------------------------------------------------------

Parameters:
Mesh_id in: mesh ID

Here is the call graph for this function:

int mmpr_check_mesh ( int  Mesh_id  ) 

----------------------------------------------------------- mmpr_check_mesh - to check the parallel mesh data structure ------------------------------------------------------------

Parameters:
Mesh_id returns: >0 - Mesh ID, <0 - error code

Here is the call graph for this function:

Here is the caller graph for this function:

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

Parameters:
Mesh_id returns: >=0 - success code, <0 - error code
Control in: mesh ID in: ???

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_ed_id_at_owner ( int  Mesh_id,
int  Ed 
)

------------------------------------------------------------------------- mmpr_ed_id_at_owner - to get an local identifier of an edge ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

int mmpr_ed_owner ( int  Mesh_id,
int  Ed 
)

------------------------------------------------------------------------- mmpr_ed_owner - to get an owning processor identifier of an edge ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_el_id_at_owner ( int  Mesh_id,
int  El 
)

------------------------------------------------------------------------- mmpr_el_id_at_owner - to get an local identifier of an element ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_el_owner ( int  Mesh_id,
int  El 
)

------------------------------------------------------------------------- mmpr_el_owner - to get an owning processor identifier of an element ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_fa_id_at_owner ( int  Mesh_id,
int  Fa 
)

------------------------------------------------------------------------- mmpr_fa_id_at_owner - to get an local identifier of a face ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

int mmpr_fa_owner ( int  Mesh_id,
int  Fa 
)

------------------------------------------------------------------------- mmpr_fa_owner - to get an owning processor identifier of a face ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_final_ref ( int  Mesh_id  ) 

----------------------------------------------------------- mmpr_final_ref - to finalize the process of parallel refinement ------------------------------------------------------------

Parameters:
Mesh_id returns: >=0 - success code, <0 - error code in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_free_mesh_ovl ( int  Mesh_id  ) 

-------------------------------------------------------- mmpr_free_mesh_ovl - to free data structure with overlap info ----------------------------------------------------------

Parameters:
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 ------------------------------------------------------------

Parameters:
Control returns: >0 - Mesh ID, <0 - error code

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_init_ref ( int  Mesh_id  ) 

----------------------------------------------------------- mmpr_init_ref - to initialize the process of refinement ------------------------------------------------------------

*++++++++++++++++ executable statements ++++++++++++++++*/

Parameters:
Mesh_id returns: >=0 - success code, <0 - error code in: mesh ID or 0 (MMC_CUR_MESH_ID) for the current mesh

Here is the call graph for this function:

Here is the caller graph for this function:

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 ------------------------------------------------------------

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------

Parameters:
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} /

------------------------------------------------------------

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_neighbouring_procs ( const int  Mesh_id,
int *  Neigh_proc_ids 
)

----------------------------------------------------------- mmpr_interproc_connectivity - to get detailed info about neighbouring procs ------------------------------------------------------------

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_update_ipid ( int  Mesh_id  ) 

-------------------------------------------------------- mmpr_update_ipid - to update interprocessor ID for all mesh entities using interprocessor communication ---------------------------------------------------------

Parameters:
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 ------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_ve_id_at_owner ( int  Mesh_id,
int  Ve 
)

------------------------------------------------------------------------- mmr_ve_id_at_owner - to get an local identifier of a vertex ---------------------------------------------------------------------------

*--------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

int mmpr_ve_owner ( int  Mesh_id,
int  Ve 
)

------------------------------------------------------------------------- mmpr_ve_owner - to get an owning processor identifier of a vertex ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

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 ---------------------------------------------------------------------------

Parameters:
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

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1