50 myheapcheck(
"Entering d3_array matrix(sl,sh,nrl,nrh,ncl,nch)" );
60 cerr <<
"Incompatible array bounds in dvar3_array(int nrl,int nrh,"
61 "const index_type& nrl,const index_type& nrh,"
62 "const index_type& ncl,const index_type& nch)" <<
endl;
67 cerr <<
" Error: dvar3_array unable to allocate memory in "
68 << __FILE__ <<
':' << __LINE__ <<
'\n';
73 cerr <<
" Error: dvar3_array unable to allocate memory in "
74 << __FILE__ <<
':' << __LINE__ <<
'\n';
78 for (
int i = sl; i <= sh; ++i)
80 t[i].
allocate(nrl[i], nrh[i], ncl[i], nch[i]);
100 myheapcheck(
"Entering d3_array matrix(sl,sh,nrl,nrh,ncl,nch)" );
109 cerr <<
"Incompatible array bounds in dvar3_array(int nrl,int nrh,"
110 "const index_type& nrl,const index_type& nrh,"
111 "const index_type& ncl,const index_type& nch)" <<
endl;
116 cerr <<
" Error: dvar3_array unable to allocate memory in "
117 << __FILE__ <<
':' << __LINE__ <<
'\n';
122 cerr <<
" Error: dvar3_array unable to allocate memory in "
123 << __FILE__ <<
':' << __LINE__ <<
'\n';
127 for (
int i = sl; i <= sh; ++i)
147 myheapcheck(
"Entering d3_array matrix(sl,sh,nrl,nrh,ncl,nch)" );
151 cerr <<
" Error: dvar3_array unable to allocate memory in "
152 << __FILE__ <<
':' << __LINE__ <<
'\n';
157 cerr <<
" Error: dvar3_array unable to allocate memory in "
158 << __FILE__ <<
':' << __LINE__ <<
'\n';
162 for (
int i = sl; i <= sh; ++i)
void myheapcheck(char *msg)
Does nothing.
Uses polymorphism to get index information from various data types to be used in constructing and all...
void initialize(void)
Description not yet available.
Description not yet available.
dvar3_array(void)
Default constructor.
prnstream & endl(prnstream &)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void allocate(void)
Does not allocte, but initialize class members.
Class definition of matrix with derivitive information .
unsigned int slicesize() const
three_array_shape * shape
void allocate(int nrl, int nrh, int ncl, int nch)
Allocates AD variable matrix with dimensions nrl to nrh by ncl to nch.