Octopus
metis_oct_m Module Reference

This module contains interfaces for METIS and PARMETIS routines. More...

Detailed Description

This module contains interfaces for METIS and PARMETIS routines.

Data Types

interface  i4_to_imetis
 
interface  i8_to_imetis
 
interface  imetis_to_i4
 
interface  imetis_to_i8
 
interface  oct_metis_partgraphkway
 
interface  oct_metis_partgraphrecursive
 
interface  oct_metis_setdefaultoptions
 
interface  oct_parmetis_v3_partkway
 

Functions/Subroutines

integer(imetis) pure function i4_to_imetis_0 (ii)
 
integer(int32) pure function imetis_to_i4_0 (ii)
 
pure integer(imetis) function, dimension(lbound(ii, 1):ubound(ii, 1)) i4_to_imetis_1 (ii)
 
pure integer(int32) function, dimension(lbound(ii, 1, kind=imetis):ubound(ii, 1, kind=imetis)) imetis_to_i4_1 (ii)
 
integer(imetis) pure function i8_to_imetis_0 (ii)
 
integer(int64) pure function imetis_to_i8_0 (ii)
 
pure integer(imetis) function, dimension(lbound(ii, 1, kind=int64):ubound(ii, 1, kind=int64)) i8_to_imetis_1 (ii)
 
pure integer(int64) function, dimension(lbound(ii, 1, kind=imetis):ubound(ii, 1, kind=imetis)) imetis_to_i8_1 (ii)
 

Variables

integer, parameter metis_option_ptype = 1
 
integer, parameter metis_option_objtype = 2
 
integer, parameter metis_option_ctype = 3
 
integer, parameter metis_option_iptype = 4
 
integer, parameter metis_option_rtype = 5
 
integer, parameter metis_option_dbglvl = 6
 
integer, parameter metis_option_niter = 7
 
integer, parameter metis_option_ncuts = 8
 
integer, parameter metis_option_seed = 9
 
integer, parameter metis_option_no2hop = 10
 
integer, parameter metis_option_minconn = 11
 
integer, parameter metis_option_contig = 12
 
integer, parameter metis_option_compress = 13
 
integer, parameter metis_option_ccorder = 14
 
integer, parameter metis_option_pfactor = 15
 
integer, parameter metis_option_nseps = 16
 
integer, parameter metis_option_ufactor = 17
 
integer, parameter metis_option_numbering = 18
 
integer, parameter metis_option_help = 19
 
integer, parameter metis_option_tpwgts = 20
 
integer, parameter metis_option_ncommon = 21
 
integer, parameter metis_option_nooutput = 22
 
integer, parameter metis_option_balance = 23
 
integer, parameter metis_option_gtype = 24
 
integer, parameter metis_option_ubvec = 25
 
integer, parameter metis_ok = 1
 Returned normally. More...
 
integer, parameter metis_error_input = -2
 Returned due to erroneous inputs and/or options. More...
 
integer, parameter metis_error_memory = -3
 Returned due to insufficient memory. More...
 
integer, parameter metis_error = -4
 Some other errors. More...
 
integer, parameter imetis = int32
 
type(mpi_datatype), parameter mpi_metis_int = MPI_INTEGER
 

Function/Subroutine Documentation

◆ i4_to_imetis_0()

integer(imetis) pure function metis_oct_m::i4_to_imetis_0 ( integer(int32), intent(in)  ii)

Definition at line 276 of file metis.F90.

◆ imetis_to_i4_0()

integer(int32) pure function metis_oct_m::imetis_to_i4_0 ( integer(imetis), intent(in)  ii)

Definition at line 282 of file metis.F90.

◆ i4_to_imetis_1()

pure integer(imetis) function, dimension(lbound(ii, 1):ubound(ii, 1)) metis_oct_m::i4_to_imetis_1 ( integer(int32), dimension(:), intent(in)  ii)

Definition at line 288 of file metis.F90.

◆ imetis_to_i4_1()

pure integer(int32) function, dimension(lbound(ii, 1, kind=imetis):ubound(ii, 1, kind=imetis)) metis_oct_m::imetis_to_i4_1 ( integer(imetis), dimension(:), intent(in)  ii)

Definition at line 295 of file metis.F90.

◆ i8_to_imetis_0()

integer(imetis) pure function metis_oct_m::i8_to_imetis_0 ( integer(int64), intent(in)  ii)

Definition at line 302 of file metis.F90.

◆ imetis_to_i8_0()

integer(int64) pure function metis_oct_m::imetis_to_i8_0 ( integer(imetis), intent(in)  ii)

Definition at line 308 of file metis.F90.

◆ i8_to_imetis_1()

pure integer(imetis) function, dimension(lbound(ii, 1, kind=int64):ubound(ii, 1, kind=int64)) metis_oct_m::i8_to_imetis_1 ( integer(int64), dimension(:), intent(in)  ii)

Definition at line 314 of file metis.F90.

◆ imetis_to_i8_1()

pure integer(int64) function, dimension(lbound(ii, 1, kind=imetis):ubound(ii, 1, kind=imetis)) metis_oct_m::imetis_to_i8_1 ( integer(imetis), dimension(:), intent(in)  ii)

Definition at line 321 of file metis.F90.

Variable Documentation

◆ metis_option_ptype

integer, parameter metis_oct_m::metis_option_ptype = 1

Definition at line 126 of file metis.F90.

◆ metis_option_objtype

integer, parameter metis_oct_m::metis_option_objtype = 2

Definition at line 126 of file metis.F90.

◆ metis_option_ctype

integer, parameter metis_oct_m::metis_option_ctype = 3

Definition at line 126 of file metis.F90.

◆ metis_option_iptype

integer, parameter metis_oct_m::metis_option_iptype = 4

Definition at line 126 of file metis.F90.

◆ metis_option_rtype

integer, parameter metis_oct_m::metis_option_rtype = 5

Definition at line 126 of file metis.F90.

◆ metis_option_dbglvl

integer, parameter metis_oct_m::metis_option_dbglvl = 6

Definition at line 126 of file metis.F90.

◆ metis_option_niter

integer, parameter metis_oct_m::metis_option_niter = 7

Definition at line 126 of file metis.F90.

◆ metis_option_ncuts

integer, parameter metis_oct_m::metis_option_ncuts = 8

Definition at line 126 of file metis.F90.

◆ metis_option_seed

integer, parameter metis_oct_m::metis_option_seed = 9

Definition at line 126 of file metis.F90.

◆ metis_option_no2hop

integer, parameter metis_oct_m::metis_option_no2hop = 10

Definition at line 126 of file metis.F90.

◆ metis_option_minconn

integer, parameter metis_oct_m::metis_option_minconn = 11

Definition at line 126 of file metis.F90.

◆ metis_option_contig

integer, parameter metis_oct_m::metis_option_contig = 12

Definition at line 126 of file metis.F90.

◆ metis_option_compress

integer, parameter metis_oct_m::metis_option_compress = 13

Definition at line 126 of file metis.F90.

◆ metis_option_ccorder

integer, parameter metis_oct_m::metis_option_ccorder = 14

Definition at line 126 of file metis.F90.

◆ metis_option_pfactor

integer, parameter metis_oct_m::metis_option_pfactor = 15

Definition at line 126 of file metis.F90.

◆ metis_option_nseps

integer, parameter metis_oct_m::metis_option_nseps = 16

Definition at line 126 of file metis.F90.

◆ metis_option_ufactor

integer, parameter metis_oct_m::metis_option_ufactor = 17

Definition at line 126 of file metis.F90.

◆ metis_option_numbering

integer, parameter metis_oct_m::metis_option_numbering = 18

Definition at line 126 of file metis.F90.

◆ metis_option_help

integer, parameter metis_oct_m::metis_option_help = 19

Definition at line 126 of file metis.F90.

◆ metis_option_tpwgts

integer, parameter metis_oct_m::metis_option_tpwgts = 20

Definition at line 126 of file metis.F90.

◆ metis_option_ncommon

integer, parameter metis_oct_m::metis_option_ncommon = 21

Definition at line 126 of file metis.F90.

◆ metis_option_nooutput

integer, parameter metis_oct_m::metis_option_nooutput = 22

Definition at line 126 of file metis.F90.

◆ metis_option_balance

integer, parameter metis_oct_m::metis_option_balance = 23

Definition at line 126 of file metis.F90.

◆ metis_option_gtype

integer, parameter metis_oct_m::metis_option_gtype = 24

Definition at line 126 of file metis.F90.

◆ metis_option_ubvec

integer, parameter metis_oct_m::metis_option_ubvec = 25

Definition at line 126 of file metis.F90.

◆ metis_ok

integer, parameter metis_oct_m::metis_ok = 1

Returned normally.

Definition at line 154 of file metis.F90.

◆ metis_error_input

integer, parameter metis_oct_m::metis_error_input = -2

Returned due to erroneous inputs and/or options.

Definition at line 154 of file metis.F90.

◆ metis_error_memory

integer, parameter metis_oct_m::metis_error_memory = -3

Returned due to insufficient memory.

Definition at line 154 of file metis.F90.

◆ metis_error

integer, parameter metis_oct_m::metis_error = -4

Some other errors.

Definition at line 154 of file metis.F90.

◆ imetis

integer, parameter metis_oct_m::imetis = int32

Definition at line 165 of file metis.F90.

◆ mpi_metis_int

type(mpi_datatype), parameter metis_oct_m::mpi_metis_int = MPI_INTEGER

Definition at line 166 of file metis.F90.