Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
gmxassert.h File Reference
#include "current_function.h"
+ Include dependency graph for gmxassert.h:
+ This graph shows which files directly or indirectly include this file:

Description

Defines assert macros customized for Gromacs.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Macros

#define GMX_RELEASE_ASSERT(condition, msg)
 Macro for asserts that should also be present in the release version. More...
 
#define GMX_ASSERT(condition, msg)   GMX_RELEASE_ASSERT(condition, msg)
 Macro for debug asserts. More...