NAMD
Functions
FreeEnergyAssert.C File Reference
#include "InfoStream.h"
#include "FreeEnergyAssert.h"

Go to the source code of this file.

Functions

void my_assert (const char *Condition, const char *FileName, int LineNumber)
 

Function Documentation

void my_assert ( const char *  Condition,
const char *  FileName,
int  LineNumber 
)

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 10 of file FreeEnergyAssert.C.

References endi(), and iout.

10  {
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