The magnetic field produced by the current in a coil of wire: is very similar to the field of a bar magnet; reverses when the direction of the current in the coil is reversed.
Sandwich Molecular Wires (SMWs): Structures consisting of a central atom or cluster sandwiched between two or ... retain their magnetic properties even after an external magnetic field is removed.