「$MaterialStructure」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
| (未顯示同一使用者於中間所作的 4 次修訂) | |||
| 第1行: | 第1行: | ||
== '''Format''' == | == '''Format''' == | ||
$MaterialStructure | $MaterialStructure | ||
''shapetype par1 par2 par3 par4 par5 par6'' <font color=green>// where '' | ''shapetype par1 par2 par3 par4 par5 par6'' <font color=green>// where ''shapetype'' is an integer, and ''par1-6'' are integers or floating points.</font> | ||
<font size=3>This function is to set up each structure in the simulation.</font> | <font size=3>This function is to set up each structure in the simulation.</font> | ||
| 第8行: | 第8行: | ||
|+ | |+ | ||
|- | |- | ||
|| Structure || shapetype || par1 || par2 | || Structure || shapetype || par1 || par2 || par3 || par4 || par5 || par6 | ||
|- | |- | ||
|| Sphere || 0 || x || y | || Sphere || 0 || x || y || z || r || 0 || 0 | ||
|- | |- | ||
|| | || Cuboid || 1 || x1 || y1 || z1 || x2 || y2 || z2 | ||
|- | |- | ||
|| Infinite Slab || 2 || dir. || | || Infinite Slab || 2 || dir. || xi/yi/zi || thick. || 0 || 0 || 0 | ||
|- | |- | ||
|| Cylinder || 3 || dir. || x | || Cylinder || 3 || dir. || x || y || z || r || h | ||
|} | |} | ||
於 2018年10月25日 (四) 06:50 的最新修訂
Format
$MaterialStructure shapetype par1 par2 par3 par4 par5 par6 // where shapetype is an integer, and par1-6 are integers or floating points.
This function is to set up each structure in the simulation.
| Structure | shapetype | par1 | par2 | par3 | par4 | par5 | par6 |
| Sphere | 0 | x | y | z | r | 0 | 0 |
| Cuboid | 1 | x1 | y1 | z1 | x2 | y2 | z2 |
| Infinite Slab | 2 | dir. | xi/yi/zi | thick. | 0 | 0 | 0 |
| Cylinder | 3 | dir. | x | y | z | r | h |
Example
$NumberofObject 2 $MaterialStructure 0 1.0e-9 1.0e-9 1.0e-9 0.5e-9 0 0 1 0.0 0.0 0.0 0.5e-9 0.5e-9 0.5e-9