Magnetite 20 C 
Set MaxMeshNumber 1

ReadMesh 1 Cubo_120nm_ripple.pat

External Field Direction 1. 1.01 1.01 
External Field Strength 0 mT 

!subdoamin 2 (lower part ) iron
SetSubDomain 2 Ms  1.715E6
SetSubDomain 2 K1  4.8E4
SetSubDomain 2 Aex  2.0e-11

randomize all moments
ZoneName  Magnetite top, Iron lower 
Energylog my_energyfile

Minimize
writemagnetization  Cubo_120nm_ripple

end
