Neko  0.8.99
A portable framework for high-order spectral element flow simulations
parmetis Module Reference

Interface to ParMETIS.

Data Types

interface  parmetis_v3_partmeshkway
 
interface  parmetis_v3_partgeom
 

Functions/Subroutines

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

Variables

integer, parameter, private metis_ok = 1
 
integer, parameter, private metis_error = -4
 

Function/Subroutine Documentation

◆ parmetis_dist()

subroutine parmetis::parmetis_dist ( integer(kind= c_int32_t ), dimension(0:pe_size), intent(inout)  dist,
integer, intent(in)  nelv 
)
private

Definition at line 263 of file parmetis.F90.

Here is the caller graph for this function:

◆ 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

Definition at line 220 of file parmetis.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parmetis_partgeom()

subroutine, public parmetis::parmetis_partgeom ( type(mesh_t), intent(inout)  msh,
type(mesh_fld_t), intent(inout)  parts 
)
Parameters
[in,out]mshMesh
[in,out]partsPartitions

Definition at line 181 of file parmetis.F90.

Here is the call graph for this function:

◆ 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 
)
Parameters
[in,out]mshMesh
[in,out]partsPartitions
[in]nprtsNumber 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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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

Definition at line 235 of file parmetis.F90.

Here is the caller graph for this function:

Variable Documentation

◆ metis_error

integer, parameter, private parmetis::metis_error = -4
private

Definition at line 45 of file parmetis.F90.

◆ metis_ok

integer, parameter, private parmetis::metis_ok = 1
private

Definition at line 45 of file parmetis.F90.