def getValues(currentValues, current, total):
    """ 
    Return either the current values (for this horizon) or all computed results

    Parameters
    ----------
    currentValues : Boolean
        True: return 'current', False: return 'total'
    current : Pointer
        Pointer to the current values
    total : Pointer
        Pointer to the total values
    """
    if currentValues:
        return current
    else:
        return total