30 for (
int i = min; i <=
max; ++i)
32 ptmpi->
x = x - pt1i->
x;
63 double* pdftmpi = dftmp.
get_v() +
max;
64 for (
int i = max; i >=
min; --i)
68 *pdft1i = -(*pdftmpi);
93 for (
int i = min; i <=
max; ++i)
126 double* pdft1i = dft1.
get_v() +
max;
127 double* pdftmpi = dftmp.
get_v() +
max;
128 for (
int i = max; i >=
min; --i)
132 *pdft1i = -(*pdftmpi);
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).
Vector of double precision numbers.
void DF_dv_minus(void)
Description not yet available.
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.
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.
dvar_vector_position restore_dvar_vector_position()
void RETURN_ARRAYS_INCREMENT()
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
static _THREAD gradient_structure * _instance
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.
void RETURN_ARRAYS_DECREMENT()
static _THREAD grad_stack * GRAD_STACK1
void DF_cdble_dv_diff(void)
Description not yet available.
class for things related to the gradient structures, including dimension of arrays, size of buffers, etc.
double x
< value of the variable