Xraytrace documentation

raytracing software for x-ray standing wave calculations

User Tools

Site Tools


computational_domain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computational_domain [2018/01/24 14:33]
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 23: Line 25:
 300 300 200 object.vector mat.table 300 300 200 object.vector mat.table
 </​code>​ </​code>​
 +
 +If we provide the medium as a regular structured Ascii VTK file (where the provided numbers are directly the material indices), the medium size is loaded from the VTK file, so there is no need for providing it separately, as shown here: 
  
 <​code>​ <​code>​
Line 28: 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.
  
computational_domain.1516800821.txt.gz ยท Last modified: 2018/01/24 14:33 by 185.62.108.185