Brain mesh

Hello everyone,

I am trying to convert the mesh from

Monte Carlo eXtreme: GPU-based Monte Carlo Simulations: MMC/Colin27AtlasMesh (I can’t attach the mesh because it’s too big)

to an ngsolve readable format, and I want to label the boundaries but I don’t know how to do it. I would be very grateful for any help. I attached the readable.

README.txt (3.4 KB)

Regards,
Esteban

In the gui you can click to print the face number and then set names by putting

geo.faces[i].name = "myname"

note that the face numbers in the tcl gui are 1 based and the faces array is 0 based so i needs to be printed number - 1

after setting face names like this you need to “recreate” the geometry from the shape again to update the internal name maps:

geo = OCCGeometry(geo.shape)