Apparatus used in separating or mixing