41 #define MASA_MAJOR_VERSION 0
42 #define MASA_MINOR_VERSION 44
43 #define MASA_MICRO_VERSION 0
45 #define MASA_BUILD_USER "nick"
46 #define MASA_BUILD_ARCH "x86_64-unknown-linux-gnu"
47 #define MASA_BUILD_HOST "magus.ices.utexas.edu"
48 #define MASA_BUILD_DATE "2015-04-21 10:22"
49 #define MASA_BUILD_VERSION "4e0d095"
51 #define MASA_LIB_VERSION "0.44.0"
52 #define MASA_LIB_RELEASE "Development Build"
54 #define MASA_CXX "g++"
55 #define MASA_CXXFLAGS "-O0 -fno-unsafe-math-optimizations -Dgnu_compiler"
57 #define MASA_FC "gfortran"
58 #define MASA_FCFLAGS "-g -O2"
101 template <
typename Scalar>
117 template <
typename Scalar>
118 int masa_init (std::string handle, std::string unique_solution_string);
120 template <
typename Scalar>
123 template <
typename Scalar>
126 template <
typename Scalar>
129 template <
typename Scalar>
130 Scalar pass_func (Scalar (*)(Scalar),Scalar);
136 template <
typename Scalar>
139 template <
typename Scalar>
142 template <
typename Scalar>
145 template <
typename Scalar>
146 void masa_set_vec(std::string vector_name,std::vector<Scalar>& new_vector);
148 template <
typename Scalar>
149 int masa_get_vec(std::string vector_name,std::vector<Scalar>& vector);
155 template <
typename Scalar>
156 Scalar masa_eval_source_t (Scalar);
158 template <
typename Scalar>
159 Scalar masa_eval_source_t (Scalar,Scalar);
161 template <
typename Scalar>
162 Scalar masa_eval_source_u (Scalar);
164 template <
typename Scalar>
165 Scalar masa_eval_source_v (Scalar);
167 template <
typename Scalar>
168 Scalar masa_eval_source_w (Scalar);
170 template <
typename Scalar>
171 Scalar masa_eval_source_e (Scalar);
173 template <
typename Scalar>
174 Scalar masa_eval_source_e (Scalar,Scalar (*)(Scalar));
176 template <
typename Scalar>
177 Scalar masa_eval_source_rho(Scalar);
179 template <
typename Scalar>
180 Scalar masa_eval_source_rho_u(Scalar);
182 template <
typename Scalar>
183 Scalar masa_eval_source_rho_v(Scalar);
185 template <
typename Scalar>
186 Scalar masa_eval_source_rho_w(Scalar);
188 template <
typename Scalar>
189 Scalar masa_eval_source_rho_N(Scalar,Scalar (*)(Scalar));
191 template <
typename Scalar>
192 Scalar masa_eval_source_rho_N2(Scalar,Scalar (*)(Scalar));
194 template <
typename Scalar>
195 Scalar masa_eval_source_rho_C(Scalar);
197 template <
typename Scalar>
198 Scalar masa_eval_source_rho_C3(Scalar);
200 template <
typename Scalar>
201 Scalar masa_eval_source_C(Scalar);
203 template <
typename Scalar>
204 Scalar masa_eval_source_C3(Scalar);
206 template <
typename Scalar>
207 Scalar masa_eval_source_boundary(Scalar);
209 template <
typename Scalar>
210 Scalar masa_eval_source_rho_e(Scalar);
216 template <
typename Scalar>
217 Scalar masa_eval_exact_t (Scalar);
219 template <
typename Scalar>
220 Scalar masa_eval_exact_t (Scalar,Scalar);
222 template <
typename Scalar>
223 Scalar masa_eval_exact_u (Scalar);
225 template <
typename Scalar>
226 Scalar masa_eval_exact_v (Scalar);
228 template <
typename Scalar>
229 Scalar masa_eval_exact_w (Scalar);
231 template <
typename Scalar>
232 Scalar masa_eval_exact_p (Scalar);
234 template <
typename Scalar>
235 Scalar masa_eval_exact_rho (Scalar);
237 template <
typename Scalar>
238 Scalar masa_eval_exact_rho_N (Scalar);
240 template <
typename Scalar>
241 Scalar masa_eval_exact_rho_N2 (Scalar);
243 template <
typename Scalar>
244 Scalar masa_eval_exact_rho_C (Scalar);
246 template <
typename Scalar>
247 Scalar masa_eval_exact_rho_C3 (Scalar);
253 template <
typename Scalar>
254 Scalar masa_eval_likelyhood (Scalar);
256 template <
typename Scalar>
257 Scalar masa_eval_loglikelyhood (Scalar);
259 template <
typename Scalar>
260 Scalar masa_eval_prior (Scalar);
262 template <
typename Scalar>
263 Scalar masa_eval_posterior (Scalar);
265 template <
typename Scalar>
266 Scalar masa_eval_central_moment (
int);
268 template <
typename Scalar>
269 Scalar masa_eval_posterior_mean();
271 template <
typename Scalar>
272 Scalar masa_eval_posterior_variance();
278 template <
typename Scalar>
279 Scalar masa_eval_source_t (Scalar,Scalar,Scalar);
281 template <
typename Scalar>
282 Scalar masa_eval_source_f (Scalar,Scalar);
284 template <
typename Scalar>
285 Scalar masa_eval_source_u (Scalar,Scalar);
287 template <
typename Scalar>
288 Scalar masa_eval_source_v (Scalar,Scalar);
290 template <
typename Scalar>
291 Scalar masa_eval_source_w (Scalar,Scalar);
293 template <
typename Scalar>
294 Scalar masa_eval_source_e (Scalar,Scalar);
296 template <
typename Scalar>
297 Scalar masa_eval_source_rho(Scalar,Scalar);
299 template <
typename Scalar>
300 Scalar masa_eval_source_rho_u(Scalar,Scalar);
302 template <
typename Scalar>
303 Scalar masa_eval_source_rho_v(Scalar,Scalar);
305 template <
typename Scalar>
306 Scalar masa_eval_source_rho_w(Scalar,Scalar);
308 template <
typename Scalar>
309 Scalar masa_eval_source_rho_e(Scalar,Scalar);
311 template <
typename Scalar>
312 Scalar masa_eval_source_nu (Scalar,Scalar);
318 template <
typename Scalar>
319 Scalar masa_eval_exact_t (Scalar,Scalar,Scalar);
321 template <
typename Scalar>
322 Scalar masa_eval_exact_u (Scalar,Scalar);
324 template <
typename Scalar>
325 Scalar masa_eval_exact_phi (Scalar,Scalar);
327 template <
typename Scalar>
328 Scalar masa_eval_exact_v (Scalar,Scalar);
330 template <
typename Scalar>
331 Scalar masa_eval_exact_w (Scalar,Scalar);
333 template <
typename Scalar>
334 Scalar masa_eval_exact_p (Scalar,Scalar);
336 template <
typename Scalar>
337 Scalar masa_eval_exact_rho (Scalar,Scalar);
339 template <
typename Scalar>
340 Scalar masa_eval_exact_nu (Scalar,Scalar);
342 template <
typename Scalar>
343 Scalar masa_eval_exact_rho_C (Scalar,Scalar);
345 template <
typename Scalar>
346 Scalar masa_eval_exact_rho_C3 (Scalar,Scalar);
354 template <
typename Scalar>
355 Scalar masa_eval_source_u (Scalar,Scalar,Scalar);
357 template <
typename Scalar>
358 Scalar masa_eval_source_v (Scalar,Scalar,Scalar);
360 template <
typename Scalar>
361 Scalar masa_eval_source_w (Scalar,Scalar,Scalar);
363 template <
typename Scalar>
364 Scalar masa_eval_source_e (Scalar,Scalar,Scalar);
366 template <
typename Scalar>
367 Scalar masa_eval_source_rho(Scalar,Scalar,Scalar);
369 template <
typename Scalar>
370 Scalar masa_eval_source_rho_u(Scalar,Scalar,Scalar);
372 template <
typename Scalar>
373 Scalar masa_eval_source_rho_v(Scalar,Scalar,Scalar);
375 template <
typename Scalar>
376 Scalar masa_eval_source_rho_w(Scalar,Scalar,Scalar);
378 template <
typename Scalar>
379 Scalar masa_eval_source_rho_e(Scalar,Scalar,Scalar);
381 template <
typename Scalar>
382 Scalar masa_eval_source_nu (Scalar,Scalar,Scalar);
388 template <
typename Scalar>
389 Scalar masa_eval_exact_t (Scalar,Scalar,Scalar);
391 template <
typename Scalar>
392 Scalar masa_eval_exact_u (Scalar,Scalar,Scalar);
394 template <
typename Scalar>
395 Scalar masa_eval_exact_v (Scalar,Scalar,Scalar);
397 template <
typename Scalar>
398 Scalar masa_eval_exact_w (Scalar,Scalar,Scalar);
400 template <
typename Scalar>
401 Scalar masa_eval_exact_p (Scalar,Scalar,Scalar);
403 template <
typename Scalar>
404 Scalar masa_eval_exact_rho (Scalar,Scalar,Scalar);
406 template <
typename Scalar>
407 Scalar masa_eval_exact_nu (Scalar,Scalar,Scalar);
409 template <
typename Scalar>
410 Scalar masa_eval_exact_rho_C (Scalar,Scalar,Scalar);
412 template <
typename Scalar>
413 Scalar masa_eval_exact_rho_C3 (Scalar,Scalar,Scalar);
420 template <
typename Scalar>
421 Scalar masa_eval_source_t (Scalar,Scalar,Scalar,Scalar);
423 template <
typename Scalar>
424 Scalar masa_eval_source_u (Scalar,Scalar,Scalar,Scalar);
426 template <
typename Scalar>
427 Scalar masa_eval_source_v (Scalar,Scalar,Scalar,Scalar);
429 template <
typename Scalar>
430 Scalar masa_eval_source_w (Scalar,Scalar,Scalar,Scalar);
432 template <
typename Scalar>
433 Scalar masa_eval_source_e (Scalar,Scalar,Scalar,Scalar);
435 template <
typename Scalar>
436 Scalar masa_eval_source_rho (Scalar,Scalar,Scalar,Scalar);
438 template <
typename Scalar>
439 Scalar masa_eval_source_rho_u(Scalar,Scalar,Scalar,Scalar);
441 template <
typename Scalar>
442 Scalar masa_eval_source_rho_v(Scalar,Scalar,Scalar,Scalar);
444 template <
typename Scalar>
445 Scalar masa_eval_source_rho_w(Scalar,Scalar,Scalar,Scalar);
447 template <
typename Scalar>
448 Scalar masa_eval_source_rho_e(Scalar,Scalar,Scalar,Scalar);
455 template <
typename Scalar>
456 Scalar masa_eval_exact_t (Scalar,Scalar,Scalar,Scalar);
458 template <
typename Scalar>
459 Scalar masa_eval_exact_u (Scalar,Scalar,Scalar,Scalar);
461 template <
typename Scalar>
462 Scalar masa_eval_exact_v (Scalar,Scalar,Scalar,Scalar);
464 template <
typename Scalar>
465 Scalar masa_eval_exact_w (Scalar,Scalar,Scalar,Scalar);
467 template <
typename Scalar>
468 Scalar masa_eval_exact_p (Scalar,Scalar,Scalar,Scalar);
470 template <
typename Scalar>
471 Scalar masa_eval_exact_rho (Scalar,Scalar,Scalar,Scalar);
478 template <
typename Scalar>
479 Scalar masa_eval_grad_t (Scalar);
481 template <
typename Scalar>
482 Scalar masa_eval_grad_t (Scalar,Scalar,
int);
484 template <
typename Scalar>
485 Scalar masa_eval_grad_t (Scalar,Scalar,Scalar,
int);
487 template <
typename Scalar>
488 Scalar masa_eval_grad_t (Scalar,Scalar,Scalar,Scalar,
int);
491 template <
typename Scalar>
492 Scalar masa_eval_grad_u (Scalar);
494 template <
typename Scalar>
495 Scalar masa_eval_grad_u (Scalar,Scalar,
int);
497 template <
typename Scalar>
498 Scalar masa_eval_grad_u (Scalar,Scalar,Scalar,
int);
500 template <
typename Scalar>
501 Scalar masa_eval_grad_u (Scalar,Scalar,Scalar,Scalar,
int);
504 template <
typename Scalar>
505 Scalar masa_eval_grad_v (Scalar);
507 template <
typename Scalar>
508 Scalar masa_eval_grad_v (Scalar,Scalar,
int);
510 template <
typename Scalar>
511 Scalar masa_eval_grad_v (Scalar,Scalar,Scalar,
int);
513 template <
typename Scalar>
514 Scalar masa_eval_grad_v (Scalar,Scalar,Scalar,Scalar,
int);
517 template <
typename Scalar>
518 Scalar masa_eval_grad_w (Scalar);
520 template <
typename Scalar>
521 Scalar masa_eval_grad_w (Scalar,Scalar,
int);
523 template <
typename Scalar>
524 Scalar masa_eval_grad_w (Scalar,Scalar,Scalar,
int);
526 template <
typename Scalar>
527 Scalar masa_eval_grad_w (Scalar,Scalar,Scalar,Scalar,
int);
530 template <
typename Scalar>
531 Scalar masa_eval_grad_p (Scalar);
533 template <
typename Scalar>
534 Scalar masa_eval_grad_p (Scalar,Scalar,
int);
536 template <
typename Scalar>
537 Scalar masa_eval_grad_p (Scalar,Scalar,Scalar,
int);
539 template <
typename Scalar>
540 Scalar masa_eval_grad_p (Scalar,Scalar,Scalar,Scalar,
int);
543 template <
typename Scalar>
544 Scalar masa_eval_grad_rho(Scalar);
546 template <
typename Scalar>
547 Scalar masa_eval_grad_rho(Scalar,Scalar,
int);
549 template <
typename Scalar>
550 Scalar masa_eval_grad_rho(Scalar,Scalar,Scalar,
int);
552 template <
typename Scalar>
553 Scalar masa_eval_grad_rho(Scalar,Scalar,Scalar,Scalar,
int);
559 int masa_map (std::string*);
560 int masa_map2(std::string, std::string);
562 template <
typename Scalar>
563 int masa_test_poly();
569 template <
typename Scalar>
570 int masa_getid(
void**,std::string);
572 template <
typename Scalar>
575 template <
typename Scalar>
578 template <
typename Scalar>
579 int masa_display_vec();
581 template <
typename Scalar>
584 template <
typename Scalar>
587 template <
typename Scalar>
593 int masa_version_stdout();
594 int masa_get_numeric_version();
600 void masa_shell_choose_solution();
601 void masa_shell_print_avail();
602 void masa_shell_choose_solution();
603 void masa_shell_print_avail();
608 #endif // __cplusplus
649 extern int masa_init (
const char* handle,
const char* unique_solution_name);
709 extern void masa_set_param(
const char* param_name,
double new_value);
737 extern void masa_set_array(
const char* vector_name,
int *length,
double new_array[]);
750 extern int masa_get_array(
const char* param_name,
int *length,
double* array);
double masa_eval_3d_source_u(double x, double y, double z)
double masa_eval_2d_exact_t(double x, double y)
int masa_get_dimension(int *dimension)
double masa_eval_2d_source_rho_v(double x, double y)
double masa_eval_2d_grad_v(double x, double y, int direction)
void masa_set_array(const char *vector_name, int *length, double new_array[])
double masa_eval_3d_grad_u(double x, double y, double z, int direction)
double masa_eval_1d_source_rho(double x)
double masa_eval_1d_source_rho_N2(double x, double(*)(double))
double masa_eval_1d_grad_rho(double x)
double masa_eval_3d_source_v(double x, double y, double z)
int masa_purge_default_param()
double masa_eval_3d_source_e(double x, double y, double z)
double masa_eval_3d_source_w(double x, double y, double z)
double masa_eval_2d_source_v(double x, double y)
double masa_eval_2d_source_u(double x, double y)
int masa_get_array(const char *param_name, int *length, double *array)
double masa_eval_2d_exact_p(double x, double y)
void masa_set_param(const char *param_name, double new_value)
double masa_eval_1d_exact_u(double x)
double masa_eval_2d_source_rho_e(double x, double y)
double masa_eval_2d_grad_u(double x, double y, int direction)
double masa_eval_1d_grad_u(double x)
double masa_eval_1d_source_rho_e(double x)
double masa_eval_2d_source_rho_w(double x, double y)
double masa_eval_2d_grad_rho(double x, double y, int direction)
double masa_eval_1d_source_e(double x)
double masa_eval_3d_grad_w(double x, double y, double z, int direction)
double masa_eval_1d_source_t(double x)
double masa_eval_1d_source_rho_u(double x)
double masa_eval_2d_grad_p(double x, double y, int direction)
double masa_eval_1d_exact_t(double x)
double masa_eval_3d_exact_w(double x, double y, double z)
double masa_eval_1d_exact_rho_N2(double x)
int masa_init(const char *handle, const char *unique_solution_name)
double masa_eval_2d_source_f(double x, double y)
double masa_eval_2d_source_t(double x, double y)
int masa_select_mms(const char *handle)
double masa_eval_2d_exact_phi(double x, double y)
double masa_eval_3d_exact_u(double x, double y, double z)
double masa_eval_3d_exact_rho(double x, double y, double z)
double masa_eval_3d_grad_v(double x, double y, double z, int direction)
double masa_eval_3d_source_rho_v(double x, double y, double z)
double masa_eval_1d_exact_rho_N(double x)
int masa_get_name(char *name)
double masa_eval_2d_exact_v(double x, double y)
double masa_eval_3d_grad_rho(double x, double y, double z, int direction)
double masa_eval_3d_source_rho_u(double x, double y, double z)
double masa_eval_2d_source_rho(double x, double y)
double masa_eval_1d_grad_p(double x)
double masa_eval_2d_source_e(double x, double y)
double masa_eval_1d_exact_rho(double x)
double masa_eval_1d_source_u(double x)
int masa_test_default(double input)
double masa_eval_2d_exact_u(double x, double y)
double masa_eval_2d_exact_rho(double x, double y)
double masa_eval_3d_exact_p(double x, double y, double z)
double masa_eval_2d_source_rho_u(double x, double y)
double masa_eval_3d_grad_p(double x, double y, double z, int direction)
double masa_eval_3d_source_t(double x, double y, double z)
double masa_eval_3d_exact_v(double x, double y, double z)
double masa_eval_3d_source_rho_w(double x, double y, double z)
double masa_eval_1d_exact_p(double x)
double masa_get_param(const char *param_name)
double masa_eval_3d_source_rho(double x, double y, double z)
double masa_eval_3d_exact_t(double x, double y, double z)
double masa_eval_1d_source_rho_N(double x, double(*)(double))
double masa_eval_3d_source_rho_e(double x, double y, double z)