|
NeoN
A framework for CFD software
|
Error for handling two containers of incompatible lengths. More...
#include <exceptions.hpp>
Public Member Functions | |
| DimensionMismatch (const std::string &file, int line, const std::string &func, localIdx lengthA, localIdx lengthB, const std::string &clarification) | |
Public Member Functions inherited from NeoN::Error | |
| Error (const std::string &file, int line, const std::string &what) | |
| virtual const char * | what () const noexcept override |
Error for handling two containers of incompatible lengths.
DimensionMismatch is thrown if an operation is being applied to containers of incompatible size.
Definition at line 62 of file exceptions.hpp.
|
inline |
Initializes a dimension mismatch error.
| file | The name of the offending source file |
| line | The source code line number where the error occurred |
| func | The function name where the error occurred |
| length_a | The size of the first container |
| length_b | The size of the second container |
| clarification | An additional message describing the error further |
Definition at line 76 of file exceptions.hpp.