one can calculate the electric field boundary conditions by
remembering two simple things: E field is unchanged in tangential
direction D is unchanged in normal so playing with E and D for a
given field , the E field on the new surface can be obtained.