The simulator's input
Internally the simulator stores the magnetic state as a binary array with one entry per CrSBr layer. 0means the layer's spin points one way, 1the other. That's it. Every other quantity in the app is derived from this short list.
Sketch a state
Try the presets and free-form clicks below. Watch the colored phase strip update live — that's the same color you see in the simulator's "Spin pattern" and "Stack viewer" panels.
AFM 19Mixed 2FM 0
Encoding tricks
Common moves you can make from this primitive:
- Flip a single spin: classic point excitation.
- Flip a contiguous block of spins to create an FM domain in an AFM background.
- Two FM blocks separated by an AFM gap give two mixed walls.
Key takeaways
- One
0/1per layer is the only input the physics engine sees. - Everything else (phases, refractive indices, R(E)) is derived.