35 #include <Indexlist.hpp> 153 if ( ( n >= 0 ) && (
number[n] >= 0 ) )
154 numberarray[i] =
number[n];
175 for ( i=0; i<
length; ++i )
177 if (
number[n] == givennumber )
200 for ( i=0; i<
length; ++i )
202 if (
number[n] == givennumber )
256 for ( i=0; i<
length; ++i )
258 number[i] = numberArray[i];
329 if ( ( index1 < 0 ) || ( index2 < 0 ) )
returnValue addNumber(int addnumber)
int previous[INDEXLISTFACTOR *(NVMAX+NCMAX)]
returnValue getNumberArray(int *const numberarray) const
Allows to pass back messages to the calling function.
int getPhysicalIndex(int givennumber) const
#define THROWERROR(retval)
const int INDEXLISTFACTOR
returnValue swapNumbers(int number1, int number2)
Indexlist & operator=(const Indexlist &rhs)
returnValue removeNumber(int removenumber)
void rhs(const real_t *x, real_t *f)
int number[INDEXLISTFACTOR *(NVMAX+NCMAX)]
Stores and manages index lists.
#define THROWWARNING(retval)
int getIndex(int givennumber) const
int next[INDEXLISTFACTOR *(NVMAX+NCMAX)]