! Any text on a line following an exclamation mark is ignored
! Set material constant for iron at 20 Deg C 
Iron 20 C 

EnergyLog iron_30nm_energy

! Use MERRILL’s internal mesh generator to form a cube of side
! length 30 nm (0.03 microns) with a mesh size of 3 nm
GenerateCubeMesh   0.03    0.003

! All solutions need an initial guess.  Each time you call 
! Randomize All Moments’ you get a different array of vectors directions
 !with each vector being of length 1.  
Randomize All Moments 

!perform the optimisation to find Local Energy Minima domain states
Minimize 

! write out the solution. This will generate ‘iron_30nm_mult.tec’ and 
! ‘iron_30nm.dat’
WriteMagnetization iron_30nm

