next up previous contents
Next: calc_bloc.F Up: The finite difference program Previous: main program   Contents

init_par.F

For the initialization of the simulation all parameters are read from the file mag.par. An example is given in figure [*]. Then, some interesting quantities, like the anisotropy field, the Néel time, or the ratio of the external field to the anisotropy field are written to a log file. Next, all parameters are converted to dimensionless quantities, which are defined at the beginning of the appendix. Finally, the nearest neighbour table is assembled in consideration of simple or periodic boundary conditions and the magnetization vectors are initialized.

Figure: Initialization file mag.par
\begin{figure}\centering\tt\small\begin{tabular}{lllp{9cm}}
\hline
0.08d7 & ms &...
...boundary conditions: 1:simple 2:periodic \\
\hline
\end{tabular}\rm\end{figure}



Werner Scholz 2000-05-16