def _setup_set_funct(self, meta, alloc_complex):

        if self.remote:
            return self._remote_access_error
        elif self.pbo:
            return self._set_pbo
        else:
            if meta['shape'] == 1:
                if alloc_complex:
                    return self._set_scalar_complex
                else:
                    return self._set_scalar
            else:
                if alloc_complex:
                    return self._set_arr_complex
                else:
                    return self._set_arr

    # accessor functions
Sets up our fast set functions.
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/core/vec_wrapper.py/Accessor._setup_set_funct