Commit 6c519407 authored by johannes.maul's avatar johannes.maul
Browse files

Picture Update mesh structure

parent d873a085
...@@ -139,4 +139,10 @@ Output: plots all inputs in one figure. One plot with detector, mesh, source ...@@ -139,4 +139,10 @@ Output: plots all inputs in one figure. One plot with detector, mesh, source
## Mesh structure ## Mesh structure
![Correct mesh structure.](./Data/Images/MeshStructure.svg) Currently the result is depending on the mesh structures. Meshes can be build diffrently. In our case we used the vol2mesh method from http://iso2mesh.sourceforge.net/cgi-bin/index.cgi to create the meshes. The result has two layers between region transitions, which means two triangles on the exact same positions. That is show in the picture with the red and inner black lines, which representing each a diffrent region. Then the ray always travels in and out of an material before it reachs the next on or an detector.
![Correct mesh structure. The inner mesh structures are double layered](./Data/Images/MeshStructure.svg)<br>
In other words, the current algorithm always expects to leave a region after entering it and before entering the next one. As you can see that has effects on the number of hits. Normally we would expect 4 hit because of 2 diffrent regions. But with these double layers we get 6 hits. This is a property the mesh needs for correct calculation.<br>
Normaly this double layer exists also for the outer layer but there it has not even the same positions but the same region. With _unique(faces,'rows')_ in Matlab before calling the raytracing kernel these outer layer can be deleted.
## Extended debug data
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment