Skip to content
Snippets Groups Projects
Commit 88f04f29 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber Committed by Tomáš Oberhuber
Browse files

Adding MPIDimsCreateError exception.

parent dc956f2d
No related branches found
No related tags found
1 merge request!26Lbm
/***************************************************************************
MPIDimsCreateError.h - description
-------------------
begin : Jan 30, 2019
copyright : (C) 2019 by Tomas Oberhuber et al.
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/* See Copyright Notice in tnl/Copyright */
#pragma once
#include <stdexcept>
namespace TNL {
namespace Exceptions {
struct MPIDimsCreateError
: public std::runtime_error
{
MPIDimsCreateError()
: std::runtime_error( "The program tries to call MPI_Dims_create with wrong dimensions."
"Non of the dimensions is zero and product of all dimensions does not fit with number of MPI processes." )
{}
};
} // namespace Exceptions
} // namespace TNL
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment