DOUG 0.2
Data Types | Functions/Subroutines | Variables

Graph_class Module Reference

Data Types

type  Graph

Functions/Subroutines

type(GraphGraph_New (n, m, type)
type(GraphGraph_newInit (n, m, xadj, adjncy, type)
subroutine Graph_Init (G, xadj, adjncy, type)
subroutine Graph_Destroy (G)
subroutine Graph_Partition (G, nparts, method, options)
subroutine, private Graph_partng (G, nparts, method, options)

Variables

integer, parameter D_GRAPH_DUAL = 1
integer, parameter D_GRAPH_NODAL = 2
integer, parameter D_PART_PMETIS = 1
integer, parameter D_PART_KMETIS = 2
integer, parameter D_PART_VKMETIS = 3
integer, parameter D_PART_OMETIS = 4

Function/Subroutine Documentation

subroutine Graph_class::Graph_Destroy ( type(Graph),intent(inout)  G)
subroutine Graph_class::Graph_Init ( type(Graph),intent(inout)  G,
integer,dimension(:),intent(in)  xadj,
integer,dimension(:),intent(in)  adjncy,
integer,intent(in),optional  type 
)

Definition at line 170 of file Graph.f90.

References D_GRAPH_DUAL, DOUG_utils::DOUG_abort(), not, and or().

type(Graph) Graph_class::Graph_New ( integer,intent(in),optional  n,
integer,intent(in),optional  m,
integer,intent(in),optional  type 
)

Definition at line 103 of file Graph.f90.

References D_GRAPH_DUAL, DOUG_utils::DOUG_abort(), and or().

Referenced by Graph_newInit(), and Mesh_class::Mesh_New().

type(Graph) Graph_class::Graph_newInit ( integer,intent(in)  n,
integer,intent(in)  m,
integer,dimension(:),intent(in)  xadj,
integer,dimension(:),intent(in)  adjncy,
integer,intent(in),optional  type 
)
subroutine Graph_class::Graph_Partition ( type(Graph),intent(inout)  G,
integer,intent(in)  nparts,
integer,optional  method,
integer,dimension(5),optional  options 
)
subroutine,private Graph_class::Graph_partng ( type(Graph),intent(inout)  G,
integer,intent(in)  nparts,
integer,intent(in)  method,
integer,dimension(5),intent(in)  options 
) [private]

Definition at line 266 of file Graph.f90.

References D_PART_KMETIS, D_PART_PMETIS, D_PART_VKMETIS, DOUG_utils::DOUG_abort(), and globals::stream.

Referenced by Graph_Partition().


Variable Documentation

integer,parameter Graph_class::D_GRAPH_DUAL = 1

Definition at line 28 of file Graph.f90.

Referenced by Graph_Init(), Graph_New(), and Mesh_class::Mesh_buildGraphDual().

integer,parameter Graph_class::D_GRAPH_NODAL = 2
integer,parameter Graph_class::D_PART_KMETIS = 2

Definition at line 81 of file Graph.f90.

Referenced by Graph_Partition(), and Graph_partng().

integer,parameter Graph_class::D_PART_OMETIS = 4

Definition at line 87 of file Graph.f90.

integer,parameter Graph_class::D_PART_PMETIS = 1

Definition at line 77 of file Graph.f90.

Referenced by Graph_partng().

integer,parameter Graph_class::D_PART_VKMETIS = 3