20 cout <<
" Deallocating dvar_vector with ptr_address\n "
40 cerr <<
"Warning -- Unable to deallocate an unallocated dvar_vector.\n";
50 cout <<
" Making copy for dvar_vector with ptr_address\n "
75 cerr <<
"Warning -- Unable to shallow copy an unallocated dvar_vector.\n";
90 cerr <<
"lower index greater than upper index in dvar_vector::"
91 " dvar-vector(const predvar_vector&) " <<
endl;
96 cerr <<
"lower index out of bounds in dvar_vector::"
97 " operator(int lb,int ub) " <<
endl;
103 cerr <<
" upper index out of bounds in dvar_vector::"
104 " operator(int lb,int ub) " <<
endl;
115 cout <<
" Making copy for dvar_vector with ptr_address\n "
Description not yet available.
dvar_vector()
Default constructor.
void * trueptr
Address of first element in the vector.
Description not yet available.
void allocate(void)
Does not allocate, but initializes dvar_vector to empty.
Holds the data for the prevariable class.
void arr_free(double_and_int *varr)
Description not yet available.
prnstream & endl(prnstream &)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
static _THREAD gradient_structure * _instance
unsigned int ncopies
Copy counter to enable shallow copies.
~dvar_vector()
Destructor.
void shallow_copy(const dvar_vector &)
Shallow copy other data structure pointers.
void deallocate()
Deallocate dvar_vector memory.
class for things related to the gradient structures, including dimension of arrays, size of buffers, etc.