FreeEnergyAssert.h

Go to the documentation of this file.
00001 
00007 #if !defined(ASSERT_HPP)
00008   #define ASSERT_HPP
00009 
00010   #if defined(_DEBUG)
00011     void my_assert(const char* Condition, const char* FileName, int LineNumber);
00012     #define ASSERT(E) if (!(E))  my_assert(#E, __FILE__, __LINE__);
00013     #define VERIFY(E) if (!(E))  my_assert(#E, __FILE__, __LINE__);
00014   #else
00015     #define ASSERT(E)
00016     #define VERIFY(E) E;
00017   #endif
00018 
00019 #endif

Generated on Sat Nov 18 01:17:13 2017 for NAMD by  doxygen 1.4.7