NTPoly
Functions/Subroutines
loadbalancermodule_wrp Module Reference

Wraps the load balancer module for calling from other languages. More...

Functions/Subroutines

subroutine, public permutematrix_wrp (ih_mat_in, ih_mat_out, ih_permutation, ih_memorypool)
 Apply a permutation to a matrix. More...
 
subroutine, public undopermutematrix_wrp (ih_mat_in, ih_mat_out, ih_permutation, ih_memorypool)
 Undo a permutation applied to a matrix. More...
 

Detailed Description

Wraps the load balancer module for calling from other languages.

Function/Subroutine Documentation

◆ permutematrix_wrp()

subroutine, public loadbalancermodule_wrp::permutematrix_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_mat_in,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_mat_out,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_permutation,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_memorypool 
)

Apply a permutation to a matrix.

Parameters
[in]ih_mat_inmatrix to permute.
[out]ih_mat_outpermuted matrix.
[in]ih_permutationto apply.
[in,out]ih_memorypoolmemory pool to use.

◆ undopermutematrix_wrp()

subroutine, public loadbalancermodule_wrp::undopermutematrix_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_mat_in,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_mat_out,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_permutation,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_memorypool 
)

Undo a permutation applied to a matrix.

Parameters
[in]ih_mat_inmatrix to undo permutation of.
[out]ih_mat_outunpermuted matrix.
[in]ih_permutationto remove.
[in,out]ih_memorypoolmemory pool to use. Optional.