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

Next revision
Previous revision
Next revision Both sides next revision
computational_domain [2018/01/24 13:58]
185.62.108.185 created
computational_domain [2018/01/24 14:31]
185.62.108.185
Line 1: Line 1:
 ===== Computational domain ===== ===== Computational domain =====
  
 +The calculation is performed on a rectangular domain that is divided into
 +rectangular voxels. Through these voxels the rays are passing, leaving some intensity
 +information there to be accumulated,​ summed with the other rays or being somehow interpreted.
  
 +The first information that needs to be given is the voxel size. This can be in principle
 +different in different directions, which can be useful especially to treat the different sample scale
 +in lateral directions (xy) and z direction. Even if most of the algorithms are not related to any
 +particular sample orientation,​ some sources are, so we recommend to have the sample oriented with surface
 +normal pointing the z direction.
 +
 +The following input file example sets the x,y and z voxel size to 1 nm (note that all the quantities are always in base SI units).
 +<​code>​
 +POOL
 +1e-9 1e-9 1e-9
 +</​code>​
 +
 +Then we need to setup
 +
 +<​code>​
 +MEDIUM_VECTOR_SAMPLE
 +300 300 200 object.vector mat.table
 +</​code>​
 +
 +<​code>​
 +MEDIUM_SAMPLE
 +sphere.vtk sphere.table
 +</​code>​
  
computational_domain.txt ยท Last modified: 2018/01/24 16:47 by 185.62.108.185