OOFEM 3.0
Loading...
Searching...
No Matches
oofem::ConvergenceException Class Reference

#include <convergenceexception.h>

Inheritance diagram for oofem::ConvergenceException:
Collaboration diagram for oofem::ConvergenceException:

Public Member Functions

 ConvergenceException (const std::string &reason)
const char * what () const noexcept override

Private Attributes

std::string msg

Detailed Description

Convergence exception class

Todo
A material, an element, or another object can throw an exception when convergence of a local algorithm, e.g., return mapping algorithm is lost to indicate step reduction. The engineering model catch the exception and call timestepcontroller to do an appropriate action such as the cut of the step

Definition at line 50 of file convergenceexception.h.

Constructor & Destructor Documentation

◆ ConvergenceException()

oofem::ConvergenceException::ConvergenceException ( const std::string & reason)

Definition at line 40 of file convergenceexception.C.

References msg.

Member Function Documentation

◆ what()

const char * oofem::ConvergenceException::what ( ) const
overridenoexcept

Definition at line 46 of file convergenceexception.C.

References msg.

Referenced by oofem::EngngModel::solveYourself().

Member Data Documentation

◆ msg

std::string oofem::ConvergenceException::msg
private

Definition at line 52 of file convergenceexception.h.

Referenced by ConvergenceException(), and what().


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011