NAMD
FreeEnergyAssert.C
Go to the documentation of this file.
1 
7 #include "InfoStream.h"
8 #include "FreeEnergyAssert.h"
9 
10 void my_assert(const char* Condition, const char* FileName, int LineNumber) {
11  iout << std::endl << endi;
12  iout << "Assertion: " << "(" << Condition << ")," << " failed" << std::endl << endi;
13  iout << " in: " << FileName << ", " << "line: " << LineNumber << std::endl << endi;
14  iout << std::endl << endi;
15 }
std::ostream & endi(std::ostream &s)
Definition: InfoStream.C:54
#define iout
Definition: InfoStream.h:51
void my_assert(const char *Condition, const char *FileName, int LineNumber)