def y_coordinate(index: int, x_resolution: int) -> int:
    """
    Returns the y coordinate for the element being processed from the index_handler.

    :param index:
        The element index being processed.

    :param x_resolution:
        The x resolution of the simulation being run.

    :return:
        The y corodinate of the element.

    """

    return index // x_resolution