FreeEnergyAssert.C

Go to the documentation of this file.
00001 
00007 #include "InfoStream.h"
00008 #include "FreeEnergyAssert.h"
00009 
00010 void my_assert(const char* Condition, const char* FileName, int LineNumber) {
00011   iout << std::endl << endi;
00012   iout << "Assertion: " << "(" << Condition << ")," << " failed" << std::endl << endi;
00013   iout << "   in: " << FileName << ", " << "line: " << LineNumber << std::endl << endi;
00014   iout << std::endl << endi;
00015 }

Generated on Mon Nov 20 01:17:12 2017 for NAMD by  doxygen 1.4.7