Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:03

0001 #ifndef MAD_ERR_H
0002 #define MAD_ERR_H
0003 
0004 // interface
0005 
0006 // used in C and Fortran
0007 void  seterrorflagfort(int* errcode, const char* from, int *lf, const char* descr, int *ld);
0008 void  seterrorflag    (int  errcode, const char* from,          const char* descr);
0009 int   geterrorflag    (void);
0010 void  clearerrorflag  (void);
0011 void  augmentfwarn    (void);
0012 
0013 void  put_info    (const char* t1, const char* t2);
0014 void  warning     (const char* t1, const char* t2);
0015 void  fatal_error (const char* t1, const char* t2);
0016 
0017 // used in C only
0018 void  warningnew  (const char* t1, const char* fmt, ...);
0019 void  mad_error   (const char* t1, const char* fmt, ...);
0020 
0021 // used only in madx_finish
0022 void  mad_err_getwarn(int* cwarn, int* fwarn);
0023 
0024 #endif // MAD_ERR_H