Micromachined magnetic actuator for active fluid control