NEST main@f146f75
Loading...
Searching...
No Matches
nest::NumericalInstability Class Reference

Exception to be thrown if numerical instabilities are detected. More...

#include <exceptions.h>

Inheritance diagram for nest::NumericalInstability:
[legend]
Collaboration diagram for nest::NumericalInstability:
[legend]

Public Member Functions

 NumericalInstability (const std::string &model)
const char * what () const noexcept override
std::string exception_name () const override
Public Member Functions inherited from nest::KernelException
 KernelException ()
 KernelException (const std::string &msg)

Private Attributes

std::string msg_

Detailed Description

Exception to be thrown if numerical instabilities are detected.

Constructor & Destructor Documentation

◆ NumericalInstability()

nest::NumericalInstability::NumericalInstability ( const std::string & model)
inline
Note
model should be passed from get_name() to ensure that names of copied models are reported correctly.
Parameters
modelname of model causing problem

References nest::KernelException::KernelException(), and msg_.

Here is the call graph for this function:

Member Function Documentation

◆ exception_name()

std::string nest::NumericalInstability::exception_name ( ) const
inlineoverridevirtual

Reimplemented from nest::KernelException.

◆ what()

const char * nest::NumericalInstability::what ( ) const
inlineoverridenoexcept

References msg_.

Member Data Documentation

◆ msg_

std::string nest::NumericalInstability::msg_
private

Referenced by NumericalInstability(), and what().


The documentation for this class was generated from the following file: