Radiative accretion shocks along nonuniform stellar magnetic fields in classical T Tauri stars