Octopus
metis_oct_m::oct_parmetis_v3_partkway Interface Reference

Detailed Description

Definition at line 221 of file metis.F90.

Public Member Functions

subroutine oct_parmetis_v3_partkway (vtxdist, xadj, adjncy, ncon, nparts, tpwgts, ubvec, options, edgecut, part, comm)
 

Constructor & Destructor Documentation

◆ oct_parmetis_v3_partkway()

subroutine metis_oct_m::oct_parmetis_v3_partkway::oct_parmetis_v3_partkway ( integer(imetis), intent(in)  vtxdist,
integer(imetis), intent(in)  xadj,
integer(imetis), intent(in)  adjncy,
integer(imetis), intent(in)  ncon,
integer(imetis), intent(in)  nparts,
real(real32), intent(in)  tpwgts,
real(real32), intent(in)  ubvec,
integer(imetis), intent(in)  options,
integer(imetis), intent(out)  edgecut,
integer(imetis), intent(out)  part,
integer, intent(in)  comm 
)
Parameters
[in]vtxdistThis array describes how the vertices of the graph are distributed among the processors. Its contents are identical for every processor.
[in]xadjThese store the (local) adjacency structure of the graph at each processor.
[in]adjncyThese store the (local) adjacency structure of the graph at each processor.
[in]nconThis is used to specify the number of weights that each vertex has. It is also the number of balance constraints that must be satisfied.
[in]npartsThis is used to specify the number of sub-domains that are desired. Note that the number of sub-domains is independent of the number of processors that call this routine.
[in]tpwgtsAn array of size ncon x nparts that is used to specify the fraction of vertex weight that should be distributed to each sub-domain for each balance constraint. If all of the sub-domains are to be of the same size for every vertex weight, then each of the ncon x nparts elements should be set to a value of 1/nparts. If ncon is greater than 1, the target sub-domain weights for each sub-domain are stored contiguously (similar to the vwgt array). Note that the sum of all of the tpwgts for a given vertex weight should be one.
[in]ubvecAn array of size ncon that is used to specify the imbalance tolerance for each vertex weight, with 1 being perfect balance and nparts being perfect imbalance. A value of 1.05 for each of the ncon weights is recommended.
[in]optionsThis is an array of integers that is used to pass additional parameters for the routine. The first element (i.e., options[0]) can take either the value of 0 or 1. If it is 0, then the default values are used.
[out]edgecutUpon successful completion, the number of edges that are cut by the partitioning is written to this parameter.
[out]partThis is an array of size equal to the number of locally-stored vertices. Upon successful completion the partition vector of the locally-stored vertices is written to this array.
[in]commThis is a pointer to the MPI communicator of the processes that call PARMETIS.

Definition at line 221 of file metis.F90.


The documentation for this interface was generated from the following file: