16#ifndef ZOLTAN2_UTIL_HPP
17#define ZOLTAN2_UTIL_HPP
20#include <Teuchos_DefaultComm.hpp>
27template <
typename scalar_t>
34 const char *file = __FILE__,
int line = __LINE__) {
36 std::ostringstream eMsg;
37 eMsg <<
"Error: " << file <<
", " << line <<
": " << message
39 throw std::runtime_error(eMsg.str());
Gathering definitions used in software development.
Created by mbenlioglu on Aug 31, 2020.
bool outsideRegion(scalar_t val, scalar_t mark, double epsilon)
long getProcessKilobytes()
static void AssertCondition(bool condition, const std::string &message, const char *file=__FILE__, int line=__LINE__)