get_index_reordering_dirs Subroutine

public pure subroutine get_index_reordering_dirs(out_i, out_j, out_k, in_i, in_j, in_k, dir_from, dir_to, mesh)

Converts a set of application storage directional index to an other direction. The two directions are defined by the reorder_dir variable, RDR_X2Y will go from storage in X to Y etc.

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: out_i
integer, intent(out) :: out_j
integer, intent(out) :: out_k
integer, intent(in) :: in_i
integer, intent(in) :: in_j
integer, intent(in) :: in_k
integer, intent(in) :: dir_from
integer, intent(in) :: dir_to
class(mesh_t), intent(in) :: mesh