Calculation of the absorption cross section of a partially shielded dielectric sphere