ResetOptionEnum Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:APIClass|Resources Class|Resources}} === Declaration=== {{APIPrefix| Public Enum}} {{APIName|ResetOptionEnum}} :{{APIName|ResetAfterAnalysis}}={{APIName|1}} :{{APIN…')
 
No edit summary
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Template:APIClass|Resources Class|Resources}}  
{{Template:API}}{{Template:APIBreadcrumb}}


=== Declaration===


{{APIPrefix| Public Enum}}
<onlyinclude>Specifies whether the associated [[CVariable Class|cVariable]] object will retain its value during simulation or be reset to its initial value at specific times.</onlyinclude>
{{APIName|ResetOptionEnum}}
:{{APIName|ResetAfterAnalysis}}={{APIName|1}}
:{{APIName|ResetAfterEachSim }}={{APIName|0}}
:{{APIName|ResetAfterEachRun }}={{APIName|2}}
:{{APIName|NeverReset }}={{APIName|3}}


{{APIComment|Can be used to assign values to ResetOption within CorrectiveTasks}}
==Members==
{| {{APITableEnum}}
|-
| style="width: 180px;"|ResetAfterEachSim||style="width: 70px;"|0||Reset after each simulation (i.e., reset after a single pass through the flowchart).
|-
|ResetAfterAnalysis||1||Reset after each set of runs.
|-
|ResetAfterEachRun||2||Reset after each set of simulations.
|-
|NeverReset||3||Never reset.
|}
 
 
 
 
 
 
==See Also==
*[[CVariable Class|cVariable Class]]

Latest revision as of 21:12, 24 June 2016

APIWiki.png


Member of: SynthesisAPI


Specifies whether the associated cVariable object will retain its value during simulation or be reset to its initial value at specific times.

Members

Name Value Description
ResetAfterEachSim 0 Reset after each simulation (i.e., reset after a single pass through the flowchart).
ResetAfterAnalysis 1 Reset after each set of runs.
ResetAfterEachRun 2 Reset after each set of simulations.
NeverReset 3 Never reset.




See Also