アットウィキロゴ
rhiramatsu @ ウィキ
掲示板 掲示板 ページ検索 ページ検索 メニュー メニュー

rhiramatsu @ ウィキ

Initial magnetization configuration

最終更新:

rhiramatsu

- view
だれでも歓迎! 編集

Syntax

sizeX := 5e-9
sizeY := 5e-9
sizeZ := 5e-9
 
Nx := 100
Ny := 100
Nz := 1
 
setgridsize(Nx, Ny, Nz)
setcellsize(sizeX, sizeY, sizeZ)
// setGeom(circle(sizeX, sizeY))
 
SnapshotFormat = "png"
 
// single layer:
m = Uniform(1, 1, 0) // no need to normalize length
Snapshot(m)
 
// Neel domain wall:
m = TwoDomain(1,0,0, 0,1,0, -1,0,0)
Snapshot(m)
 
// vortex domain wall:
m = VortexWall(1, -1, 1, 1) // mx in left and right, circulation, polarization
Snapshot(m)
 
// vortex:
m = Vortex(1, -1) // circulation, polarization
Snapshot(m)
 
// vortex with translation:
m = Vortex(1, -1,).transl(100e-9, 50e-9, 0) //translation
Snapshot(m)
 
// skyrmion:
m = Skyrmion(-1, -1) // charge, polarization
Snapshot(m)
 
// set m in only a part of space, or a single cell:
m = Uniform(1, 1, 1)
m.setInShape(cylinder(400e-9, 100e-9), vortex(1,-1))
m.setCell(20, 10, 0, 0.1, 0.1, -0.9) // set in cell index [20, 10, 0]
Snapshot(m)
 

Results

uniform Neel wall vortex wall vortex vortex + translation skyrmion colorpalette
最近更新されたスレッド
ウィキ募集バナー