「$StopCriteria」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "=='''Format'''== $StopCriteria ''type limit'' <font color=green>// where ''type'' is an integer, ''limit'' is a floating point.</font> <font si..." |
|||
| (未顯示同一使用者於中間所作的 5 次修訂) | |||
| 第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 | || 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 || || | ||
|} | |} | ||
=='''Example'''== | =='''Example'''== | ||
$TimeStep | $TimeStep | ||
| 第24行: | 第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.