NAMD
Main Page
Namespaces
Classes
Files
File List
File Members
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
}
FreeEnergyAssert.h
InfoStream.h
endi
std::ostream & endi(std::ostream &s)
Definition:
InfoStream.C:54
iout
#define iout
Definition:
InfoStream.h:51
my_assert
void my_assert(const char *Condition, const char *FileName, int LineNumber)
Definition:
FreeEnergyAssert.C:10
Generated by
1.8.5