Yet Another eXchange Tool  0.9.0
Data Types | Functions/Subroutines
xt_idxsection Module Reference

Functions/Subroutines

type(xt_idxlist) function, public xt_idxfsection_new (start, global_size, local_size, local_start)
 Fortran style version of xt_idxsection_new. Compared to xt_idxsection_new, here the elements of the vector arguments are used in reversed order and the values of the elements of local_start are shifted by one. This means that, e.g., to start your local section with the global start index you have to set all coords in local_start to ONE instead of ZERO (as it would be required in xt_idxsection_new). The local section must be contained within the global index space. More...
 

Function/Subroutine Documentation

◆ xt_idxfsection_new()

type(xt_idxlist) function, public xt_idxsection::xt_idxfsection_new ( integer(xt_int_kind), intent(in)  start,
integer(xt_int_kind), dimension(:), intent(in)  global_size,
integer, dimension(:), intent(in)  local_size,
integer(xt_int_kind), dimension(:), intent(in)  local_start 
)

Fortran style version of xt_idxsection_new. Compared to xt_idxsection_new, here the elements of the vector arguments are used in reversed order and the values of the elements of local_start are shifted by one. This means that, e.g., to start your local section with the global start index you have to set all coords in local_start to ONE instead of ZERO (as it would be required in xt_idxsection_new). The local section must be contained within the global index space.

Parameters
[in]startstart index of the global index space
[in]global_sizevector holding the global size for each dimension
[in]local_sizevector holding the local section size for each dimension
[in]local_startvector holding the coordinates of the section start; lowest coodinate is ONE for each dimension

Definition at line 156 of file xt_idxsection_f.f90.

Here is the call graph for this function: