Yet Another eXchange Tool  0.9.0
Functions
xt_ut_c.h File Reference

supportes the unitrans interfaces/wrappers in xt_ut.f90 with yaxt functionality. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void xt_ut_init (int decomp_size, int comm_tmpl_size, int comm_size, int debug_lvl, int mode, int debug_unit)
 
int xt_ut_init_decomposition_1d (Xt_int *idx_vec, int idx_vec_n)
 
int xt_ut_init_oneway_transposition_template (int decomp_handle_in, int decomp_handle_out, int mpi_world, int icheck_unique)
 
void xt_ut_destroy_transposition_template (int id)
 

Detailed Description

supportes the unitrans interfaces/wrappers in xt_ut.f90 with yaxt functionality.

Author
Jörg Behrens behre.nosp@m.ns@d.nosp@m.krz.d.nosp@m.e Moritz Hanke hanke.nosp@m.@dkr.nosp@m.z.de Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xt_ut_c.h.

Function Documentation

◆ xt_ut_destroy_transposition_template()

void xt_ut_destroy_transposition_template ( int  id)

destroys transposition template

Parameters
[in]idtransposition handle

Definition at line 166 of file xt_ut_c.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_ut_init()

void xt_ut_init ( int  decomp_size,
int  comm_tmpl_size,
int  comm_size,
int  debug_lvl,
int  mode,
int  debug_unit 
)

Initialization of support data for unitrans (start sizes of allocated data). We use the unitrans names. Unlike unitrans, the allocated data can grow.

Parameters
[in]decomp_sizenumber of decompositions
[in]comm_tmpl_sizenumber of communication templates
[in]comm_sizenumber of transpositions
[in]debug_lvldebug level
[in]modedefault communication mode
[in]debug_unitfortran file unit for debug output (not used)

Definition at line 115 of file xt_ut_c.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_ut_init_decomposition_1d()

int xt_ut_init_decomposition_1d ( Xt_int idx_vec,
int  idx_vec_n 
)

creates new decomposition and returns access handle

Parameters
[in]idx_veclocal index vector
[in]idx_vec_nsize of idx_vec
Returns
returns handle

Definition at line 192 of file xt_ut_c.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xt_ut_init_oneway_transposition_template()

int xt_ut_init_oneway_transposition_template ( int  decomp_handle_in,
int  decomp_handle_out,
int  mpi_world,
int  icheck_unique 
)

creates new unitrans compatible oneway transposition decomposition and returns access handle

Parameters
[in]decomp_handle_inaccess handle for input decomposition
[in]decomp_handle_outaccess handle for output decomposition
[in]mpi_worldmpi communicator
[in]icheck_uniqueenable/disbale check of uniqueness
Returns
returns handle