combine_pgrid_index Function

public pure function combine_pgrid_index(ind_in, dims) result(ind_out)

transform nd index to flat index

Arguments

Type IntentOptional Attributes Name
integer, intent(in), DIMENSION(:) :: ind_in

nd index nd dimensions

integer, intent(in), DIMENSION(:) :: dims

nd index nd dimensions

Return Value integer

flat index