DBCSR
2.8.0
Guide
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
split_pgrid_index
Function
12 statements
Source File
dbcsr_tensor_index.F
dbcsr_tensor_index
split_pgrid_index
Contents
public pure function split_pgrid_index(ind_in, dims) result(ind_out)
transform flat index to nd index
Arguments
Type
Intent
Optional
Attributes
Name
integer,
intent(in)
::
ind_in
flat index
integer,
intent(in),
DIMENSION(:)
::
dims
nd dimensions
Return Value
integer, DIMENSION(SIZE(dims))
nd index