next up previous contents index
Next: Interface update_exponential_average Up: Module linearalgebra_module Previous: Interface insertion_sort   Contents   Index

Interface check_size


\begin{boxedminipage}{\textwidth}
\begin{verbatim}call check_size(arrayname,...
... call check_size(arrayname,logarray,n,caller)\end{verbatim}
\end{boxedminipage}

Overloaded interface to assert that the size of an array is correct. If the test fails system_abort is called with an appropriate error message constructed from the arrayname and caller arguments.

arrayname -- character(*), intent(in)

intarray -- integer, intent(in), dimension(:) or dimension(:,:)

n -- integer, intent(in), scalar or dimension(:)

caller -- character(*), intent(in)

realarray -- intent(in), dimension(:) or dimension(:,:), real(dp) or complex(dp)

logarray -- logical, intent(in), dimension(:) or dimension(:,:)

update_exponential_average interface

gabor 2009-06-30