GSvit documentation

open source FDTD solver with GPU support

User Tools

Site Tools


docs:gsvit_inputs

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 Both sides next revision
docs:gsvit_inputs [2018/10/09 09:09]
pklapetek
docs:gsvit_inputs [2018/10/09 09:14]
pklapetek
Line 308: Line 308:
  
 <​p><​b>​MEDIUM_EXPRESSION</​b><​br>​ <​p><​b>​MEDIUM_EXPRESSION</​b><​br>​
-<​i>​i_start j_start k_start i_end j_end k_end material_index void_index max_distance expression</​i><​br>​+<​i>​i_start j_start k_start i_end j_end k_end material_index void_index max_distance ​distance_mode ​expression</​i><​br>​
 Alters object boundary using some analytical expression. In the expression, x, y and z mean the voxel coordinates. Basic mathematical functions and constants (pi) can be used. Alters object boundary using some analytical expression. In the expression, x, y and z mean the voxel coordinates. Basic mathematical functions and constants (pi) can be used.
 As an example, this combination of sine functions can create quite chaotic surface shape: As an example, this combination of sine functions can create quite chaotic surface shape:
 <​tt><​br><​br>​ <​tt><​br><​br>​
 MEDIUM_EXPRESSION<​br>​ MEDIUM_EXPRESSION<​br>​
-10 10 10 290 290 290 1 0 10 0.5+0.08*sin(x/​2)+0.08*sin(y/​3)+0.08*sin(z/​3.8)+0.08*sin((x+y)/​5)+0.08*sin((y+z)/​2.5)+0.08*sin((x+z)/​4.2)<​br>​+10 10 10 290 290 290 1 0 10 0.5+0.08*sin(x/​2)+0.08*sin(y/​3)+0.08*sin(z/​3.8)+0.08*sin((x+y)/​5)+0.08*sin((y+z)/​2.5)+0.08*sin((x+z)/​4.2)<​br>​
 </tt> </tt>
  
docs/gsvit_inputs.txt ยท Last modified: 2023/08/06 15:05 by pklapetek