「$StopCriteria」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "=='''Format'''== $StopCriteria ''type limit'' <font color=green>// where ''type'' is an integer, ''limit'' is a floating point.</font> <font si..." |
|||
| 第10行: | 第10行: | ||
|| ''Type'' || ''limit'' || Description | || ''Type'' || ''limit'' || Description | ||
|- | |- | ||
|| 1 || max of E-field || The program will finish when the maximum of E-field in all region is less than ''Amp'' * ''limit''. | || 1 || max of ''E''-field || The program will finish when the maximum of E-field in all region is less than ''Amp'' * ''limit''. | ||
|- | |- | ||
|| 2 || || | || 2 || || | ||
|} | |} | ||
=='''Example'''== | =='''Example'''== | ||
$TimeStep | $TimeStep | ||
於 2019年2月19日 (二) 01:50 的修訂
Format
$StopCriteria type limit // where type is an integer, limit is a floating point.
Tell the program the stop criteria, i.e., when it should exit the time-stepping.
| Type | limit | Description |
| 1 | max of E-field | The program will finish when the maximum of E-field in all region is less than Amp * limit. |
| 2 |
Example
$TimeStep 1000000000 $StopCriteria 1 1.0e-5 $SourceAmp 2.0
Then the program is going to complete as electric field is less than 2.0e-5