00001 00002 #ifndef __ephi_hpp__ 00003 #define __ephi_hpp__ 00004 00005 #include <math.h> 00006 #include <float.h> 00007 #include <stdarg.h> 00008 #include <limits.h> 00009 00010 class Ephi 00011 { 00012 public: 00013 static void debug (int level, const char *fmt, ...); 00014 static void debug (int level, const char *fmt, va_list ap); 00015 static void setDebugLevel (int level) { debug_level = level; } 00016 00017 enum { DEBUG_CRITICAL = 1, DEBUG_ERROR = 2, DEBUG_WARN, DEBUG_INFO = 10 }; 00018 00019 private: 00020 static int debug_level; 00021 }; 00022 00023 #if LONG_MAX == 2147483647L 00024 #define LONG_IS_32BIT 00025 #endif 00026 00027 #include "math3d.hpp" 00028 #include "matrix.hpp" 00029 #include "consts.hpp" 00030 #include "utils.hpp" 00031 #include "statics.hpp" 00032 #include "dynamics.hpp" 00033 #include "screen.hpp" 00034 #include "scene.hpp" 00035 #include "config.hpp" 00036 #include "polywell_conf.hpp" 00037 #include "threading.hpp" 00038 #include "coildata.hpp" 00039 #include "potential.hpp" 00040 #include "octree.hpp" 00041 00042 #endif 00043