xopto / pyxopto

PyXOpto is a collection of python tools for performing Monte Carlo simulations of light propagation in turbid media.
GNU General Public License v3.0
32 stars 8 forks source link

How to build voxel meshes with different element sizes along Z directions #11

Closed RickyKaku closed 1 year ago

RickyKaku commented 1 year ago

I am planning to build a voxel model but the skin-layer thicknesses vary in orders of magnitudes. I want to make the mesh element dense at thin layers and sparse at thick layers. Any good recommendations to achieve this? Your help would be greatly appreciated.

xopto commented 1 year ago

The voxel size will be the same for the entire volume but you can make the size different along the x, y, and z directions. Note that the voxel size used to describe the medium can differ from the voxel size used by the fluence/deposition detectors.