get_nd_indices_pgrid Function

public pure function get_nd_indices_pgrid(map, ind_in) result(ind_out)

transform 2d index to nd index, using info from index mapping.

Arguments

Type IntentOptional Attributes Name
type(nd_to_2d_mapping), intent(in) :: map

index mapping

integer, intent(in), DIMENSION(2) :: ind_in

2d index

Return Value integer, DIMENSION(map%ndim_nd)

nd index