\doxysection{gko::\+Block\+Size\+Error\texorpdfstring{$<$}{<} Index\+Type \texorpdfstring{$>$}{>} Class Template Reference}
\hypertarget{classgko_1_1BlockSizeError}{}\label{classgko_1_1BlockSizeError}\index{gko::BlockSizeError$<$ IndexType $>$@{gko::BlockSizeError$<$ IndexType $>$}}


\doxylink{classgko_1_1Error}{Error} that denotes issues between block sizes and matrix dimensions.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+exception.\+hpp$>$}



Inheritance diagram for gko::\+Block\+Size\+Error\texorpdfstring{$<$}{<} Index\+Type \texorpdfstring{$>$}{>}:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=182pt]{classgko_1_1BlockSizeError__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for gko::\+Block\+Size\+Error\texorpdfstring{$<$}{<} Index\+Type \texorpdfstring{$>$}{>}:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=182pt]{classgko_1_1BlockSizeError__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\doxymbox{\hyperlink{classgko_1_1BlockSizeError_a861999cfafdd726814ef4bcd06734bd7}{Block\+Size\+Error}} (const std::\+string \&file, const int line, const int block\+\_\+size, const Index\+Type size)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1Error}{gko::\+\+Error}}}
\begin{DoxyCompactItemize}
\item 
\doxymbox{\hyperlink{classgko_1_1Error_a750493241a840d96cafbf9c84cfd4f52}{Error}} (const std::\+string \&file, int line, const std::\+string \&\doxymbox{\hyperlink{classgko_1_1Error_aec78ba67d5d7bf123d20afbe086977d0}{what}})
\begin{DoxyCompactList}\small\item\em Initializes an error. \end{DoxyCompactList}\item 
virtual const char \texorpdfstring{$\ast$}{*} {\bfseries what} () const noexcept override
\begin{DoxyCompactList}\small\item\em Returns a human-\/readable string with a more detailed description of the error. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Index\+Type$>$\newline
class gko::\+\+Block\+Size\+Error$<$ Index\+Type $>$}
\doxylink{classgko_1_1Error}{Error} that denotes issues between block sizes and matrix dimensions. 


\begin{DoxyTemplParams}{Template Parameters}
{\em Index\+Type} & Type of index used by the linear algebra object that is incompatible with the required block size. \\
\hline
\end{DoxyTemplParams}


\label{doc-constructors}
\Hypertarget{classgko_1_1BlockSizeError_doc-constructors}
\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classgko_1_1BlockSizeError_a861999cfafdd726814ef4bcd06734bd7}\index{gko::BlockSizeError$<$ IndexType $>$@{gko::BlockSizeError$<$ IndexType $>$}!BlockSizeError@{BlockSizeError}}
\index{BlockSizeError@{BlockSizeError}!gko::BlockSizeError$<$ IndexType $>$@{gko::BlockSizeError$<$ IndexType $>$}}
\doxysubsubsection{\texorpdfstring{BlockSizeError()}{BlockSizeError()}}
{\footnotesize\ttfamily \label{classgko_1_1BlockSizeError_a861999cfafdd726814ef4bcd06734bd7} 
template$<$typename Index\+Type$>$ \\
\doxymbox{\hyperlink{classgko_1_1BlockSizeError}{gko::\+\+Block\+Size\+Error}}$<$ Index\+Type $>$::\+\+Block\+Size\+Error (\begin{DoxyParamCaption}\item[{const std::\+string \&}]{file}{, }\item[{const int}]{line}{, }\item[{const int}]{block\+\_\+size}{, }\item[{const Index\+Type}]{size}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}


\begin{DoxyParams}{Parameters}
{\em file} & The name of the offending source file \\
\hline
{\em line} & The source code line number where the error occurred \\
\hline
{\em block\+\_\+size} & Size of small dense blocks in a matrix \\
\hline
{\em size} & The size that is not exactly divided by the block size \\
\hline
\end{DoxyParams}


References \doxymbox{\hyperlink{classgko_1_1Error_a750493241a840d96cafbf9c84cfd4f52}{gko::\+\+Error::\+\+Error()}}.



The documentation for this class was generated from the following file:\+\begin{DoxyCompactItemize}
\item 
ginkgo/\+core/\+base/\+exception.\+hpp\end{DoxyCompactItemize}
