Magnetism@home is a research project that uses Internet-connected
computers to explore the equilibrium, metastable and transient
magnetization patterns of nano-scale planar magnetic elements.

This data release contains the source code and data files for the first
successful run of the project, which took place during 2008-2009.

There is a newly developed theory of magnetization distributions in
planar ferromagnetic nano-elements, which allows to parametrize the
low-energy magnetization states by a few scalar parameters [1-4].
This makes it feasible to perform a systematic exploration of state
space of such nano-elements, which is the main idea behind the
Magnetism@home project.

Specifically, the first run is based on the parametrization of states
in in terms of the following function of complex variable


             I t     1       _   t  2           |
  f(z) = c ( ---  -  - ( a - a ( - )  ) ) T'(t) |    (-1)
              p      2           p              | t=T    (z)

where T(t) is a conformal map from the unit disk (|t|<1) to the
specific face shape of the cylinder z=X + I Y, with X and Y being
Cartesian coordinates on the face. The first run (but not the attached
source code) was restricted to circular cylinders, so that T(t)=t,
T'(t)=1, t = z = X + I Y, |z|<1. For further details on how this
complex function is related to magnetization distribution please see
Ref. 4.

The above function f(z) describes all known ground and metastable
states in circular cylinders with topological charge up to 1. This
includes various quasi-uniform states with topological charge of 0,
side-bound skyrmions [2] with topological charge 1/2, as well as
(possibly displaced) magnetic vortex state. It depends on three scalar
parameters 0 < c < inf, 0 < a < inf and 1 < p < inf. (Cylindrical
symmetry of the considered case of T(t)=t allows to consider the
parameter a as real).

These parameter ranges were mapped to the unit hypercube [0,1]^3 by
the following transformations: cm=c/(1+c), am=a/(1+a), pm=1/p. Then,
the magnetostatic energy of the cylinders was sampled for the
regularly spaced points in [cm,am,pm] hypercube for different values
of the cylinder's aspect ratio g=Lz/R in the range [0.01, 100], where
Lz is cylinder's thickness and R its radius. The resulting
four-dimensional array is provided in the NetCDF file "circleoc.nc"
in this directory. Additionally, the exchange energy density (per unit
of face area) in the three-dimensional hypercube with the same set of
[cm,am,pm] was calculated and stored in the file "exchange.nc". The
exchange energy density does not depend on "g".

The files "circleoc.nc" and "exchange.nc" can be read and processed by
the program "diagramcircle" in the tools sub-directory of the source
code. It combines the files, interpolates them, producing the total
energy landscape in coordinates [cm,am,pm] for each specific cylinder
geometry, specified by its dimensionless thickness Lz/Le and radius
R/Le, where Le is the exchange length of the magnetic material. The
program has various options for processing these landscapes, of which,
currently, only building the ground state diagram is reliably known to
work.

After compiling the code, supposing the diagramcircle and data files
are in the current directory, the ground state diagram can be built by
the following command: 

./diagramcircle exchange.nc circleoc.nc map 5 500 ground &>ground-state-map

The resulting text file (also supplied) contains the map of ground
states, encoded as a character array with various characters,
corresponding to different magnetization ground states. This file can
be processed by the script ./map-to-ppm , which turns it into PPM
raster, which can be converted then to any suitable graphic
format. The gif version of the map is also included. This gif was then
vectorized to produce the texture in Figure of the accompanying
manuscript.

COMPILATION

Magnetism@home uses GNU autoconf to achieve portability. Yet, it was
never actually ported and is only known to work on Ubuntu 10.04 with
GNU Scientific library and NetCDF, installed by the following command

apt-get install libgsl0-dev libnetcdf-dev

Then, the compilation can be done in the usual autoconf way by
./configure
make

Out-of-tree compilation is also supported.

This should be sufficient to compile the tools for processing the data
release files (namely, diagramcircle). Compiling BOINC worker and
server components requires additional dependencies to be installed and
is out of scope of this document. Please contact the author directly
if you wish to fork Magnetism@home at your own server, considering
that it might be a better idea to run your code at the current one.

Potential contributors may find it useful to peruse the
Doxygen-generated documentation on functions and classes, provided in
the doc sub-directory of this distribution.


                               Konstantin L. Metlov <metlov@fti.dn.ua>
                               8 Oct 2012.

References

[1] K.L. Metlov: Two-dimensional topological solitons in small
exchange-dominated cylindrical ferromagnetic particles, 2000,
arXiv:cond-mat/0012146 .

[2] K.L. Metlov: Two-dimensional topological solitons in soft
ferromagnetic cylinders, 2001, arXiv:cond-mat/0102311 .

[3] K.L. Metlov: Two-dimensional topological solitons in magnetic
dots., Phys. Stat. Sol. A 189(3), volume 189, 1015–1018, February
2002.

[4] K.L. Metlov: Magnetization patterns in ferromagnetic nano-elements
as functions of complex variable, Phys. Rev. Lett. 105, volume 105,
107201, 2010.
