def METHOD_NAME(myadc, Lov, Lvv, p, chnk_size):
    ''' Returns approximate ovvv integrals used in restricted implementation'''
    nvir = myadc._nvir
    naux = myadc.with_df.get_naoaux()
    Lvv = Lvv.reshape(naux,nvir*nvir)
    nocc = Lov.size//(naux*nvir)
    Lov = Lov.reshape(naux,nocc,nvir)
    if chnk_size < nocc:
        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, nvir, nvir)
    return ovvv