32 cerr <<
"Incompatible bounds in "
33 "prevariable operator + (const dvar_vector& v1, const dvar_vector& v2)"
52 for (
int i = mmin; i <= mmax; ++i)
55 pvtmp->
x = pv1->
x + pv2->
x;
100 constexpr
size_t sizeofdouble =
sizeof(double);
101 size_t size = (size_t)(mmax - mmin + 1) * sizeofdouble;
108 dfv1(i)=dftmp.
elem(i);
109 dfv2(i)=dftmp.
elem(i);
Description not yet available.
void memcpy(test_smartlist &dest, void *source, const size_t nsize)
memcpy for test_smartlist
double & elem_value(int i)
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void dvdv_add(void)
Description not yet available.
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 save_dvector_derivatives(const dvar_vector_position &pos) const
Puts the derivative values in a dvector into a dvar_vector's guts.
Description not yet available.
Null class to allow specialized function overloads.
void verify_identifier_string(const char *)
Verifies gradient stack string.
Holds the data for the prevariable class.
void set_gradient_stack(void(*func)(void), double *dep_addr, double *ind_addr1=NULL, double mult1=0, double *ind_addr2=NULL, double mult2=0)
Description not yet available.
prnstream & endl(prnstream &)
dvar_vector_position restore_dvar_vector_position()
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int save_identifier_string(const char *)
Writes a gradient stack verification string.
void save_dvar_vector_position(const dvar_vector &v)
static _THREAD DF_FILE * fp
Stores the adjoint gradient data that will be processed by gradcalc.
dvector restore_dvar_vector_derivatives(const dvar_vector_position &tmp)
Description not yet available.
static _THREAD grad_stack * GRAD_STACK1
double x
< value of the variable