「$SpaceRegion」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "<font size=5>'''Format'''</font> $TimeStep ''int'' <font color=green>// where ''int'' is an integer.</font> <font size=3>This value tells the prog..." |
|||
| (未顯示同一使用者於中間所作的 16 次修訂) | |||
| 第1行: | 第1行: | ||
=='''Format'''== | |||
$SpaceRegion | |||
'' | ''x<sub>L</sub> x<sub>R</sub>'' | ||
''y<sub>L</sub> y<sub>R</sub>'' | |||
''z<sub>L</sub> z<sub>R</sub>'' <font color=green>// where all are floating points. Unit: meter.</font> | |||
<font size=3> | <font size=3> | ||
The function defines the simulated space. ''x<sub>L</sub> ''/'' y<sub>L</sub> ''/'' z<sub>L</sub>'' is the position of the first point in x / y / z-axis, and ''x<sub>R</sub> ''/'' y<sub>R</sub> ''/'' z<sub>R</sub>'' is the position of the last point in x / y / z-axis.<br> | |||
The unit is meter (m). | |||
</font> | |||
=='''Example'''== | |||
$ | [[File: FDTD-Space.jpg|The illustration of the example.|right|thumb|400px]] | ||
$SpaceRegion | |||
0.0 200e-6 | |||
0.0 200e-6 | |||
0.0 200e-6 | |||
This means the program simulates the region from (0, 0, 0) to (200, 200, 200) (μm). | |||
於 2018年10月11日 (四) 06:59 的最新修訂
Format
$SpaceRegion xL xR yL yR zL zR // where all are floating points. Unit: meter.
The function defines the simulated space. xL / yL / zL is the position of the first point in x / y / z-axis, and xR / yR / zR is the position of the last point in x / y / z-axis.
The unit is meter (m).
Example

$SpaceRegion 0.0 200e-6 0.0 200e-6 0.0 200e-6
This means the program simulates the region from (0, 0, 0) to (200, 200, 200) (μm).