Aprepro 5.0x

init_structs.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2014-2017 National Technology & Engineering Solutions
3 * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
4 * NTESS, the U.S. Government retains certain rights in this software.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met:
9 *
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
13 * * Redistributions in binary form must reproduce the above
14 * copyright notice, this list of conditions and the following
15 * disclaimer in the documentation and/or other materials provided
16 * with the distribution.
17 *
18 * * Neither the name of NTESS nor the names of its
19 * contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 *
34 */
35 #ifndef INIT_STRUCTS_H
36 #define INIT_STRUCTS_H
37
38 namespace SEAMS {
39 struct array;
40 } // namespace SEAMS
41
42 struct init
43 {
44 const char *fname;
45 double (*fnct)();
46 const char *syntax;
47 const char *description;
48 };
49
50 struct init_d
51 {
52 const char *fname;
53 double (*fnct)(double);
54 const char *syntax;
55 const char *description;
56 };
57
58 struct init_dd
59 {
60 const char *fname;
61 double (*fnct)(double, double);
62 const char *syntax;
63 const char *description;
64 };
65
66 struct init_cd
67 {
68 const char *fname;
69 double (*fnct)(char *, double);
70 const char *syntax;
71 const char *description;
72 };
73
74 struct init_ddd
75 {
76 const char *fname;
77 double (*fnct)(double, double, double);
78 const char *syntax;
79 const char *description;
80 };
81
82 struct init_dddd
83 {
84 const char *fname;
85 double (*fnct)(double, double, double, double);
86 const char *syntax;
87 const char *description;
88 };
89
90 struct init_dddddd
91 {
92 const char *fname;
93 double (*fnct)(double, double, double, double, double, double);
94 const char *syntax;
95 const char *description;
96 };
97
98 struct init_ccc
99 {
100 const char *fname;
101 double (*fnct)(char *, char *, char *);
102 const char *syntax;
103 const char *description;
104 };
105
106 struct init_cc
107 {
108 const char *fname;
109 double (*fnct)(char *, char *);
110 const char *syntax;
111 const char *description;
112 };
113
114 struct init_c
115 {
116 const char *fname;
117 double (*fnct)(char *);
118 const char *syntax;
119 const char *description;
120 };
121
122 struct init_a
123 {
124 const char *fname;
125 double (*fnct)(const SEAMS::array *);
126 const char *syntax;
127 const char *description;
128 };
129
130 struct str_init
131 {
132 const char *fname;
133 const char *(*fnct)();
134 const char *syntax;
135 const char *description;
136 };
137
138 struct str_c_init
139 {
140 const char *fname;
141 const char *(*fnct)(char *);
142 const char *syntax;
143 const char *description;
144 };
145
146 struct str_d_init
147 {
148 const char *fname;
149 const char *(*fnct)(double);
150 const char *syntax;
151 const char *description;
152 };
153
154 struct str_a_init
155 {
156 const char *fname;
157 const char *(*fnct)(const SEAMS::array *);
158 const char *syntax;
159 const char *description;
160 };
161
162 struct str_dcc_init
163 {
164 const char *fname;
165 const char *(*fnct)(double, char *, char *);
166 const char *syntax;
167 const char *description;
168 };
169
170 struct str_cc_init
171 {
172 const char *fname;
173 const char *(*fnct)(char *, char *);
174 const char *syntax;
175 const char *description;
176 };
177
178 struct str_ccc_init
179 {
180 const char *fname;
181 const char *(*fnct)(char *, char *, char *);
182 const char *syntax;
183 const char *description;
184 };
185
186 struct array_c_init
187 {
188 const char *fname;
189 SEAMS::array *(*fnct)(const char *);
190 const char *syntax;
191 const char *description;
192 };
193
194 struct array_cc_init
195 {
196 const char *fname;
197 SEAMS::array *(*fnct)(const char *, const char *);
198 const char *syntax;
199 const char *description;
200 };
201
202 struct array_cd_init
203 {
204 const char *fname;
205 SEAMS::array *(*fnct)(const char *, double);
206 const char *syntax;
207 const char *description;
208 };
209
210 struct array_dd_init
211 {
212 const char *fname;
213 SEAMS::array *(*fnct)(double, double);
214 const char *syntax;
215 const char *description;
216 };
217
218 struct array_d_init
219 {
220 const char *fname;
221 SEAMS::array *(*fnct)(double);
222 const char *syntax;
223 const char *description;
224 };
225
226 struct array_a_init
227 {
228 const char *fname;
229 SEAMS::array *(*fnct)(const SEAMS::array *);
230 const char *syntax;
231 const char *description;
232 };
233
234 struct var_init
235 {
236 const char *vname;
237 double value;
238 };
239
240 struct svar_init
241 {
242 const char *vname;
243 const char *value;
244 };
245
246 #endif
init_dd::fname
const char * fname
Definition: init_structs.h:60
init_dddd::syntax
const char * syntax
Definition: init_structs.h:86
init_dddddd
Definition: init_structs.h:90
init_c::description
const char * description
Definition: init_structs.h:119
str_c_init::syntax
const char * syntax
Definition: init_structs.h:142
array_d_init::syntax
const char * syntax
Definition: init_structs.h:222
array_cd_init::syntax
const char * syntax
Definition: init_structs.h:206
init_cd::description
const char * description
Definition: init_structs.h:71
array_a_init::syntax
const char * syntax
Definition: init_structs.h:230
init_cd::fnct
double(* fnct)(char *, double)
Definition: init_structs.h:69
init_ccc::syntax
const char * syntax
Definition: init_structs.h:102
str_a_init::description
const char * description
Definition: init_structs.h:159
str_init::description
const char * description
Definition: init_structs.h:135
str_cc_init
Definition: init_structs.h:170
var_init
Definition: init_structs.h:234
init_cd::syntax
const char * syntax
Definition: init_structs.h:70
array_c_init::fname
const char * fname
Definition: init_structs.h:188
array_d_init::description
const char * description
Definition: init_structs.h:223
str_ccc_init::fname
const char * fname
Definition: init_structs.h:180
init_cd
Definition: init_structs.h:66
array_dd_init::description
const char * description
Definition: init_structs.h:215
init_ccc::fnct
double(* fnct)(char *, char *, char *)
Definition: init_structs.h:101
array_dd_init::fname
const char * fname
Definition: init_structs.h:212
array_c_init::description
const char * description
Definition: init_structs.h:191
init::fnct
double(* fnct)()
Definition: init_structs.h:45
init::description
const char * description
Definition: init_structs.h:47
str_dcc_init::syntax
const char * syntax
Definition: init_structs.h:166
init_dddd::fnct
double(* fnct)(double, double, double, double)
Definition: init_structs.h:85
array_a_init::description
const char * description
Definition: init_structs.h:231
svar_init
Definition: init_structs.h:240
init_d::description
const char * description
Definition: init_structs.h:55
init_dd::syntax
const char * syntax
Definition: init_structs.h:62
init_ddd::fname
const char * fname
Definition: init_structs.h:76
str_d_init::fname
const char * fname
Definition: init_structs.h:148
array_c_init::syntax
const char * syntax
Definition: init_structs.h:190
init_a::fnct
double(* fnct)(const SEAMS::array *)
Definition: init_structs.h:125
init_dddddd::syntax
const char * syntax
Definition: init_structs.h:94
init_cd::fname
const char * fname
Definition: init_structs.h:68
str_a_init::syntax
const char * syntax
Definition: init_structs.h:158
str_d_init
Definition: init_structs.h:146
str_ccc_init::description
const char * description
Definition: init_structs.h:183
init_dddd::fname
const char * fname
Definition: init_structs.h:84
init_cc
Definition: init_structs.h:106
str_init::fname
const char * fname
Definition: init_structs.h:132
init_c
Definition: init_structs.h:114
init_dddddd::fname
const char * fname
Definition: init_structs.h:92
init_a
Definition: init_structs.h:122
init_a::description
const char * description
Definition: init_structs.h:127
array_a_init
Definition: init_structs.h:226
array_cd_init
Definition: init_structs.h:202
init_ddd::syntax
const char * syntax
Definition: init_structs.h:78
array_cc_init::description
const char * description
Definition: init_structs.h:199
svar_init::value
const char * value
Definition: init_structs.h:243
str_dcc_init
Definition: init_structs.h:162
str_ccc_init
Definition: init_structs.h:178
array_cc_init::fname
const char * fname
Definition: init_structs.h:196
array_dd_init::syntax
const char * syntax
Definition: init_structs.h:214
str_dcc_init::fname
const char * fname
Definition: init_structs.h:164
str_ccc_init::syntax
const char * syntax
Definition: init_structs.h:182
array_cd_init::fname
const char * fname
Definition: init_structs.h:204
str_cc_init::syntax
const char * syntax
Definition: init_structs.h:174
str_init
Definition: init_structs.h:130
init_ddd::description
const char * description
Definition: init_structs.h:79
init_cc::syntax
const char * syntax
Definition: init_structs.h:110
init_c::syntax
const char * syntax
Definition: init_structs.h:118
init_ccc::fname
const char * fname
Definition: init_structs.h:100
init_cc::description
const char * description
Definition: init_structs.h:111
array_c_init
Definition: init_structs.h:186
str_cc_init::fname
const char * fname
Definition: init_structs.h:172
array_cc_init::syntax
const char * syntax
Definition: init_structs.h:198
init_dddd::description
const char * description
Definition: init_structs.h:87
init_d::syntax
const char * syntax
Definition: init_structs.h:54
init_dddddd::description
const char * description
Definition: init_structs.h:95
init_d
Definition: init_structs.h:50
init_dddddd::fnct
double(* fnct)(double, double, double, double, double, double)
Definition: init_structs.h:93
init_dd
Definition: init_structs.h:58
init_cc::fnct
double(* fnct)(char *, char *)
Definition: init_structs.h:109
init_ddd
Definition: init_structs.h:74
str_init::syntax
const char * syntax
Definition: init_structs.h:134
svar_init::vname
const char * vname
Definition: init_structs.h:242
init::fname
const char * fname
Definition: init_structs.h:44
str_d_init::syntax
const char * syntax
Definition: init_structs.h:150
init_c::fnct
double(* fnct)(char *)
Definition: init_structs.h:117
init
Definition: init_structs.h:42
init_ccc::description
const char * description
Definition: init_structs.h:103
init_c::fname
const char * fname
Definition: init_structs.h:116
str_dcc_init::description
const char * description
Definition: init_structs.h:167
init_d::fnct
double(* fnct)(double)
Definition: init_structs.h:53
array_cc_init
Definition: init_structs.h:194
array_dd_init
Definition: init_structs.h:210
str_c_init::description
const char * description
Definition: init_structs.h:143
str_c_init
Definition: init_structs.h:138
var_init::value
double value
Definition: init_structs.h:237
init_dd::fnct
double(* fnct)(double, double)
Definition: init_structs.h:61
str_c_init::fname
const char * fname
Definition: init_structs.h:140
str_a_init::fname
const char * fname
Definition: init_structs.h:156
init_dddd
Definition: init_structs.h:82
var_init::vname
const char * vname
Definition: init_structs.h:236
array_a_init::fname
const char * fname
Definition: init_structs.h:228
init_a::syntax
const char * syntax
Definition: init_structs.h:126
str_cc_init::description
const char * description
Definition: init_structs.h:175
array_d_init::fname
const char * fname
Definition: init_structs.h:220
SEAMS
Definition: apr_aprepro.cc:57
init_dd::description
const char * description
Definition: init_structs.h:63
init_ccc
Definition: init_structs.h:98
array_cd_init::description
const char * description
Definition: init_structs.h:207
init_a::fname
const char * fname
Definition: init_structs.h:124
init::syntax
const char * syntax
Definition: init_structs.h:46
array_d_init
Definition: init_structs.h:218
str_a_init
Definition: init_structs.h:154
SEAMS::array
Definition: aprepro.h:58
init_cc::fname
const char * fname
Definition: init_structs.h:108
init_ddd::fnct
double(* fnct)(double, double, double)
Definition: init_structs.h:77
init_d::fname
const char * fname
Definition: init_structs.h:52
str_d_init::description
const char * description
Definition: init_structs.h:151