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

/home/mrm/Simex/simulations/lr_bike/pv_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 
00009 /************************************************************
00010  *debugging tools
00011  ************************************************************/
00012 
00013 #define sneak std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":\n";
00014 
00015 #define tsneak try{
00016 
00017 #define csneak } catch(std::out_of_range){ std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":"; std::cout<<"OUT OF RANGE\n"; }
00018 
00019 #define pv_stick std::cout<<__FILE__<<":"<<__FUNCTION__<<":"<<__LINE__<<":stick";getchar();
00020 
00021 /************************************************************
00022  *constants
00023  ************************************************************/
00024 
00025 /*gold number*/
00026 const double GN=1.618033989;
00027 
00028 #endif
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 

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