(git:374b731)
Loading...
Searching...
No Matches
dbt_index.F File Reference

Go to the source code of this file.

Data Types

type  dbt_index::nd_to_2d_mapping
 

Modules

module  dbt_index
 tensor index and mapping to DBM index
 

Functions/Subroutines

subroutine, public dbt_index::create_nd_to_2d_mapping (map, dims, map1_2d, map2_2d, base, col_major)
 Create all data needed to quickly map between nd index and 2d index.
 
subroutine, public dbt_index::destroy_nd_to_2d_mapping (map)
 
pure integer function, public dbt_index::ndims_mapping (map)
 
pure integer function, public dbt_index::ndims_mapping_row (map)
 how many tensor dimensions are mapped to matrix row
 
pure integer function, public dbt_index::ndims_mapping_column (map)
 how many tensor dimensions are mapped to matrix column
 
pure subroutine, public dbt_index::dbt_get_mapping_info (map, ndim_nd, ndim1_2d, ndim2_2d, dims_2d_i8, dims_2d, dims_nd, dims1_2d, dims2_2d, map1_2d, map2_2d, map_nd, base, col_major)
 get mapping info
 
pure integer(kind=int_8) function, public dbt_index::combine_tensor_index (ind_in, dims)
 transform nd index to flat index
 
pure integer function, public dbt_index::combine_pgrid_index (ind_in, dims)
 transform nd index to flat index
 
pure integer function, dimension(size(dims)), public dbt_index::split_tensor_index (ind_in, dims)
 transform flat index to nd index
 
pure integer function, dimension(size(dims)), public dbt_index::split_pgrid_index (ind_in, dims)
 transform flat index to nd index
 
pure integer(kind=int_8) function, dimension(2), public dbt_index::get_2d_indices_tensor (map, ind_in)
 transform nd index to 2d index, using info from index mapping.
 
pure integer function, dimension(2), public dbt_index::get_2d_indices_pgrid (map, ind_in)
 transform nd index to 2d index, using info from index mapping.
 
pure integer function, dimension(map%ndim_nd), public dbt_index::get_nd_indices_tensor (map, ind_in)
 transform 2d index to nd index, using info from index mapping.
 
pure integer function, dimension(map%ndim_nd), public dbt_index::get_nd_indices_pgrid (map, ind_in)
 transform 2d index to nd index, using info from index mapping.
 
pure integer function, dimension(size(order)), public dbt_index::dbt_inverse_order (order)
 Invert order.
 
subroutine, public dbt_index::permute_index (map_in, map_out, order)
 reorder tensor index (no data)