helics  2.8.1
indexPage.hpp
1 /*
2 Copyright (c) 2017-2021,
3 Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
4 Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
5 SPDX-License-Identifier: BSD-3-Clause
6 */
7 #pragma once
8 
9 namespace helics {
10 namespace webserver {
11 
12  static const char* style =
13  R"raw(<style>
14 html {
15  font-size: 100%;
16  overflow-y: scroll;
17  -webkit-text-size-adjust: 100%;
18  -ms-text-size-adjust: 100%;
19 }
20 
21 body {
22  color: #444;
23  font-family: Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', serif;
24  font-size: 12px;
25  line-height: 1.7;
26  padding: 1em;
27  margin: auto;
28  max-width: 42em;
29  background: #fefefe;
30 }
31 
32 a {
33  color: #0645ad;
34  text-decoration: none;
35 }
36 
37 a:visited {
38  color: #0b0080;
39 }
40 
41 a:hover {
42  color: #06e;
43 }
44 
45 a:active {
46  color: #faa700;
47 }
48 
49 a:focus {
50  outline: thin dotted;
51 }
52 
53 *::-moz-selection {
54  background: rgba(255, 255, 0, 0.3);
55  color: #000;
56 }
57 
58 *::selection {
59  background: rgba(255, 255, 0, 0.3);
60  color: #000;
61 }
62 
63 a::-moz-selection {
64  background: rgba(255, 255, 0, 0.3);
65  color: #0645ad;
66 }
67 
68 a::selection {
69  background: rgba(255, 255, 0, 0.3);
70  color: #0645ad;
71 }
72 
73 p {
74  margin: 1em 0;
75 }
76 
77 img {
78  max-width: 100%;
79 }
80 
81 h1, h2, h3, h4, h5, h6 {
82  color: #111;
83  line-height: 125%;
84  margin-top: 2em;
85  font-weight: normal;
86 }
87 
88 h4, h5, h6 {
89  font-weight: bold;
90 }
91 
92 h1 {
93  font-size: 2.5em;
94 }
95 
96 h2 {
97  font-size: 2em;
98 }
99 
100 h3 {
101  font-size: 1.5em;
102 }
103 
104 h4 {
105  font-size: 1.2em;
106 }
107 
108 h5 {
109  font-size: 1em;
110 }
111 
112 h6 {
113  font-size: 0.9em;
114 }
115 
116 blockquote {
117  color: #666666;
118  margin: 0;
119  padding-left: 3em;
120  border-left: 0.5em #EEE solid;
121 }
122 
123 hr {
124  display: block;
125  height: 2px;
126  border: 0;
127  border-top: 1px solid #aaa;
128  border-bottom: 1px solid #eee;
129  margin: 1em 0;
130  padding: 0;
131 }
132 
133 pre, code, kbd, samp {
134  color: #000;
135  font-family: monospace, monospace;
136  _font-family: 'courier new', monospace;
137  font-size: 0.98em;
138 }
139 
140 pre {
141  white-space: pre;
142  white-space: pre-wrap;
143  word-wrap: break-word;
144 }
145 
146 b, strong {
147  font-weight: bold;
148 }
149 
150 dfn {
151  font-style: italic;
152 }
153 
154 ins {
155  background: #ff9;
156  color: #000;
157  text-decoration: none;
158 }
159 
160 mark {
161  background: #ff0;
162  color: #000;
163  font-style: italic;
164  font-weight: bold;
165 }
166 
167 sub, sup {
168  font-size: 75%;
169  line-height: 0;
170  position: relative;
171  vertical-align: baseline;
172 }
173 
174 sup {
175  top: -0.5em;
176 }
177 
178 sub {
179  bottom: -0.25em;
180 }
181 
182 ul, ol {
183  margin: 1em 0;
184  padding: 0 0 0 2em;
185 }
186 
187 li p:last-child {
188  margin-bottom: 0;
189 }
190 
191 ul ul, ol ol {
192  margin: .3em 0;
193 }
194 
195 dl {
196  margin-bottom: 1em;
197 }
198 
199 dt {
200  font-weight: bold;
201  margin-bottom: .8em;
202 }
203 
204 dd {
205  margin: 0 0 .8em 2em;
206 }
207 
208 dd:last-child {
209  margin-bottom: 0;
210 }
211 
212 img {
213  border: 0;
214  -ms-interpolation-mode: bicubic;
215  vertical-align: middle;
216 }
217 
218 figure {
219  display: block;
220  text-align: center;
221  margin: 1em 0;
222 }
223 
224 figure img {
225  border: none;
226  margin: 0 auto;
227 }
228 
229 figcaption {
230  font-size: 0.8em;
231  font-style: italic;
232  margin: 0 0 .8em;
233 }
234 
235 table {
236  margin-bottom: 2em;
237  border-bottom: 1px solid #ddd;
238  border-right: 1px solid #ddd;
239  border-spacing: 0;
240  border-collapse: collapse;
241 }
242 
243 table th {
244  padding: .2em 1em;
245  background-color: #eee;
246  border-top: 1px solid #ddd;
247  border-left: 1px solid #ddd;
248 }
249 
250 table td {
251  padding: .2em 1em;
252  border-top: 1px solid #ddd;
253  border-left: 1px solid #ddd;
254  vertical-align: top;
255 }
256 
257 .author {
258  font-size: 1.2em;
259  text-align: center;
260 }
261 
262 @media only screen and (min-width: 480px) {
263  body {
264  font-size: 14px;
265  }
266 }
267 @media only screen and (min-width: 768px) {
268  body {
269  font-size: 16px;
270  }
271 }
272 @media print {
273  * {
274  background: transparent !important;
275  color: black !important;
276  filter: none !important;
277  -ms-filter: none !important;
278  }
279 
280  body {
281  font-size: 12pt;
282  max-width: 100%;
283  }
284 
285  a, a:visited {
286  text-decoration: underline;
287  }
288 
289  hr {
290  height: 1px;
291  border: 0;
292  border-bottom: 1px solid black;
293  }
294 
295  a[href]:after {
296  content: " (" attr(href) ")";
297  }
298 
299  abbr[title]:after {
300  content: " (" attr(title) ")";
301  }
302 
303  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
304  content: "";
305  }
306 
307  pre, blockquote {
308  border: 1px solid #999;
309  padding-right: 1em;
310  page-break-inside: avoid;
311  }
312 
313  tr, img {
314  page-break-inside: avoid;
315  }
316 
317  img {
318  max-width: 100% !important;
319  }
320 
321  @page :left {
322  margin: 15mm 20mm 15mm 10mm;
323 }
324 
325  @page :right {
326  margin: 15mm 10mm 15mm 20mm;
327 }
328 
329  p, h2, h3 {
330  orphans: 3;
331  widows: 3;
332  }
333 
334  h2, h3 {
335  page-break-after: avoid;
336  }
337 }
338  </style>
339  )raw";
340 
341  static const char* indexPage1 =
342  R"raw(<html>
343  <head>
344  <meta charset="utf-8" />
345  <title>HELICS web server interface</title>
346  )raw";
347 
348  static const char* indexPage2 =
349  R"raw(</head>
350 
351  <body>
352  )raw";
353 
354  static const char* svg1 = R"raw(<svg version = "1.1" id = "Layer_1" xmlns =
355  "http://www.w3.org/2000/svg" xmlns:
356  xlink = "http://www.w3.org/1999/xlink" x = "0px" y = "0px"
357  viewBox="0 0 432 140.1" style="enable-background:new 0 0 432 140.1;" xml:space="preserve" width="20%">
358 <style type="text/css">
359  .st0{fill:#231F20;}
360  .st1{fill:url(#SVGID_1_);}
361  .st2{fill:url(#SVGID_2_);}
362  .st3{fill:url(#SVGID_3_);}
363  .st4{fill:url(#SVGID_4_);}
364  .st5{fill:url(#SVGID_5_);}
365  .st6{fill:#1D1D1D;}
366 </style>
367 <g>
368  <g>
369  <path class="st0" d="M129.1,118.5c0.2,0.3,0.4,0.6,0.7,0.8c0.3,0.2,0.6,0.3,1,0.4c0.4,0.1,0.8,0.1,1.1,0.1c0.3,0,0.6,0,0.9-0.1
370  c0.3,0,0.6-0.1,0.9-0.3c0.3-0.1,0.5-0.3,0.7-0.5c0.2-0.2,0.3-0.5,0.3-0.8c0-0.4-0.1-0.7-0.4-0.9c-0.2-0.2-0.5-0.4-0.9-0.6
371  c-0.4-0.2-0.8-0.3-1.3-0.4s-1-0.2-1.5-0.4c-0.5-0.1-1-0.3-1.5-0.5c-0.5-0.2-0.9-0.4-1.3-0.7c-0.4-0.3-0.7-0.7-0.9-1.1
372  c-0.2-0.4-0.4-1-0.4-1.6c0-0.7,0.1-1.3,0.4-1.8c0.3-0.5,0.7-0.9,1.2-1.3c0.5-0.3,1-0.6,1.6-0.8c0.6-0.2,1.2-0.2,1.8-0.2
373  c0.7,0,1.4,0.1,2.1,0.2c0.7,0.2,1.2,0.4,1.7,0.8c0.5,0.4,0.9,0.8,1.2,1.4c0.3,0.6,0.4,1.2,0.4,2H134c0-0.4-0.1-0.7-0.3-1
374  c-0.1-0.3-0.3-0.5-0.6-0.6c-0.2-0.2-0.5-0.3-0.8-0.3c-0.3-0.1-0.7-0.1-1-0.1c-0.2,0-0.5,0-0.7,0.1c-0.2,0.1-0.5,0.1-0.7,0.3
375  c-0.2,0.1-0.4,0.3-0.5,0.5c-0.1,0.2-0.2,0.4-0.2,0.7c0,0.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
395  c0.4,0,0.7-0.1,1-0.2c0.3-0.1,0.5-0.2,0.7-0.3c0.2-0.1,0.3-0.4,0.2-0.6c0-0.3,0-0.5-0.1-0.7c-0.1-0.2-0.2-0.3-0.4-0.4
396  c-0.2-0.1-0.3-0.2-0.6-0.2c-0.2,0-0.4,0-0.7,0c-0.5,0-1,0.1-1.3,0.3c-0.3,0.2-0.5,0.6-0.5,1.1H177.2z M183.5,117.1
397  c-0.1,0.1-0.3,0.2-0.4,0.2c-0.2,0.1-0.4,0.1-0.6,0.1c-0.2,0-0.4,0.1-0.6,0.1c-0.2,0-0.4,0.1-0.6,0.1c-0.2,0-0.4,0.1-0.6,0.2
398  c-0.2,0.1-0.4,0.2-0.5,0.3c-0.1,0.1-0.3,0.2-0.4,0.4c-0.1,0.2-0.1,0.4-0.1,0.6c0,0.2,0,0.4,0.1,0.6c0.1,0.2,0.2,0.3,0.4,0.4
399  c0.2,0.1,0.3,0.2,0.5,0.2c0.2,0,0.4,0.1,0.6,0.1c0.5,0,0.9-0.1,1.2-0.3c0.3-0.2,0.5-0.4,0.6-0.6c0.1-0.2,0.2-0.5,0.3-0.8
400  c0-0.3,0-0.5,0-0.6V117.1z"/>
401  <path class="st0" d="M193.7,112v1.8h-2v4.9c0,0.5,0.1,0.8,0.2,0.9c0.2,0.2,0.5,0.2,0.9,0.2c0.2,0,0.3,0,0.4,0c0.1,0,0.3,0,0.4-0.1
402  v2.1c-0.2,0-0.5,0.1-0.8,0.1c-0.3,0-0.6,0-0.8,0c-0.4,0-0.8,0-1.2-0.1c-0.4-0.1-0.7-0.2-1-0.3c-0.3-0.2-0.5-0.4-0.7-0.7
403  c-0.2-0.3-0.2-0.7-0.2-1.2v-5.8h-1.6V112h1.6v-3h2.7v3H193.7z"/>
404  <path class="st0" d="M195.1,110.5v-2.2h2.7v2.2H195.1z M197.8,112v9.9h-2.7V112H197.8z"/>
405  <path class="st0" d="M200,114.8c0.2-0.6,0.6-1.2,1-1.6c0.4-0.5,1-0.8,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
424  C225,119,225.1,119.2,225.2,119.4z"/>
425  <path class="st0" d="M245.5,108.3l5.1,13.6h-3.1l-1-3h-5.1l-1.1,3h-3l5.2-13.6H245.5z M245.7,116.6l-1.7-5h0l-1.8,5H245.7z"/>
426  <path class="st0" d="M254.1,112v1.8h0c0.1-0.3,0.3-0.6,0.5-0.8c0.2-0.3,0.5-0.5,0.7-0.7c0.3-0.2,0.6-0.3,0.9-0.4
427  c0.3-0.1,0.6-0.2,1-0.2c0.2,0,0.4,0,0.6,0.1v2.5c-0.1,0-0.3,0-0.5-0.1c-0.2,0-0.4,0-0.5,0c-0.5,0-0.9,0.1-1.3,0.2
428  c-0.3,0.2-0.6,0.4-0.8,0.7c-0.2,0.3-0.4,0.6-0.4,1c-0.1,0.4-0.1,0.8-0.1,1.2v4.4h-2.7V112H254.1z"/>
429  <path class="st0" d="M261.5,119.5c0.4,0.4,1,0.6,1.8,0.6c0.5,0,1-0.1,1.4-0.4c0.4-0.3,0.6-0.6,0.7-0.9h2.4c-0.4,1.2-1,2-1.8,2.5
430  c-0.8,0.5-1.7,0.8-2.9,0.8c-0.8,0-1.5-0.1-2.1-0.4c-0.6-0.2-1.2-0.6-1.6-1.1c-0.4-0.5-0.8-1-1-1.6c-0.2-0.6-0.4-1.3-0.4-2.1
431  c0-0.7,0.1-1.4,0.4-2.1c0.2-0.6,0.6-1.2,1-1.6c0.4-0.5,1-0.8,1.6-1.1c0.6-0.3,1.3-0.4,2.1-0.4c0.8,0,1.6,0.2,2.2,0.5
432  c0.6,0.3,1.1,0.8,1.5,1.3c0.4,0.5,0.7,1.2,0.9,1.9c0.2,0.7,0.2,1.4,0.2,2.2h-7.1C260.9,118.5,261.1,119.1,261.5,119.5z
433  M264.6,114.3c-0.3-0.4-0.8-0.5-1.5-0.5c-0.4,0-0.8,0.1-1.1,0.2c-0.3,0.1-0.5,0.3-0.7,0.5c-0.2,0.2-0.3,0.4-0.4,0.7
434  c-0.1,0.2-0.1,0.5-0.1,0.6h4.4C265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.6,0.3,1.1,0.8,1.5,1.3c0.4,0.5,0.7,1.2,0.9,1.9c0.2,0.7,0.2,1.4,0.2,2.2h-7.1C290.6,118.5,290.8,119.1,291.2,119.5z
445  M294.3,114.3c-0.3-0.4-0.8-0.5-1.5-0.5c-0.4,0-0.8,0.1-1.1,0.2c-0.3,0.1-0.5,0.3-0.7,0.5c-0.2,0.2-0.3,0.4-0.4,0.7
446  c-0.1,0.2-0.1,0.5-0.1,0.6h4.4C294.8,115.2,294.6,114.7,294.3,114.3z"/>
447  <path class="st0" d="M304.7,112v1.8h-2v4.9c0,0.5,0.1,0.8,0.2,0.9s0.5,0.2,0.9,0.2c0.2,0,0.3,0,0.4,0c0.1,0,0.3,0,0.4-0.1v2.1
448  c-0.2,0-0.5,0.1-0.8,0.1c-0.3,0-0.6,0-0.8,0c-0.4,0-0.8,0-1.2-0.1c-0.4-0.1-0.7-0.2-1-0.3c-0.3-0.2-0.5-0.4-0.7-0.7
449  c-0.2-0.3-0.2-0.7-0.2-1.2v-5.8h-1.6V112h1.6v-3h2.7v3H304.7z"/>
450  <path class="st0" d="M311.4,112v1.8h-2v4.9c0,0.5,0.1,0.8,0.2,0.9c0.2,0.2,0.5,0.2,0.9,0.2c0.2,0,0.3,0,0.4,0c0.1,0,0.3,0,0.4-0.1
451  v2.1c-0.2,0-0.5,0.1-0.8,0.1c-0.3,0-0.6,0-0.8,0c-0.4,0-0.8,0-1.2-0.1c-0.4-0.1-0.7-0.2-1-0.3c-0.3-0.2-0.5-0.4-0.7-0.7
452  c-0.2-0.3-0.2-0.7-0.2-1.2v-5.8h-1.6V112h1.6v-3h2.7v3H311.4z"/>
453  <path class="st0" d="M315.6,119.5c0.4,0.4,1,0.6,1.8,0.6c0.5,0,1-0.1,1.4-0.4c0.4-0.3,0.6-0.6,0.7-0.9h2.4c-0.4,1.2-1,2-1.8,2.5
454  c-0.8,0.5-1.7,0.8-2.9,0.8c-0.8,0-1.5-0.1-2.1-0.4c-0.6-0.2-1.2-0.6-1.6-1.1c-0.4-0.5-0.8-1-1-1.6c-0.2-0.6-0.4-1.3-0.4-2.1
455  c0-0.7,0.1-1.4,0.4-2.1c0.2-0.6,0.6-1.2,1-1.6c0.4-0.5,1-0.8,1.6-1.1c0.6-0.3,1.3-0.4,2.1-0.4c0.8,0,1.6,0.2,2.2,0.5
456  c0.6,0.3,1.1,0.8,1.5,1.3c0.4,0.5,0.7,1.2,0.9,1.9c0.2,0.7,0.2,1.4,0.2,2.2h-7.1C315,118.5,315.2,119.1,315.6,119.5z M318.6,114.3
457  c-0.3-0.4-0.8-0.5-1.5-0.5c-0.4,0-0.8,0.1-1.1,0.2c-0.3,0.1-0.5,0.3-0.7,0.5c-0.2,0.2-0.3,0.4-0.4,0.7c-0.1,0.2-0.1,0.5-0.1,0.6
458  h4.4C319.2,115.2,319,114.7,318.6,114.3z"/>
459  <path class="st0" d="M326.2,112v1.8h0c0.1-0.3,0.3-0.6,0.5-0.8c0.2-0.3,0.5-0.5,0.7-0.7c0.3-0.2,0.6-0.3,0.9-0.4
460  c0.3-0.1,0.6-0.2,1-0.2c0.2,0,0.4,0,0.6,0.1v2.5c-0.1,0-0.3,0-0.5-0.1s-0.4,0-0.5,0c-0.5,0-0.9,0.1-1.3,0.2
461  c-0.3,0.2-0.6,0.4-0.8,0.7c-0.2,0.3-0.4,0.6-0.4,1c-0.1,0.4-0.1,0.8-0.1,1.2v4.4h-2.7V112H326.2z"/>
462  <path class="st0" d="M335.6,110.8v-2.5h11.2v2.5h-4.1v11.1h-3v-11.1H335.6z"/>
463  <path class="st0" d="M346,114.8c0.2-0.6,0.6-1.2,1-1.6c0.4-0.5,1-0.8,1.6-1c0.6-0.2,1.3-0.4,2.1-0.4c0.8,0,1.5,0.1,2.1,0.4
464  s1.2,0.6,1.6,1c0.4,0.5,0.8,1,1,1.6c0.2,0.6,0.4,1.4,0.4,2.1c0,0.8-0.1,1.5-0.4,2.1c-0.2,0.6-0.6,1.2-1,1.6c-0.4,0.5-1,0.8-1.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
494  c0.6,0.3,1.1,0.8,1.5,1.3c0.4,0.5,0.7,1.2,0.9,1.9c0.2,0.7,0.2,1.4,0.2,2.2h-7.1C400.5,118.5,400.7,119.1,401.1,119.5z
495  M404.2,114.3c-0.3-0.4-0.8-0.5-1.5-0.5c-0.4,0-0.8,0.1-1.1,0.2c-0.3,0.1-0.5,0.3-0.7,0.5c-0.2,0.2-0.3,0.4-0.4,0.7
496  c-0.1,0.2-0.1,0.5-0.1,0.6h4.4C404.7,115.2,404.5,114.7,404.2,114.3z"/>
497  <path class="st0" d="M411.7,112v1.8h0c0.1-0.3,0.3-0.6,0.5-0.8c0.2-0.3,0.5-0.5,0.7-0.7c0.3-0.2,0.6-0.3,0.9-0.4
498  c0.3-0.1,0.6-0.2,1-0.2c0.2,0,0.4,0,0.6,0.1v2.5c-0.1,0-0.3,0-0.5-0.1c-0.2,0-0.4,0-0.5,0c-0.5,0-0.9,0.1-1.3,0.2
499  c-0.3,0.2-0.6,0.4-0.8,0.7c-0.2,0.3-0.4,0.6-0.4,1c-0.1,0.4-0.1,0.8-0.1,1.2v4.4h-2.7V112H411.7z"/>
500  </g>)raw";
501 
502  static const char* svg2 = R"raw(
503 <g>
504  <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="30.5941" y1="54.4356" x2="30.5941" y2="127.221">
505  <stop offset="0.1127" style="stop-color:#235075"/>
506  <stop offset="0.7537" style="stop-color:#0C96D0"/>
507  </linearGradient>
508  <path class="st1" d="M46.8,86.8L46.8,86.8c-17.9,0-32.3-14.5-32.3-32.3v72.8h0l0,0v0h32.3V95.7h0c0-0.3,0-0.5,0-0.8V86.8z"/>
509 
510  <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="-239.4459" y1="105.6518" x2="-174.7478" y2="105.6518" gradientTransform="matrix(-1 0 0 -1 -128 176.2619)">
511  <stop offset="0.197" style="stop-color:#144A71"/>
512  <stop offset="0.3768" style="stop-color:#ADC5D1"/>
513  <stop offset="0.6305" style="stop-color:#0C96D0"/>
514  <stop offset="0.8873" style="stop-color:#235075"/>
515  </linearGradient>
516  <path class="st2" d="M46.7,54.4c0,17.9,14.5,32.3,32.3,32.3C79.1,68.9,64.6,54.4,46.7,54.4z"/>
517  <linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="95.2714" y1="86.7846" x2="95.2714" y2="13.9992">
518  <stop offset="0.1127" style="stop-color:#235075"/>
519  <stop offset="0.7537" style="stop-color:#0C96D0"/>
520  </linearGradient>
521  <path class="st3" d="M111.4,14H79.1v31.5h0c0,0.3,0,0.5,0,0.8v8.1h0c12,0,22.4,6.5,28,16.2c2.8,4.8,4.3,10.3,4.3,16.2L111.4,14
522  L111.4,14L111.4,14z"/>
523  <linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="21.8517" y1="75.288" x2="64.9416" y2="32.1981">
524  <stop offset="0.2463" style="stop-color:#0C96D0"/>
525  <stop offset="0.8873" style="stop-color:#235075"/>
526  </linearGradient>
527  <path class="st4" d="M46.7,54.4v-8.1c0-0.3,0-0.5,0-0.8h0V14H14.4v0l0,0h0v40.4v0c0,17.9,14.5,32.3,32.3,32.3h0h32.3
528  C61.2,86.8,46.7,72.3,46.7,54.4z"/>
529  <linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="48.0744" y1="53.109" x2="116.8162" y2="121.8507">
530  <stop offset="0.1127" style="stop-color:#235075"/>
531  <stop offset="0.7537" style="stop-color:#0C96D0"/>
532  </linearGradient>
533  <path class="st5" d="M107.1,70.6c-5.6-9.7-16-16.2-28-16.2h0H46.7c17.9,0,32.3,14.5,32.3,32.3v8.1c0,0.3,0,0.5,0,0.8h0v31.5h32.3
534  v0l0,0h0V86.8v0C111.4,80.9,109.9,75.4,107.1,70.6z"/>
535  </g>
536  <g>
537  <path class="st6" d="M174.6,59.9h-32v21.7h37.5V95h-54.2V14H180v13.5h-37.4v19.3h32V59.9z"/>
538  <path class="st6" d="M206.5,81.6h35.4V95h-52V14h16.7V81.6z"/>
539  <path class="st6" d="M269.2,95h-16.7V14h16.7V95z"/>
540  <path class="st6" d="M348,68c-0.6,8.7-3.8,15.6-9.6,20.6c-5.8,5-13.4,7.5-22.9,7.5c-10.4,0-18.5-3.5-24.5-10.5
541  c-5.9-7-8.9-16.6-8.9-28.8v-4.9c0-7.8,1.4-14.6,4.1-20.6c2.7-5.9,6.7-10.5,11.7-13.7c5.1-3.2,11-4.8,17.7-4.8
542  c9.3,0,16.8,2.5,22.5,7.5c5.7,5,9,12,9.9,21.1h-16.7c-0.4-5.2-1.9-9-4.4-11.4s-6.3-3.5-11.4-3.5c-5.6,0-9.7,2-12.5,6
543  s-4.2,10.2-4.2,18.5v6.1c0,8.7,1.3,15.1,4,19.2c2.6,4,6.8,6.1,12.5,6.1c5.1,0,9-1.2,11.5-3.5c2.5-2.4,4-6,4.4-10.9H348z"/>
544  <path class="st6" d="M400.9,73.7c0-3.2-1.1-5.6-3.3-7.3c-2.2-1.7-6.2-3.5-12-5.3c-5.8-1.9-10.3-3.7-13.7-5.5
545  c-9.2-5-13.8-11.7-13.8-20.1c0-4.4,1.2-8.3,3.7-11.7c2.5-3.4,6-6.1,10.6-8s9.8-2.9,15.5-2.9c5.8,0,10.9,1,15.4,3.1
546  c4.5,2.1,8,5.1,10.5,8.9c2.5,3.8,3.7,8.2,3.7,13h-16.7c0-3.7-1.2-6.6-3.5-8.6c-2.3-2.1-5.6-3.1-9.8-3.1c-4.1,0-7.2,0.9-9.5,2.6
547  c-2.3,1.7-3.4,4-3.4,6.8c0,2.6,1.3,4.8,4,6.6c2.6,1.8,6.5,3.4,11.7,5c9.5,2.9,16.4,6.4,20.7,10.6c4.3,4.2,6.5,9.5,6.5,15.8
548  c0,7-2.6,12.5-7.9,16.5c-5.3,4-12.4,6-21.4,6c-6.2,0-11.9-1.1-17-3.4c-5.1-2.3-9-5.4-11.7-9.4c-2.7-4-4-8.6-4-13.8h16.7
549  c0,8.9,5.3,13.4,16,13.4c4,0,7.1-0.8,9.3-2.4C399.8,78.9,400.9,76.6,400.9,73.7z"/>
550  </g>
551 </g>
552 </svg>)raw";
553 
554  static const char* indexPage3 = R"raw(<br>
555  <h1>Web server interface</h1>
556  <h2>
557  <a href="https://github.com/GMLC-TDC/HELICS">HELICS Source repository</a><br>
558  <a href="https://docs.helics.org/en/latest/index.html"
559  >HELICS Documentation</a
560  ><br>
561 
562 <a href="https://docs.helics.org/en/latest/user-guide/webserver.html"
563  >Using the web server</a
564  ><br>
565 
566 <a href="https://docs.helics.org/en/latest/user-guide/queries.html"
567  >Available queries</a
568  ><br>
569  </h2>
570  </body>
571 </html>
572 )raw";
573 
574 } // namespace webserver
575 } // namespace helics
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14