26 double * xd=
x.get_u_dot();
54 #if defined(CHECK_COUNT)
55 if (
ncount >= ncount_check)
63 +(nvar+2)*
sizeof(double);
67 size_t slen=strlen(ids);
81 size_t sizeofdouble =
sizeof(double);
83 memcpy(
list,px->get_u_dot(),nvar*sizeofdouble);
88 cerr <<
"error in byte calculation in "
89 " write_pass1_prod" <<
endl;
120 cerr <<
"illegal value for df1b2variable::pass = "
147 #if defined(SAFE_ALL)
150 size_t sizeofdouble =
sizeof(double);
154 double yu=*(
double *) bptr;
158 memcpy(&xu,bptr,sizeofdouble);
171 size_t total_bytes=2*nvar*
sizeof(double);
173 #if defined(SAFE_ALL)
175 size_t slen=strlen(ids);
180 void * tmpptr=list2.
bptr;
181 #if defined(SAFE_ALL)
192 double* px_u_bari = px->
u_bar;
193 double* pz_u_bari = pz->
u_bar;
194 for (
size_t i=0;i<nvar;i++)
196 *px_u_bari += yu * *pz_u_bari;
203 for (
size_t i=0;i<nvar;i++)
205 *px_u_dot_bari += yu * *pz_u_dot_bari;
212 memset(pz->
u_bar, 0, nvar * sizeofdouble);
213 memset(pz->
u_dot_bar, 0, nvar * sizeofdouble);
231 +(nvar+2)*
sizeof(double);
233 #if defined(SAFE_ALL)
235 size_t slen=strlen(ids);
253 int num_bytes2=*nlist2.
bptr;
267 #if defined(SAFE_ALL)
273 double yu=*(
double *) list.
bptr;
274 list.
bptr+=
sizeof(
double);
278 list.
bptr+=
sizeof(double);
295 for (
size_t i=0;i<nvar;i++)
298 z_dot_bar_tilde[i]=0;
302 for (
size_t i=0;i<nvar;i++)
304 z_bar_tilde[i]+=yu*x_bar_tilde[i];
307 for (
size_t i=0;i<nvar;i++)
309 z_dot_bar_tilde[i]+=yu*x_dot_bar_tilde[i];
338 #if defined(SAFE_ALL)
343 double yu=*(
double*) list.
bptr;
344 list.
bptr+=
sizeof(
double);
348 list.
bptr+=
sizeof(double);
353 for (
size_t i=0;i<nvar;i++)
358 for (
size_t i=0;i<nvar;i++)
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)
void restoreposition(void)
Description not yet available.
Description not yet available.
dmatrix operator*(const d3_array &t, const dvector &v)
Description not yet available.
int write_pass1_prod(double x, const df1b2variable *py, df1b2variable *pz)
Description not yet available.
Description not yet available.
prnstream & endl(prnstream &)
static int no_derivatives
Description not yet available.
void read_pass2_2_prodc2(void)
Description not yet available.
void read_pass2_3_prodc2(void)
Description not yet available.
Description not yet available.
void checkidentiferstring(const char *ids, test_smartlist &list)
Description not yet available.
void ad_read_pass2_prodc2(void)
Description not yet available.
void read_pass2_1_prodc2(void)
Description not yet available.