def METHOD_NAME(self, density, radius=0, times=0):
    """
    Prescribe the cold electron density in time and space.
    :param density: Cold electron density (2D array (nt, nr) or scalar (=> constant and uniform in time and space))
    :param radius:  Radial grid on which the cold electron density is defined.
    :param times:   Time grid on which the cold electron density is defined.
    """
    _data, _rad, _tim = self._setPrescribedData(density, radius, times)
    self.density = _data
    self.radius = _rad
    self.times  = _tim
    self.setType(TYPE_PRESCRIBED)
    self.verifySettingsPrescribedData()