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.

00010                                                                             {
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 Thu Nov 23 01:17:15 2017 for NAMD by  doxygen 1.4.7