Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

npsol.h File Reference

Wrapper for npsol.a FORTRAN routines. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  Conf

Defines

#define C_LINKAGE   "C"
#define CRAY_FORTRAN   1
#define F2C_FORTRAN   2
#define REAL   double
#define INTEGER   int

Typedefs

typedef void npsolfunreturn
typedef npsolfunreturn (* confuntype )(INTEGER*, INTEGER*, INTEGER*, INTEGER*, INTEGER*, REAL*, REAL*, REAL*, INTEGER*)
typedef npsolfunreturn (* objfuntype )(INTEGER*, INTEGER*, REAL*, REAL*, REAL*, INTEGER*)

Functions

C_LINKAGE npsolfunreturn NPSOL_FUN ( INTEGER *n, INTEGER *nclin, INTEGER *ncnln, INTEGER *lda, INTEGER *ldcju, INTEGER *ldr, REAL *a, REAL *bl, REAL *bu, confuntype confun, objfuntype objfun, INTEGER *inform__, INTEGER *iter, INTEGER *istate, REAL *c__, REAL *cjacu, REAL *clamda, REAL *objf, REAL *gradu, REAL *r__, REAL *x, INTEGER *iw, INTEGER *leniw, REAL *w, INTEGER *lenw )


Detailed Description

Wrapper for npsol.a FORTRAN routines.

Unfortunately, the interface between C or C++ and Fortran libraries differs depending upon the C or C++ and Fortran implementations. This file currently supports Cray Fortran, GNU g77 and GNU f2c.

If NPSOL is not available (e.g. since g77/f2c is not available for non-GNU C systems) the program should still compile but warnings will be printed when those functions are used. To force NPSOL not to be used even if the program thinks it should be available, don't define USE_NPSOL.

Header:
/u/nn/cvsroot/lissom/src/npsol.h,v 1.6 2000/04/21 20:47:58 jbednar Exp

Definition in file npsol.h.


Define Documentation

#define CRAY_FORTRAN   1
 

Definition at line 31 of file npsol.h.

#define C_LINKAGE   "C"
 

Definition at line 24 of file npsol.h.

#define F2C_FORTRAN   2
 

Definition at line 32 of file npsol.h.

#define INTEGER   int
 

Definition at line 49 of file npsol.h.

#define REAL   double
 

Definition at line 48 of file npsol.h.

#define npsolfunreturnval
 

Definition at line 51 of file npsol.h.


Typedef Documentation

typedef npsolfunreturn (* confuntype)(INTEGER*, INTEGER*, INTEGER*, INTEGER*, INTEGER*, REAL*, REAL*, REAL*, INTEGER*)
 

Definition at line 92 of file npsol.h.

typedef void npsolfunreturn
 

Definition at line 50 of file npsol.h.

typedef npsolfunreturn (* objfuntype)(INTEGER*, INTEGER*, REAL*, REAL*, REAL*, INTEGER*)
 

Definition at line 96 of file npsol.h.


Generated at Mon Aug 21 00:31:08 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000