src/helpers.h
int allow_for_ghosts(int pre_ghost)
{

    size_t ix, iy, iz;
    RANK_TO_INDEX(pre_ghost, ix, iy, iz,
            deck.nx,
            deck.ny);
    //    printf("%ld\n",ix);
    int with_ghost = VOXEL(ix, iy, iz,
            deck.nx,
            deck.ny,
            deck.nz,
            deck.num_ghosts);

    return with_ghost;
}
// Converts from an index that doesn't know about ghosts to one that does
//KOKKOS_INLINE_FUNCTION
Converts from an index that doesn't know about ghosts to one that does
KOKKOS_INLINE_FUNCTION
Converts from an index that doesn ' t know about ghosts to one that does KOKKOS_INLINE_FUNCTION
int allow_for_ghosts(int pre_ghost)
{
    size_t ix, iy, iz;
    RANK_TO_INDEX(pre_ghost, ix, iy, iz,
            deck.nx,
            deck.ny);
    int with_ghost = VOXEL(ix, iy, iz,
            deck.nx,
            deck.ny,
            deck.nz,
            deck.num_ghosts);
    return with_ghost;
}
int allow_for_ghosts ( int pre_ghost ) { size_t ix , iy , iz ; RANK_TO_INDEX ( pre_ghost , ix , iy , iz , deck . nx , deck . ny ) ; int with_ghost = VOXEL ( ix , iy , iz , deck . nx , deck . ny , deck . nz , deck . num_ghosts ) ; return with_ghost ; }
Converts from an index that doesn't know about ghosts to one that does
KOKKOS_INLINE_FUNCTION
Converts from an index that doesn ' t know about ghosts to one that does KOKKOS_INLINE_FUNCTION
//    printf("%ld\n",ix);