NAMD
Main Page
Namespaces
Classes
Files
File List
File Members
FreeEnergyAssert.h
Go to the documentation of this file.
1
7
#if !defined(ASSERT_HPP)
8
#define ASSERT_HPP
9
10
#if defined(_DEBUG)
11
void
my_assert
(
const
char
* Condition,
const
char
* FileName,
int
LineNumber);
12
#define ASSERT(E) if (!(E)) my_assert(#E, __FILE__, __LINE__);
13
#define VERIFY(E) if (!(E)) my_assert(#E, __FILE__, __LINE__);
14
#else
15
#define ASSERT(E)
16
#define VERIFY(E) E;
17
#endif
18
19
#endif
my_assert
void my_assert(const char *Condition, const char *FileName, int LineNumber)
Definition:
FreeEnergyAssert.C:10
Generated by
1.8.5