<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def particles_by_name(self, name):
 """Return all Particles of the Compound with a specific name Parameters name : str Only particles with this name are returned Yields ------ mb.Compound The next Particle in the Compound with the user-specified name """

        for particle in self.particles():
            if particle.name == name:
                yield particle