NTPoly
Data Types | Functions/Subroutines
permutationmodule_wrp Module Reference

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

Data Types

type  permutation_wrp
 A wrapper for the permutation data type. More...
 

Functions/Subroutines

subroutine, public constructdefaultpermutation_wrp (ih_this, matrix_dimension)
 Constructs a permutation that preserves the original order. More...
 
subroutine, public constructreversepermutation_wrp (ih_this, matrix_dimension)
 Constructs a permutation that reverses the original order. More...
 
subroutine, public constructrandompermutation_wrp (ih_this, matrix_dimension)
 Constructs a permutation that has a random order. More...
 
pure subroutine, public destructpermutation_wrp (ih_this)
 Destruct a permutation object. More...
 

Detailed Description

Wraps the load balancer module for calling from other languages.

Function/Subroutine Documentation

◆ constructdefaultpermutation_wrp()

subroutine, public permutationmodule_wrp::constructdefaultpermutation_wrp ( integer(kind=c_int), dimension(size_wrp), intent(out)  ih_this,
integer(kind=c_int), intent(in)  matrix_dimension 
)

Constructs a permutation that preserves the original order.

Parameters
[in,out]ih_thishandle to the permutation to construct.
[in]matrix_dimensionsize of the matrix.

◆ constructrandompermutation_wrp()

subroutine, public permutationmodule_wrp::constructrandompermutation_wrp ( integer(kind=c_int), dimension(size_wrp), intent(out)  ih_this,
integer(kind=c_int), intent(in)  matrix_dimension 
)

Constructs a permutation that has a random order.

Parameters
[in,out]ih_thishandle to the permutation to construct.
[in]matrix_dimensionsize of the matrix.

◆ constructreversepermutation_wrp()

subroutine, public permutationmodule_wrp::constructreversepermutation_wrp ( integer(kind=c_int), dimension(size_wrp), intent(out)  ih_this,
integer(kind=c_int), intent(in)  matrix_dimension 
)

Constructs a permutation that reverses the original order.

Parameters
[in,out]ih_thishandle to the permutation to construct.
[in]matrix_dimensionsize of the matrix.

◆ destructpermutation_wrp()

pure subroutine, public permutationmodule_wrp::destructpermutation_wrp ( integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_this)

Destruct a permutation object.

Parameters
[in,out]ih_thishandle to the permutation to destruct.