Aprepro 5.0x
Loading...
Searching...
No Matches
apr_builtin.h
Go to the documentation of this file.
1/*
2 * Copyright(C) 1999-2024 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 * See packages/seacas/LICENSE for details
7 */
8#pragma once
9
10#include <cstdio>
11
12namespace SEAMS {
13 struct array;
14
15 double do_FtoC(double F);
16 double do_CtoF(double C);
17 double do_acos(double x);
18 double do_acosd(double x);
19 double do_acosh(double x);
20 double do_angle(double x1, double y1, double x2, double y2);
21 double do_angled(double x1, double y1, double x2, double y2);
22 double do_asin(double x);
23 double do_asind(double x);
24 double do_asinh(double x);
25 double do_atan(double x);
26 double do_atan2(double x, double y);
27 double do_atan2d(double x, double y);
28 double do_atand(double x);
29 double do_atanh(double x);
30 double do_ceil(double x);
31 double do_cbrt(double x);
32 double do_cos(double x);
33 double do_cosd(double x);
34 double do_cosh(double x);
35 double do_d2r(double x);
36 double do_dim(double x, double y);
37 double do_dist(double x1, double y1, double x2, double y2);
38 double do_erf(double x);
39 double do_erfc(double x);
40 double do_exp(double x);
41 double do_expm1(double x);
42 double do_fabs(double x);
43 double do_floor(double x);
44 double do_nint(double x);
45 double do_fmod(double x, double y);
46 double do_hypot(double x, double y);
47 double do_int(double x);
48 double do_log(double x);
49 double do_log10(double x);
50 double do_max(double x, double y);
51 double do_min(double x, double y);
52 double do_pow(double x, double y);
53 double do_r2d(double x);
54 double do_rand(double xl, double xh);
55 double do_srand(double seed);
56 double do_rand_normal(double mean, double stddev);
57 double do_rand_lognormal(double mean, double stddev);
58 double do_rand_weibull(double alpha, double beta);
59 double do_sign(double x, double y);
60 double do_sin(double x);
61 double do_sind(double x);
62 double do_sinh(double x);
63 double do_sqrt(double x);
64 double do_tan(double x);
65 double do_tand(double x);
66 double do_tanh(double x);
67 double do_polarX(double rad, double ang);
68 double do_polarY(double rad, double ang);
69 double do_strtod(char *string);
70 double do_option(char *option, double value);
71 double do_word_count(char *string, char *delm);
72 double do_find_word(char *word, char *string, char *delm);
73 double do_lgamma(double val);
74 double do_tgamma(double val);
75 double do_juldayhms(double mon, double day, double year, double h, double mi, double se);
76 double do_julday(double mon, double day, double year);
77 double do_log1p(double x);
78 double do_rows(const array *arr);
79 double do_cols(const array *arr);
80 double do_time();
81
82 const char *do_dumpsym();
83 const char *do_dumpsym_json();
84 const char *do_dumpfunc();
85 const char *do_dumpvar();
86 const char *do_get_date();
87 const char *do_get_iso_date();
88 const char *do_get_time();
89 const char *do_get_temp_filename();
90 const char *do_version();
91
92 const char *do_dumpsym1(char *pre);
93 const char *do_dumpfunc1(char *pre);
94 const char *do_dumpvar1(char *pre);
95 const char *do_Units(char *type);
96 const char *do_file_to_string(char *filename);
97 const char *do_error(char *error_string);
98 const char *do_include_path(char *new_path);
99 const char *do_getenv(char *env);
100 const char *do_output(char *filename);
101 const char *do_append(char *filename);
102 const char *do_rescan(char *string);
103
104 const char *do_if(double x);
105 const char *do_notif(double x);
106 const char *do_elseif(double x);
107 const char *do_switch(double x);
108 const char *do_case(double x);
109
110 const char *do_format(double n, char *form);
111 const char *do_get_word(double n, char *string, char *delm);
112 const char *do_print_array(const array *my_array_data);
113
114 const char *do_import(char *string);
115 const char *do_execute(char *string);
116 const char *do_tolower(char *string);
117 const char *do_toupper(char *string);
118 const char *do_tostring(double x);
119 const char *do_extract(char *string, char *begin, char *end);
120 const char *do_intout(double intval);
121 const char *do_print_array(array *my_array_data);
122 const char *do_str_if(char *string);
123 const char *do_str_notif(char *string);
124 const char *do_str_elseif(char *string);
125 const char *do_delete(char *string);
126
127#if defined(EXODUS_SUPPORT)
128 const char *do_exodus_info_range(char *filename, char *beg, char *end);
129 const char *do_exodus_info(char *filename, char *prefix);
130 const char *do_exodus_meta(char *filename);
131#endif
132
133 array *do_csv_array(const char *filename, double skip);
134 array *do_csv_array1(const char *filename);
135 array *do_csv_array2(const char *filename, const char *comment);
136 array *do_make_array(double rows, double cols);
137 array *do_make_array_init(double rows, double cols, double init);
138 array *do_linear_array(double init, double final, double count);
139 array *do_identity(double size);
140 array *do_transpose(const array *a);
141 array *do_principal(const array *a);
142 array *do_array_from_string(const char *string, const char *delm);
143 array *do_sym_tensor_from_string(const char *string, const char *delm);
144} // namespace SEAMS
Definition apr_aprepro.cc:57
const char * do_Units(char *type)
Definition apr_units.cc:306
const char * do_get_date()
Definition apr_builtin.cc:530
double do_acos(double x)
Definition apr_builtin.cc:291
double do_sinh(double x)
Definition apr_builtin.cc:431
const char * do_format(double var, char *format)
Definition apr_builtin.cc:837
double do_cosh(double x)
Definition apr_builtin.cc:363
double do_sign(double x, double y)
Definition apr_builtin.cc:331
double do_fabs(double x)
Definition apr_builtin.cc:347
double do_time()
Definition apr_builtin.cc:95
const char * do_dumpvar1(char *pre)
Definition apr_builtin.cc:774
const char * do_output(char *filename)
Definition apr_builtin.cc:621
double do_polarX(double rad, double ang)
Definition apr_builtin.cc:469
const char * do_error(char *error_string)
Definition apr_builtin.cc:956
double do_atand(double x)
Definition apr_builtin.cc:251
double do_rand_normal(double mean, double stddev)
Definition apr_builtin.cc:313
double do_d2r(double x)
Definition apr_builtin.cc:183
const char * do_get_iso_date()
Definition apr_builtin.cc:545
const char * do_dumpsym_json()
Definition apr_builtin.cc:744
double do_julday(double mon, double day, double year)
Definition apr_builtin.cc:505
array * do_array_from_string(const char *string, const char *delm)
Definition apr_builtin.cc:1230
array * do_csv_array1(const char *filename)
Definition apr_builtin.cc:1132
double do_srand(double seed)
Definition apr_builtin.cc:300
const char * do_intout(double intval)
Definition apr_builtin.cc:817
const char * do_dumpfunc1(char *pre)
Definition apr_builtin.cc:768
double do_dist(double x1, double y1, double x2, double y2)
Definition apr_builtin.cc:126
double do_cbrt(double x)
Definition apr_builtin.cc:450
double do_rand_weibull(double alpha, double beta)
Definition apr_builtin.cc:325
double do_r2d(double x)
Definition apr_builtin.cc:185
double do_rand(double xl, double xh)
Definition apr_builtin.cc:307
array * do_sym_tensor_from_string(const char *string, const char *delm)
Definition apr_builtin.cc:1243
const char * do_dumpfunc()
Definition apr_builtin.cc:750
const char * do_notif(double x)
Definition apr_builtin.cc:870
double do_log10(double x)
Definition apr_builtin.cc:423
double do_nint(double x)
Definition apr_builtin.cc:115
double do_dim(double x, double y)
Definition apr_builtin.cc:339
double do_asind(double x)
Definition apr_builtin.cc:267
double do_atan2d(double x, double y)
Definition apr_builtin.cc:235
array * do_linear_array(double init, double final, double count)
Definition apr_builtin.cc:1036
double do_pow(double x, double y)
Definition apr_builtin.cc:161
double do_acosh(double x)
Definition apr_builtin.cc:512
double do_asinh(double x)
Definition apr_builtin.cc:514
double do_expm1(double x)
Definition apr_builtin.cc:387
array * do_csv_array2(const char *filename, const char *comment)
Definition apr_builtin.cc:1183
const char * do_dumpvar()
Definition apr_builtin.cc:756
double do_sind(double x)
Definition apr_builtin.cc:187
const char * do_rescan(char *string)
Definition apr_builtin.cc:851
const char * do_tolower(char *string)
Definition apr_builtin.cc:575
double do_erfc(double x)
Definition apr_builtin.cc:397
double do_polarY(double rad, double ang)
Definition apr_builtin.cc:471
double do_juldayhms(double mon, double day, double year, double h, double mi, double se)
Definition apr_builtin.cc:477
double do_exp(double x)
Definition apr_builtin.cc:371
double do_rand_lognormal(double mean, double stddev)
Definition apr_builtin.cc:319
const char * do_get_temp_filename()
Definition apr_builtin.cc:949
const char * do_str_if(char *string)
Definition apr_builtin.cc:882
const char * do_str_elseif(char *string)
Definition apr_builtin.cc:898
double do_tan(double x)
Definition apr_builtin.cc:227
const char * do_import(char *string)
Definition apr_builtin.cc:857
double do_CtoF(double C)
Definition apr_builtin.cc:103
double do_min(double x, double y)
Definition apr_builtin.cc:175
const char * do_delete(char *string)
Definition apr_builtin.cc:1002
double do_log1p(double x)
Definition apr_builtin.cc:510
double do_floor(double x)
Definition apr_builtin.cc:399
double do_int(double x)
Definition apr_builtin.cc:106
array * do_identity(double size)
Definition apr_builtin.cc:1025
double do_word_count(char *string, char *delm)
Definition apr_builtin.cc:664
const char * do_dumpsym1(char *pre)
Definition apr_builtin.cc:762
double do_max(double x, double y)
Definition apr_builtin.cc:167
const char * do_print_array(const array *my_array_data)
Definition apr_builtin.cc:965
double do_find_word(char *word, char *string, char *delm)
Definition apr_builtin.cc:669
double do_cols(const array *arr)
Definition apr_builtin.cc:520
double do_fmod(double x, double y)
Definition apr_builtin.cc:407
array * do_make_array(double rows, double cols)
Definition apr_builtin.cc:1009
array * do_make_array_init(double rows, double cols, double init)
Definition apr_builtin.cc:1015
const char * do_toupper(char *string)
Definition apr_builtin.cc:587
const char * do_extract(char *string, char *begin, char *end)
Definition apr_builtin.cc:918
double do_option(char *option, double value)
Definition apr_builtin.cc:780
const char * do_get_time()
Definition apr_builtin.cc:560
double do_lgamma(double val)
Definition apr_builtin.cc:473
const char * do_version()
Definition apr_builtin.cc:523
double do_ceil(double x)
Definition apr_builtin.cc:355
double do_hypot(double x, double y)
Definition apr_builtin.cc:159
double do_tgamma(double val)
Definition apr_builtin.cc:475
const char * do_dumpsym()
Definition apr_builtin.cc:738
double do_sqrt(double x)
Definition apr_builtin.cc:439
const char * do_get_word(double n, char *string, char *delm)
Definition apr_builtin.cc:681
double do_rows(const array *arr)
Definition apr_builtin.cc:518
double do_atan(double x)
Definition apr_builtin.cc:259
const char * do_append(char *filename)
Definition apr_builtin.cc:642
array * do_csv_array(const char *filename, double skip)
Definition apr_builtin.cc:1134
double do_log(double x)
Definition apr_builtin.cc:415
double do_cos(double x)
Definition apr_builtin.cc:211
const char * do_str_notif(char *string)
Definition apr_builtin.cc:890
double do_erf(double x)
Definition apr_builtin.cc:395
double do_atanh(double x)
Definition apr_builtin.cc:516
const char * do_switch(double x)
Definition apr_builtin.cc:906
double do_tanh(double x)
Definition apr_builtin.cc:461
double do_strtod(char *string)
Definition apr_builtin.cc:730
const char * do_tostring(double x)
Definition apr_builtin.cc:599
double do_tand(double x)
Definition apr_builtin.cc:219
double do_atan2(double x, double y)
Definition apr_builtin.cc:243
double do_angled(double x1, double y1, double x2, double y2)
Definition apr_builtin.cc:149
const char * do_elseif(double x)
Definition apr_builtin.cc:876
double do_asin(double x)
Definition apr_builtin.cc:275
array * do_transpose(const array *a)
Definition apr_builtin.cc:1050
const char * do_if(double x)
Definition apr_builtin.cc:863
const char * do_getenv(char *env)
Definition apr_builtin.cc:715
array * do_principal(const array *a)
Definition apr_builtin.cc:1062
double do_angle(double x1, double y1, double x2, double y2)
Definition apr_builtin.cc:137
double do_acosd(double x)
Definition apr_builtin.cc:283
const char * do_execute(char *string)
Definition apr_builtin.cc:845
const char * do_include_path(char *new_path)
Definition apr_builtin.cc:811
double do_sin(double x)
Definition apr_builtin.cc:195
const char * do_case(double x)
Definition apr_builtin.cc:912
double do_FtoC(double F)
Definition apr_builtin.cc:101
double do_cosd(double x)
Definition apr_builtin.cc:203
const char * do_file_to_string(char *filename)
Definition apr_builtin.cc:698
Definition apr_symrec.h:17
Definition init_structs.h:15