22 double * xd=
x.get_u_dot();
23 double * yd=y.get_u_dot();
25 *z.
get_u()=*
x.get_u()+*y.get_u();
28 *zd++ = *xd++ + *yd++;
49 #if defined(CHECK_COUNT)
50 if (
ncount >= ncount_check)
102 cerr <<
"illegal value for df1b2variable::pass = "
125 #if defined(SAFE_ALL)
144 double* px_u_bar = px->
u_bar;
145 double* pz_u_bar = pz->
u_bar;
146 for (
unsigned int i=0;i<nvar;i++)
148 *px_u_bar += *pz_u_bar;
153 double* py_u_bar = py->
u_bar;
154 pz_u_bar = pz->
u_bar;
155 for (
unsigned int i=0;i<nvar;i++)
157 *py_u_bar += *pz_u_bar;
164 for (
unsigned int i=0;i<nvar;i++)
166 *px_u_dot_bar += *pz_u_dot_bar;
173 for (
unsigned int i=0;i<nvar;i++)
175 *py_u_dot_bar += *pz_u_dot_bar;
181 constexpr
size_t sizeofdouble =
sizeof(double);
183 memset(pz->
u_bar, 0, nvar * sizeofdouble);
184 memset(pz->
u_dot_bar, 0, nvar * sizeofdouble);
203 #if defined(SAFE_ALL)
205 int slen=strlen(ids);
216 #if defined(SAFE_ALL)
233 constexpr
size_t sizeofdouble =
sizeof(double);
234 memset(z_bar_tilde, 0, nvar * sizeofdouble);
235 memset(z_dot_bar_tilde, 0, nvar * sizeofdouble);
238 for (
unsigned int i=0;i<nvar;i++)
240 z_bar_tilde[i]+=x_bar_tilde[i];
243 for (
unsigned int i=0;i<nvar;i++)
245 z_dot_bar_tilde[i]+=x_dot_bar_tilde[i];
249 for (
unsigned int i=0;i<nvar;i++)
251 z_bar_tilde[i]+=y_bar_tilde[i];
254 for (
unsigned int i=0;i<nvar;i++)
256 z_dot_bar_tilde[i]+=y_dot_bar_tilde[i];
283 #if defined(SAFE_ALL)
297 for (
unsigned int i=0;i<nvar;i++)
303 constexpr
size_t sizeofdouble =
sizeof(double);
void read_pass2_1_sum(void)
Description not yet available.
void check_buffer_size(const size_t)
Description not yet available.
df1b2_gradlist * f1b2gradlist
void memcpy(test_smartlist &dest, void *source, const size_t nsize)
memcpy for test_smartlist
#define ADUNCONST(type, obj)
Creates a shallow copy of obj that is not CONST.
int adptr_diff(void *x, void *y)
d3_array operator+(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k).
void restoreposition(void)
Description not yet available.
Description not yet available.
prnstream & endl(prnstream &)
static int no_derivatives
void ad_read_pass2_sum(void)
Description not yet available.
Description not yet available.
void read_pass2_2_sum(void)
Description not yet available.
void read_pass2_3_sum(void)
Description not yet available.
Description not yet available.
void checkidentiferstring(const char *ids, test_smartlist &list)
Description not yet available.
int write_pass1_sum(double x, const df1b2variable *py, df1b2variable *pz)
Description not yet available.