DistDir
Functions
Idxlist

Functions

t_idxlistnew_idxlist (int *idx_array, int num_indices)
 Create new index list. More...
 
t_idxlistnew_idxlist_empty ()
 Create new empty index list. More...
 
void delete_idxlist (t_idxlist *idxlist)
 Clean memory of a t_idxlist structure. More...
 

Detailed Description

User interface to generate a t_idxlist object which contains information about global indices

Function Documentation

◆ delete_idxlist()

void delete_idxlist ( t_idxlist idxlist)

Clean memory of a t_idxlist structure.

Free all the memory of a t_idxlist structure

Parameters
[in]idxlistpointer to t_idxlist structure

◆ new_idxlist()

t_idxlist* new_idxlist ( int *  idx_array,
int  num_indices 
)

Create new index list.

Create index list given an array of global indices and its size

Parameters
[in]idx_arrayArray of global indices
[in]num_indicesNumber of indices in the idx_array array
Returns
t_idxlist structure

◆ new_idxlist_empty()

t_idxlist* new_idxlist_empty ( )

Create new empty index list.

Create index list with size zero

Returns
t_idxlist structure