How to add a magnetic field in LAMMPS?

Dear LAMMPS developers,
How to add a magnetic field in LAMMPS?

thanks.

mousavi

Dear LAMMPS developers,
How to add a magnetic field in LAMMPS?

​that is currently not possible without C++ programming .

axel.