「$CellNumber」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
無編輯摘要 |
||
| 第5行: | 第5行: | ||
''N<sub>z</sub>'' <font color=green>// where ''N<sub>x</sub>'', ''N<sub>y</sub>'', ''N<sub>z</sub>'' are integers.</font> | ''N<sub>z</sub>'' <font color=green>// where ''N<sub>x</sub>'', ''N<sub>y</sub>'', ''N<sub>z</sub>'' are integers.</font> | ||
<font size=3>This defines the total number of nodes in ''x'', ''y'', and ''z'' directions. As a result, the total number of nodes in simulation | <font size=3>This defines the total number of nodes in ''x'', ''y'', and ''z'' directions. Note that this function is not include the layer of PML. As a result, the total number of nodes in simulation may '''NOT''' be <math>\begin{smallmatrix}{N_x \times N_y\times N_z}\end{smallmatrix}</math>.</font> | ||
於 2018年7月13日 (五) 01:35 的修訂
Format
$CellNumber Nx Ny Nz // where Nx, Ny, Nz are integers.
This defines the total number of nodes in x, y, and z directions. Note that this function is not include the layer of PML. As a result, the total number of nodes in simulation may NOT be .
Example
$CellNumber 201 201 201
Thus, there is 201 nodes in x direction, so as the number of nodes are in y and z direction.