Query regarding multiple copies of circular shape in mumax view

18 views
Skip to first unread message

Ashutosh Sharma

unread,
Jul 27, 2026, 8:07:27 AM (10 days ago) Jul 27
to mumax2
Hello, 

Please help us to understand the below image from mumax 3
why there is multiple image of circular disk inside the gridsize 

Q1) when i am using this code (varying many gridsizes) we are getting always 9 copies inside it why ?

This is the code we are using 

SetGridSize(32,32,10)
SetCellSize(5e-9,5e-9,2e-9)

SetGeom(circle(100e-9))
snapshotas(m,"1.png")
saveas(geom,"geom")
run(2e-9)

the resulting image from this attached below

Q2) when i am taking circle as a shape, does it always extrude deep inside the layer such that  instead of giving 2D circle it gives us disk.
mumax.png

Антон Луценко

unread,
Jul 27, 2026, 8:51:31 AM (10 days ago) Jul 27
to mumax2
Hi, 

Q1. This issue has been addressed in one of the recent posts on this mailing list: This is an issue with mumax-view, not with mumax itself. You can make sure by looking at the snapshots you made. You can also Snapshot(geom) if you want.

Q2. The 2D shapes like Circle do not check Z coordinate, therefore they are infinite in Z. It will be cropped off by the boundaries of your simulation area. If you want to make the circle a single layer, use Intersect() method with a Layer() shape: Circle(diam).Intersect(Layer(layer_index))

Hope that helps!
Reply all
Reply to author
Forward
0 new messages