28 throw std::runtime_error(
29 "Unrecognized dimension. Please select \"1D\", \"2D\" or \"3D\" as dimension.");
40 if (
type ==
"dense" ||
type ==
"Dense")
48 throw std::runtime_error(
"Unknown matrix type: " +
type
49 +
"Please select \"Dense\" or \"Csr\".");
constexpr MatrixType setMatrixType(const std::string &type)
Definition CoreEnums.h:38
MatrixType
Definition CoreEnums.h:33
Dimension
Definition CoreEnums.h:8
constexpr Dimension setDimension(const std::string &dimension)
Definition CoreEnums.h:14
Error class to throw when a module chain has circular or missing dependencies. Inherits from std::exc...
Definition ChainManager.h:28