"$triranges" 修訂間的差異
(已建立頁面,內容為 "$triranges reading in the geometric parameters. $triregionnumber, and $triregiontype should be defined before the $triranges $triranges @f1 @f2 @f3 @f4...") |
|||
行 46: | 行 46: | ||
− | |||
+ | <br><br> |
||
<big><big>'''Example'''</big></big> |
<big><big>'''Example'''</big></big> |
於 2017年8月27日 (日) 21:59 的修訂
$triranges reading in the geometric parameters. $triregionnumber, and $triregiontype should be defined before the $triranges
$triranges @f1 @f2 @f3 @f4 @f5 @f6 @f1 @f2 @f3 @f4 @f5 @f6
@f1 @f2 @f3 @f4 @f5 @f6 are defined below according to its type.
Example of @type
@type.1~4 are triangle, circle, ellipse and rectangle.
@type = 1 is triangle. If it have n-trianges, it it repeating along x direction.
@type = 11 is triangle. If it have n-trianges, it it repeating along y direction.
@type = 2 is circle. If it have n-circles, it it repeating along x direction.
@type = 21 is circle. If it have n-circles, it it repeating along y direction.
@type = 3 is ellipse. If it have n-ellipses, it it repeating along x direction.
@type = 31 is ellipse. If it have n-ellipses, it it repeating along y direction.
@type = 4 is rectangle. If it have n-rectangle, it it repeating along x direction.
@type = 41 is rectangle. If it have n-rectangle, it it repeating along y direction.
If the parameters are not show in the figure, you should set those parameters as 0.
Type5~8 are sine shape period structure.
Type.5 and 6 can be determined by this expression:
Type.7 and 8 can be determined by this expression:
Example
For example:
$triregionnumber 3
$triregiontype 1 1 0.0 2 2 20.0 41 3 2.0
$triranges 4.0 4.0 8.0 4.0 6.0 8.0 10.0 12.0 2.0 0.0 0.0 0.0 13.0 4.0 14.0 5.0 0.0 0.0