「$StopCriteria」:修訂間差異
跳至導覽
跳至搜尋
| 第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 <math> | || 1 || max of ''E''-field || The program will finish when the maximum of E-field in all region is less than <math> Amp \times limit </math>. | ||
|- | |- | ||
|| 2 || || | || 2 || || | ||
於 2019年2月19日 (二) 14:56 的修訂
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 . |
| 2 |
Example
$TimeStep 1000000000 $StopCriteria 1 1.0e-5 $SourceAmp 2.0
Then the program is going to complete as electric field < 2.0e-5.