Interface to ParMETIS.
More...
|
subroutine, public | parmetis_partmeshkway (msh, parts, weights, nprts) |
| Compute a k-way partitioning of a mesh msh. More...
|
|
subroutine, public | parmetis_partgeom (msh, parts) |
| Compute a k-way partitioning of a mesh msh using a coordinated-based space-filing curves method. More...
|
|
subroutine | parmetis_mark_parts (parts, msh, part) |
| Fill mesh field according to new partitions. More...
|
|
subroutine | parmetis_wgt (msh, wgt, tpwgts, ubvec, nparts, ncon, weight) |
| Setup weights and balance constraints for the dual graph. More...
|
|
subroutine | parmetis_dist (dist, nelv) |
| Compute the (parallel) vertex distribution of the dual graph. More...
|
|
◆ parmetis_dist()
subroutine parmetis::parmetis_dist |
( |
integer(kind= c_int32_t ), dimension(0:pe_size), intent(inout) |
dist, |
|
|
integer, intent(in) |
nelv |
|
) |
| |
|
private |
Compute the (parallel) vertex distribution of the dual graph.
Definition at line 263 of file parmetis.F90.
◆ parmetis_mark_parts()
subroutine parmetis::parmetis_mark_parts |
( |
type(mesh_fld_t), intent(inout) |
parts, |
|
|
type(mesh_t), intent(in) |
msh, |
|
|
integer(kind= c_int32_t ), dimension(:), intent(in), allocatable |
part |
|
) |
| |
|
private |
Fill mesh field according to new partitions.
Definition at line 220 of file parmetis.F90.
◆ parmetis_partgeom()
subroutine, public parmetis::parmetis_partgeom |
( |
type(mesh_t), intent(inout) |
msh, |
|
|
type(mesh_fld_t), intent(inout) |
parts |
|
) |
| |
Compute a k-way partitioning of a mesh msh using a coordinated-based space-filing curves method.
- Parameters
-
[in,out] | msh | Mesh |
[in,out] | parts | Partitions |
Definition at line 181 of file parmetis.F90.
◆ parmetis_partmeshkway()
subroutine, public parmetis::parmetis_partmeshkway |
( |
type(mesh_t), intent(inout) |
msh, |
|
|
type(mesh_fld_t), intent(inout) |
parts, |
|
|
type(mesh_fld_t), intent(in), optional |
weights, |
|
|
integer, intent(in), optional |
nprts |
|
) |
| |
Compute a k-way partitioning of a mesh msh.
- Parameters
-
[in,out] | msh | Mesh |
[in,out] | parts | Partitions |
[in] | nprts | Number of partitions |
- Note
- We use C-style numbering in the element distribution. Otherwise, the partitions return by Metis will not be numbered in the same way as the MPI ranks
Definition at line 110 of file parmetis.F90.
◆ parmetis_wgt()
subroutine parmetis::parmetis_wgt |
( |
type(mesh_t), intent(in) |
msh, |
|
|
integer(kind= c_int32_t ), dimension(:), intent(inout), allocatable |
wgt, |
|
|
real(kind= c_float ), dimension(:), intent(inout), allocatable |
tpwgts, |
|
|
real(kind= c_float ), dimension(:), intent(inout), allocatable |
ubvec, |
|
|
integer, intent(in) |
nparts, |
|
|
integer, intent(in) |
ncon, |
|
|
type(mesh_fld_t), intent(in), optional |
weight |
|
) |
| |
|
private |
Setup weights and balance constraints for the dual graph.
Definition at line 235 of file parmetis.F90.
◆ metis_error
integer, parameter, private parmetis::metis_error = -4 |
|
private |
◆ metis_ok
integer, parameter, private parmetis::metis_ok = 1 |
|
private |