|
rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
|
A state the closures cannot evaluate: a temperature outside the fits, an undefined Coulomb logarithm, or a non-finite rate. More...
#include <TrialStateError.h>
Public Member Functions | |
| TrialStateError (const std::string &procedure, std::string message) | |
| std::string | getMessage () const override |
| std::string | getClass () const override |
| Public Member Functions inherited from Cantera::CanteraError | |
| CanteraError (const string &procedure, const string &msg, const Args &... args) | |
| virtual | ~CanteraError () |
| const char * | what () const override |
| virtual string | getMethod () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from Cantera::CanteraError | |
| static void | setStackTraceDepth (int depth) |
| Protected Member Functions inherited from Cantera::CanteraError | |
| CanteraError () | |
| CanteraError (const string &procedure) | |
| Protected Attributes inherited from Cantera::CanteraError | |
| string | procedure_ |
| string | formattedMessage_ |
A state the closures cannot evaluate: a temperature outside the fits, an undefined Coulomb logarithm, or a non-finite rate.
A CanteraError, because Cantera's integrators treat only CanteraError as recoverable: FuncEval::evalNoThrow returns 1 for it and -1 for any other exception, so CVODE rejects the trial step and retries a smaller one instead of abandoning the solve. The message is stored whole and returned through getMessage(), using CanteraError's per-procedure constructor, so no fmt formatting is instantiated in this extension (.claude/rules/cantera-extension.md).
Definition at line 30 of file TrialStateError.h.
|
inline |
| [in] | procedure | Function that rejected the state |
| [in] | message | What was wrong with it |
Definition at line 35 of file TrialStateError.h.
|
inlineoverridevirtual |
Reimplemented from Cantera::CanteraError.
Definition at line 41 of file TrialStateError.h.
|
inlineoverridevirtual |
Reimplemented from Cantera::CanteraError.
Definition at line 40 of file TrialStateError.h.