25#ifndef dftefeExceptions_h 
   26#define dftefeExceptions_h 
   87#undef DFTEFE_AssertWithMsg 
   89#if defined(DFTEFE_DISABLE_ASSERT) || \ 
   90  (!defined(DFTEFE_ENABLE_ASSERT) && defined(NDEBUG)) 
   92#  define DFTEFE_Assert(expr) ((void)0) 
   93#  define DFTEFE_AssertWithMsg(expr, msg) ((void)0) 
   95#elif defined(DFTEFE_ENABLE_ASSERT) && defined(NDEBUG) 
  100#  define DFTEFE_Assert(expr) assert(expr) 
  101#  define DFTEFE_AssertWithMsg(expr, msg) assert((expr) && (msg)) 
  105#  define DFTEFE_Assert(expr) assert(expr) 
  106#  define DFTEFE_AssertWithMsg(expr, msg) assert((expr) && (msg)) 
  110#ifdef DFTEFE_WITH_DEVICE_CUDA 
  111#  include <utils/DeviceExceptions.cuh> 
std::runtime_error RuntimeError
Definition: Exceptions.h:123
 
std::domain_error DomainError
Definition: Exceptions.h:120
 
std::underflow_error UnderflowError
Definition: Exceptions.h:125
 
std::out_of_range OutOfRangeError
Definition: Exceptions.h:122
 
void throwException(bool condition, std::string msg)
Definition: Exceptions.cpp:56
 
std::logic_error LogicError
Definition: Exceptions.h:118
 
std::length_error LengthError
Definition: Exceptions.h:121
 
std::overflow_error OverflowError
Definition: Exceptions.h:124
 
std::invalid_argument InvalidArgument
Definition: Exceptions.h:119
 
dealii includes
Definition: AtomFieldDataSpherical.cpp:31