Dear CS10-Gitlab-users, on Thursday, Feb 3 there will be maintenance. That will lead to a downtime of the CS10-Gitlab-service including Subversion and Mattermost chat from 09:30. This might take the whole day since we don't know how long it is going to take. We are sorry for the inconvenience! Best regards, CS10-Admin-Team

Commit bde9b911 authored by Christian Godenschwager's avatar Christian Godenschwager
Browse files

Added error message if waLBerla's and METIS' real_t data types don't match.

parent 268325b2
......@@ -49,6 +49,11 @@
// external software includes
#include "metis.h"
#include <boost/type_traits/is_same.hpp>
static_assert( boost::is_same< ::real_t, ::walberla::real_t >::value , "The width of waLBerla's real_t data type does not match the width of METIS' real_t data type. " \
"Please adapt either waLBerla's CMake option WALBERLA_DOUBLE_ACCURACY or change REALTYPEWIDTH in metis.h." );
#ifdef _MSC_VER
......@@ -56,4 +61,4 @@
#pragma pop_macro( "INT64_MIN" )
#pragma pop_macro( "INT32_MAX" )
#pragma pop_macro( "INT32_MIN" )
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment