00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00029
00030
00031
00032
00033
00034 #ifndef ASC_BINTOKEN_H
00035 #define ASC_BINTOKEN_H
00036
00037 #include <utilities/ascConfig.h>
00038 #include "instance_enum.h"
00039 #include "compiler.h"
00040
00045 enum bintoken_kind {
00046 BT_error,
00047 BT_C,
00048 BT_F77
00049 };
00050
00064 ASC_DLLSPEC int BinTokenSetOptions(
00065 CONST char *srcname, CONST char *objname, CONST char *libname
00066 ,CONST char *buildcommand, CONST char *unlinkcommand
00067 ,unsigned long maxreln
00068 ,int verbose, int housekeep
00069 );
00070
00076 extern void BinTokenClearTables(void);
00077
00085 extern void BinTokenDeleteReference(int btable);
00086
00093 extern void BinTokensCreate(struct Instance *root, enum bintoken_kind method);
00094
00103 extern int BinTokenCalcResidual(int btable, int bindex, double *vars, double *residual);
00104
00114 extern int BinTokenCalcGradient(int btable, int bindex, double *vars,
00115 double *residual, double *gradient);
00116
00117
00118
00119 #endif
00120