「$StopCriteria」:修訂間差異
跳至導覽
跳至搜尋
| 第12行: | 第12行: | ||
|| 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 || || <math> ''Amp'' \times ''limit'' </math> | ||
|} | |} | ||
於 2019年2月19日 (二) 01:51 的修訂
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