Chi-Tech
chi__PostProcessor.h
Go to the documentation of this file.
1/** \defgroup chi__PostProcessor chi.PostProcessor
2
3
4\ingroup doc_PostProcessors
5Base class for Post-Processors. For more generalinformation see \ref doc_PostProcessors
6
7<B>Note:</B> This object is not constructable
8## Required Input parameters
9\htmlonly
10
11<div style="display: block;">
12<button type="button" class="droppy2" style=
13"
14background-color: #edf0f5;
15color: #9373A5;
16cursor: pointer;
17border: none;
18text-align: left;
19outline: none;
20font-size: 15px;
21margin: 2px 2px;
22border: 2px solid #687372;
23display: block;
24width: 100%;
25vertical-align: middle;
26padding-top: 4px;
27padding-bottom: 0px;
28"
29><span class="arrow" style="padding-left: 0px;">►</span><TT><B>name</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspName of the post processor</span></button>
30<div class="content" style="display: none;">
31 <p><I>type=</I><span style="color: blue;"><TT>STRING</TT></span>. Name of the post processor. This name will be used in many places so make sure it's a useful name.
32</p>
33</div>
34
35</div>
36\endhtmlonly
37
38## Optional Input parameters
39\htmlonly
40
41<div style="display: block;">
42<button type="button" class="droppy2" style=
43"
44background-color: #edf0f5;
45color: #9373A5;
46cursor: pointer;
47border: none;
48text-align: left;
49outline: none;
50font-size: 15px;
51margin: 2px 2px;
52border: 2px solid #687372;
53display: block;
54width: 100%;
55vertical-align: middle;
56padding-top: 4px;
57padding-bottom: 0px;
58"
59><span class="arrow" style="padding-left: 0px;">►</span><TT><B>execute_on</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspList of events at which the post-processor will execute</span></button>
60<div class="content" style="display: none;">
61 <p><I>type=</I><span style="color: blue;"><TT>ARRAY</TT></span>. List of events at which the post-processor will execute.
62</p>
63 <p>Default value: <TT style="color:grey">"SolverInitialized", "SolverAdvanced", "SolverExecuted", "ProgramExecuted",</TT></p>
64</div>
65
66<button type="button" class="droppy2" style=
67"
68background-color: #edf0f5;
69color: #9373A5;
70cursor: pointer;
71border: none;
72text-align: left;
73outline: none;
74font-size: 15px;
75margin: 2px 2px;
76border: 2px solid #687372;
77display: block;
78width: 100%;
79vertical-align: middle;
80padding-top: 4px;
81padding-bottom: 0px;
82"
83><span class="arrow" style="padding-left: 0px;">►</span><TT><B>initial_value</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspAn initial value</span></button>
84<div class="content" style="display: none;">
85 <p><I>type=</I><span style="color: blue;"><TT>BLOCK</TT></span>. An initial value.
86</p>
87</div>
88
89<button type="button" class="droppy2" style=
90"
91background-color: #edf0f5;
92color: #9373A5;
93cursor: pointer;
94border: none;
95text-align: left;
96outline: none;
97font-size: 15px;
98margin: 2px 2px;
99border: 2px solid #687372;
100display: block;
101width: 100%;
102vertical-align: middle;
103padding-top: 4px;
104padding-bottom: 0px;
105"
106><span class="arrow" style="padding-left: 0px;">►</span><TT><B>print_numeric_format</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspNumeric format to use</span></button>
107<div class="content" style="display: none;">
108 <p><I>type=</I><span style="color: blue;"><TT>STRING</TT></span>. Numeric format to use.
109</p>
110 <p>Default value: <TT style="color:grey">"general"</TT></p>
111 <p>Allowable values: <TT>"fixed", "floating_point", "scientific", "general"</TT></p>
112</div>
113
114<button type="button" class="droppy2" style=
115"
116background-color: #edf0f5;
117color: #9373A5;
118cursor: pointer;
119border: none;
120text-align: left;
121outline: none;
122font-size: 15px;
123margin: 2px 2px;
124border: 2px solid #687372;
125display: block;
126width: 100%;
127vertical-align: middle;
128padding-top: 4px;
129padding-bottom: 0px;
130"
131><span class="arrow" style="padding-left: 0px;">►</span><TT><B>print_on</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspList of events at which the post-processor will print</span></button>
132<div class="content" style="display: none;">
133 <p><I>type=</I><span style="color: blue;"><TT>ARRAY</TT></span>. List of events at which the post-processor will print. Make sure that these events are also set for the `PostProcessorPrinter` otherwise it wont print.
134</p>
135 <p>Default value: <TT style="color:grey">"SolverInitialized", "SolverAdvanced", "SolverExecuted", "ProgramExecuted",</TT></p>
136</div>
137
138<button type="button" class="droppy2" style=
139"
140background-color: #edf0f5;
141color: #9373A5;
142cursor: pointer;
143border: none;
144text-align: left;
145outline: none;
146font-size: 15px;
147margin: 2px 2px;
148border: 2px solid #687372;
149display: block;
150width: 100%;
151vertical-align: middle;
152padding-top: 4px;
153padding-bottom: 0px;
154"
155><span class="arrow" style="padding-left: 0px;">►</span><TT><B>print_precision</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspNumber of digits to display after decimal point</span></button>
156<div class="content" style="display: none;">
157 <p><I>type=</I><span style="color: blue;"><TT>INTEGER</TT></span>. Number of digits to display after decimal point
158</p>
159 <p>Default value: <TT style="color:grey">6</TT></p>
160</div>
161
162<button type="button" class="droppy2" style=
163"
164background-color: #edf0f5;
165color: #9373A5;
166cursor: pointer;
167border: none;
168text-align: left;
169outline: none;
170font-size: 15px;
171margin: 2px 2px;
172border: 2px solid #687372;
173display: block;
174width: 100%;
175vertical-align: middle;
176padding-top: 4px;
177padding-bottom: 0px;
178"
179><span class="arrow" style="padding-left: 0px;">►</span><TT><B>solvername_filter</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspControls update events to only execute on the relevant solver'sevent calls</span></button>
180<div class="content" style="display: none;">
181 <p><I>type=</I><span style="color: blue;"><TT>STRING</TT></span>. Controls update events to only execute on the relevant solver'sevent calls.
182</p>
183 <p>Default value: <TT style="color:grey">""</TT></p>
184</div>
185
186</div>
187\endhtmlonly
188
189\htmlonly
190
191<script>
192
193{
194 var coll = document.getElementsByClassName("droppy2");
195 var i;
196
197 for (i = 0; i < coll.length; i++) {
198 coll[i].addEventListener("click", function() {
199 this.classList.toggle("active");
200 var content = this.nextElementSibling;
201 if (content.style.display === "block") {
202 content.style.display = "none";
203 this.childNodes[0].innerText = "►"
204 } else {
205 content.style.display = "block";
206 this.children[0].innerText = "▼"
207 }
208 });
209 }
210}</script>
211
212\endhtmlonly
213
214### Usage Examples:
215\ref test_framework_post_processors_solver_info_01_lua
216\ref test_framework_post_processors_solver_info_02_lua
217*/