@property<EOL><INDENT>def index_in_producing_instruction(self):<DEDENT>
self._assert_is_produced()<EOL>return self._producing_instruction_and_index()[<NUM_LIT:1>]<EOL>
Index in instruction as a produced mesh.

        :return: the index of the mesh in the list of meshes that
          :attr:`producing_instruction` produces
        :rtype: int

        .. code:: python

            instruction = mesh.producing_instruction
            index = mesh.index_in_producing_instruction
            assert instruction.produced_meshes[index] == mesh

        .. seealso:: :attr:`producing_instruction`,
          :attr:`index_in_consuming_instruction`

        .. warning:: Check with :meth:`is_produced` before!