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

/home/mrm/Simex/src/se_tools.h

Go to the documentation of this file.
00001 #ifndef Pv_Misc_Included
00002 #define Pv_Misc_Included
00003 
00004 #include <iostream>
00005 #include <fstream>
00006 #include <string>
00007 #include <cstdio>
00008 #include <stdexcept>
00009 
00010 /************************************************************
00011  *debugging tools
00012  ************************************************************/
00013 
00014 #define sneak std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":\n";
00015 
00016 #define tsneak try{
00017 
00018 #define csneak } catch(std::out_of_range){ std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":"; std::cout<<"OUT OF RANGE\n"; }
00019 
00020 #define pv_stick std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":stick";getchar();
00021 
00022 /************************************************************
00023  *constants
00024  ************************************************************/
00025 
00026 /*gold number*/
00027 const double GN=1.618033989;
00028 
00029 #endif
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 

Generated on Sat Jul 19 04:01:30 2003 for SIMEX by doxygen1.2.18