hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
error.hpp File Reference
#include <stdexcept>
#include <string>
Include dependency graph for error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hpfem::Error
 
class  hpfem::InvalidArgument
 
class  hpfem::NotImplemented
 
class  hpfem::AnisotropicUnsupported
 

Namespaces

namespace  hpfem
 

Macros

#define HPFEM_ASSERT(cond, msg)
 

Functions

void hpfem::assertion_failed (const char *expr, const char *file, int line, const std::string &msg)
 

Detailed Description

Exception hierarchy and assertion macro. Use HPFEM_ASSERT for invariants, throw hpfem::Error (or a subclass) for user-facing failures.

Macro Definition Documentation

◆ HPFEM_ASSERT

#define HPFEM_ASSERT (   cond,
  msg 
)
Value:
do { \
} while (false)