Calculation of the radial electric field in the DIII-D tokamak edge plasma