This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computational_domain [2018/01/24 14:35] 185.62.108.185 |
computational_domain [2018/01/24 16:47] (current) 185.62.108.185 |
||
---|---|---|---|
Line 16: | Line 16: | ||
1e-9 1e-9 1e-9 | 1e-9 1e-9 1e-9 | ||
</code> | </code> | ||
+ | |||
+ | Note that the voxel size does not need to be smaller than the incident rays wavelength, however special guidance needs to be taken if it is similar or higher (see the section on [[running|running the computation]]). | ||
Then we need to setup the number of voxels in each direction to be used. This is done together with setting up the sample data, so it is a part of medium loading. If we use simple vector objects to generate the medium, we specify the voxel size in this step, like shown here for 300x300x200 voxels computational domain (followed by the vector objects file and materials table): | Then we need to setup the number of voxels in each direction to be used. This is done together with setting up the sample data, so it is a part of medium loading. If we use simple vector objects to generate the medium, we specify the voxel size in this step, like shown here for 300x300x200 voxels computational domain (followed by the vector objects file and materials table): | ||
Line 30: | Line 32: | ||
sphere.vtk sphere.table | sphere.vtk sphere.table | ||
</code> | </code> | ||
+ | |||
+ | Note that the computational domain size is used in many places through the software, so it is e.g. size of the output planes or output VTK data. | ||
+ | |||
+ | More details about the sample geometry definition can be found in the [[sample_geometry|sample geometry]] section. | ||