def METHOD_NAME(myadc, Lov, Lvv, p, chnk_size):
    ''' Returns approximate ovvv integrals (different spin cases) used in unrestricted implementation '''
    nocc = Lov.shape[1]
    nvir_1 = Lov.shape[2]
    nvir_2 = Lvv.shape[1]
    naux = myadc.with_df.get_naoaux()
    Lvv = Lvv.reshape(naux,nvir_2*nvir_2)
    Lov = Lov.reshape(naux,nocc,nvir_1)
    if chnk_size < nocc:
        #Lov_temp = np.ascontiguousarray(Lov.T[:,p:p+chnk_size,:].reshape(-1,naux))
        Lov_temp = np.ascontiguousarray(Lov.transpose(1,2,0)[p:p+chnk_size].reshape(-1,naux))
    else:
        Lov_temp = np.ascontiguousarray(Lov.transpose(1,2,0).reshape(-1,naux))
    ovvv = np.dot(Lov_temp, Lvv)
    ovvv = ovvv.reshape(-1, nvir_1, nvir_2, nvir_2)
    #vvvv = np.ascontiguousarray(vvvv.transpose(0,2,1,3)).reshape(-1, nvir, nvir * nvir)
    return ovvv