Ignore:
Timestamp:
Nov 17, 2009 1:26:08 PM (10 years ago)
Author:
awalther
Message:

const declaration for preparation of ipopt interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/uni5_for.c

    r51 r56  
    461461int  zos_forward_nk(
    462462#endif
    463     short  tnum,        /* tape id */
    464     int    depcheck,    /* consistency chk on # of deps */
    465     int    indcheck,    /* consistency chk on # of indeps */
     463    short  tnum,              /* tape id */
     464    int    depcheck,          /* consistency chk on # of deps */
     465    int    indcheck,          /* consistency chk on # of indeps */
    466466#if defined(_KEEP_)
    467     int    keep,        /* flag for reverse sweep */
    468 #endif
    469     double *basepoint,  /* independant variable values */
    470     double *valuepoint) /* dependent variable values */
     467    int    keep,              /* flag for reverse sweep */
     468#endif
     469    const double *basepoint,  /* independant variable values */
     470    double       *valuepoint) /* dependent variable values */
    471471
    472472#else
     
    499499/****************************************************************************/
    500500int int_forward_tight(
    501     short             tnum,     /* tape id                              */
    502     int               depcheck, /* consistency chk on # of dependents   */
    503     int               indcheck, /* consistency chk on # of independents */
    504     int               p,        /* # of taylor series, bit pattern      */
    505     double            *basepoint,  /* independent variable values   (in)*/
     501    short               tnum,     /* tape id                              */
     502    int                 depcheck, /* consistency chk on # of dependents   */
     503    int                 indcheck, /* consistency chk on # of independents */
     504    int                 p,        /* # of taylor series, bit pattern      */
     505    const double       *basepoint,  /* independent variable values   (in)*/
    506506    unsigned long int **argument,  /* Taylor coeff.                 (in)*/
    507     double            *valuepoint, /* dependent variable values    (out)*/
     507    double             *valuepoint, /* dependent variable values    (out)*/
    508508    unsigned long int **taylors)   /* matrix of coefficient vectors(out)*/
    509509
     
    558558    int               depcheck,    /* consistency chk on # of dependents   */
    559559    int               indcheck,    /* consistency chk on # of independents */
    560     double            *basepoint,  /* independent variable values   (in)   */
    561     unsigned int     **crs)        /* returned row index storage (out)     */
     560    const double     *basepoint,  /* independent variable values   (in)   */
     561    unsigned int    **crs)        /* returned row index storage (out)     */
    562562
    563563/* indopro_forward_tight( tag, m, n, x[n], *crs[m]),
     
    639639/****************************************************************************/
    640640int  fov_forward(
    641     short  tnum,        /* tape id */
    642     int    depcheck,    /* consistency chk on # of deps */
    643     int    indcheck,    /* consistency chk on # of indeps */
    644     int    p,           /* # of taylor series */
    645     double *basepoint,  /* independent variable values */
    646     double **argument,  /* Taylor coefficients (input) */
    647     double *valuepoint, /* Taylor coefficients (output) */
    648     double **taylors)   /* matrix of coifficient vectors */
     641    short         tnum,        /* tape id */
     642    int           depcheck,    /* consistency chk on # of deps */
     643    int           indcheck,    /* consistency chk on # of indeps */
     644    int           p,           /* # of taylor series */
     645    const double *basepoint,  /* independent variable values */
     646    double      **argument,  /* Taylor coefficients (input) */
     647    double       *valuepoint, /* Taylor coefficients (output) */
     648    double      **taylors)   /* matrix of coifficient vectors */
    649649/* the order of the indices in argument and taylors is [var][taylor] */
    650650#endif
Note: See TracChangeset for help on using the changeset viewer.