「$StopCriteria」:修訂間差異
跳至導覽
跳至搜尋
| 第25行: | 第25行: | ||
2.0 | 2.0 | ||
Then the program | Then the program completes as electric field < 2.0e-5. | ||
== '''Related commands''' == | == '''Related commands''' == | ||
: [[$TimeStep]], [[$SourceAmp]] | : [[$TimeStep]], [[$SourceAmp]] | ||
於 2019年2月20日 (三) 01:13 的最新修訂
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 completes as electric field < 2.0e-5.