Files
GridFire/src/include/gridfire/exceptions/error_solver.h

30 lines
743 B
C
Raw Normal View History

#pragma once
#include "gridfire/exceptions/error_gridfire.h"
namespace gridfire::exceptions {
class SolverError : GridFireError {
using GridFireError::GridFireError;
};
class SingularJacobianError final : public SolverError {
using SolverError::SolverError;
};
class IllConditionedJacobianError final : public SolverError {
using SolverError::SolverError;
};
class SUNDIALSError : public SolverError {
using SolverError::SolverError;
};
class CVODESolverFailureError final : public SUNDIALSError {
using SUNDIALSError::SUNDIALSError;
};
class KINSolSolverFailureError final : public SUNDIALSError {
using SUNDIALSError::SUNDIALSError;
};
}