metis_oo_interface Module

module~~metis_oo_interface~~UsesGraph module~metis_oo_interface metis_oo_interface module~metis_interface metis_interface module~metis_interface->module~metis_oo_interface iso_c_binding iso_c_binding iso_c_binding->module~metis_interface
Help

Derived Types

type, public :: graph_type

Components

TypeVisibility AttributesNameInitial
integer, public :: nvxts

Number of vertices.

integer, public :: nedgs

Number of edges.

integer, public, pointer:: xadj(:)=> null()
integer, public, pointer:: adjncy(:)=> null()
integer, public :: numflag =1

Numbering style.

integer, public :: ncon
integer, public, pointer:: vwgt(:)=> null()
integer, public, pointer:: adjwgt(:)=> null()
integer, public, pointer:: vsize(:)=> null()

Functions

public function whitechar(char)

Arguments

Type IntentOptional AttributesName
character, intent(in) :: char

Return Value logical

public function count_columns(unit, stat) result(ncol)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: unit
integer, intent(out) :: stat

Return Value integer

public function FMETIS_MeshToNodal(ne, nn, eptr, eind, numflag, xadj, adjncy, stat) result(ierr)

Arguments

Type IntentOptional AttributesName
integer(kind=c_int), intent(in) :: ne
integer(kind=c_int), intent(in) :: nn
integer(kind=c_int), intent(in) :: eptr(ne+1)
integer(kind=c_int), intent(in) :: eind(:)
integer(kind=c_int), intent(in) :: numflag
integer(kind=c_int), intent(out), allocatable:: xadj(:)
integer(kind=c_int), intent(out), allocatable:: adjncy(:)
integer(kind=c_int), intent(out), optional :: stat

Return Value integer(kind=c_int)


Subroutines

public subroutine import_graph(fname, graph, numflag)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: fname
class(graph_type), intent(out) :: graph
integer, intent(in), optional :: numflag

public subroutine export_graph(fname, graph)

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: fname
class(graph_type), intent(in) :: graph

public subroutine write_graph(unit, xadj, adjncy, numflag, vwgt, adjwgt, vsize)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: unit
integer, intent(in) :: xadj(:)
integer, intent(in) :: adjncy(:)
integer, intent(in), optional :: numflag
integer, intent(in), optional :: vwgt(:)
integer, intent(in), optional :: adjwgt(:)
integer, intent(in), optional :: vsize(:)

public subroutine read_graph(unit, xadj, adjncy, numflag, vwgt, adjwgt, vsize)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: unit
integer, intent(out), pointer:: xadj(:)
integer, intent(out), pointer:: adjncy(:)
integer, intent(in), optional :: numflag
integer, optional pointer:: vwgt(:)
integer, intent(out), optional pointer:: adjwgt(:)
integer, intent(out), optional pointer:: vsize(:)

public subroutine print_metis_options(opts, unit)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: opts(0:)
integer, intent(in), optional :: unit