Numerical study of a composite reservoir with a linear discontinuity