def METHOD_NAME(two_particle_snapshot_factory):
    """Make a snapshot with two charged particles."""
    def make_snapshot(particle_types=['A'], dimensions=3, d=1, L=20, q=1):
        """Make the snapshot.
        Args:
            particle_types: List of particle type names
            dimensions: Number of dimensions (2 or 3)
            d: Distance apart to place particles
            L: Box length
            q: Particle charge
        """
        s = two_particle_snapshot_factory(particle_types=particle_types,
                                          dimensions=dimensions,
                                          d=d,
                                          L=L)
        if s.communicator.rank == 0:
            s.particles.charge[0] = -q
            s.particles.charge[1] = q
        return s
    return make_snapshot