This file contains various routine for printing trees. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | qrm_print_elim_tree (file, parent, n) |
This subroutine prints on a file the elimination tree described by a parent array. The tree is written in "dot" format (see graphviz) More... | |
subroutine | qrm_print_asm_tree (file, parent, rc, n) |
This subroutine prints on a file the assembly tree described by a parent and a postorder arrays. The tree is written in "dot" format (see graphviz) More... | |
subroutine | qrm_print_nsteps_tree (file, adata, weight) |
prints an assembly tree in compressed format More... | |
This file contains various routine for printing trees.
Definition in file qrm_print_tree.F90.
subroutine qrm_print_asm_tree | ( | character, dimension(*) | file, |
integer, dimension(:) | parent, | ||
integer, dimension(:) | rc, | ||
integer | n | ||
) |
This subroutine prints on a file the assembly tree described by a parent and a postorder arrays. The tree is written in "dot" format (see graphviz)
[in] | file | the file where to print the tree |
[in] | parent | an integer array containing the elimination tree in input and the assembly tree on output. The meaning of parent on output is:
|
[in] | rc | an array containing |
[in] | n | an integer containing the number of nodes in the tree |
Definition at line 97 of file qrm_print_tree.F90.
subroutine qrm_print_elim_tree | ( | character, dimension(*) | file, |
integer, dimension(:) | parent, | ||
integer | n | ||
) |
This subroutine prints on a file the elimination tree described by a parent array. The tree is written in "dot" format (see graphviz)
[in] | file | the file where to print the tree |
[in] | parent | an integer array. parent(i)=j means that node/variable j is the father of node/variable i in the tree |
[in] | n | an integer containing the number of nodes in the tree |
Definition at line 45 of file qrm_print_tree.F90.
References i.
subroutine qrm_print_nsteps_tree | ( | character, dimension(*) | file, |
type(qrm_adata_type) | adata, | ||
real(kind(1.d0)), dimension(:), optional | weight | ||
) |
prints an assembly tree in compressed format
[in] | adata | a qrm_adata_type data containing the tree |
[in] | file | the file where to print the tree |
[in] | weight | optional: weight(i) is the weight of the subtree rooted at i |
Definition at line 163 of file qrm_print_tree.F90.
References i.