Permanent magnets for water-scale prevention