version 1.11, 2014/03/14 05:58:16 |
version 1.17, 2016/06/01 00:50:19 |
|
|
/* |
/* |
$OpenXM: OpenXM/src/hgm/mh/src/sfile.h,v 1.10 2014/03/14 02:21:40 takayama Exp $ |
$OpenXM: OpenXM/src/hgm/mh/src/sfile.h,v 1.16 2016/05/30 00:38:18 takayama Exp $ |
*/ |
*/ |
|
#include "oxprint.h" |
struct SFILE { |
struct SFILE { |
int byFile; |
int byFile; |
char *s; |
char *s; |
Line 52 void mh_print_token(struct mh_token tk,char *s); |
|
Line 53 void mh_print_token(struct mh_token tk,char *s); |
|
#define MH_SSIZE 1024 |
#define MH_SSIZE 1024 |
#define MH_RESET_EXIT 0x7fffffff |
#define MH_RESET_EXIT 0x7fffffff |
|
|
|
#define myabs(x) ((x)<0?(-(x)):(x)) |
|
#define mymax(x,y) ((x)>(y)?(x):(y)) |
|
#define mymin(x,y) ((x)<(y)?(x):(y)) |
|
|
/* prototypes in wmain.c */ |
/* prototypes in wmain.c */ |
struct MH_RESULT *mh_main(int argc,char *argv[]); |
struct MH_RESULT *mh_main(int argc,char *argv[]); |
/* prototypes in rk.c*/ |
/* prototypes in rk.c*/ |
Line 59 struct MH_RESULT mh_rkmain(double x0,double y0[],doubl |
|
Line 64 struct MH_RESULT mh_rkmain(double x0,double y0[],doubl |
|
/* prototype in jack-n.c */ |
/* prototype in jack-n.c */ |
struct MH_RESULT *jk_main(int argc,char *argv[]); |
struct MH_RESULT *jk_main(int argc,char *argv[]); |
|
|
|
/* Significant digit control used both in wmain.c and jack-n.c */ |
|
#define M_ASSIGNED_SERIES_ERROR_DEFAULT 1e-5 |
|
#define MH_RELERR_DEFAULT (1e-10) |
|
|
|
/* The next value is heuristic */ |
|
#define SERIES_ADMISSIBLE_RADIUS_TYPE1 50.0 |
|
/* SERIES RADIUS close to 1 is not good. */ |
|
#define SERIES_ADMISSIBLE_RADIUS_TYPE2 0.77 |
|
int reset_SAR_warning(int n); |