dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::SingleThreadModeError Class Reference

Exception thrown when a code segment that is supposed to be only accessed in single thread mode is accessed in multi thread mode. For example, creation of quadratures or basis function caching cannot work in multi thread mode. More...

#include <dune/fem/misc/mpimanager.hh>

Inheritance diagram for Dune::Fem::SingleThreadModeError:
Inheritance graph

Public Member Functions

void message (const std::string &msg)
 
const char * what () const noexcept override
 
what (T... args)
 

Public Attributes

std::string msg_
 

Detailed Description

Exception thrown when a code segment that is supposed to be only accessed in single thread mode is accessed in multi thread mode. For example, creation of quadratures or basis function caching cannot work in multi thread mode.

Note
This exception is not derived from Dune::Exception because there static variables are used.

Member Function Documentation

◆ message()

void Dune::Fem::SingleThreadModeError::message ( const std::string msg)
inline

◆ what()

const char * Dune::Fem::SingleThreadModeError::what ( ) const
inlineoverridenoexcept

Member Data Documentation

◆ msg_

std::string Dune::Fem::SingleThreadModeError::msg_

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