/usr/include/trilinos/ml_epetra.h is in libtrilinos-ml-dev 12.10.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
#ifndef ML_EPETRA_H
#define ML_EPETRA_H
// prints out an error message if variable is not zero,
// and return this value. This macro always returns.
#define ML_RETURN(ml_err) \
{ if (ml_err != 0) { \
std::cerr << "ML::ERROR:: " << ml_err << ", " \
<< __FILE__ << ", line " << __LINE__ << std::endl; } \
return(ml_err); }
// prints out an error message if variable is not zero,
// and return this value.
#define ML_CHK_ERR(ml_err) \
{ if (ml_err != 0) { \
std::cerr << "ML::ERROR:: " << ml_err << ", " \
<< __FILE__ << ", line " << __LINE__ << std::endl; \
return(ml_err); } }
// prints out an error message if variable is not zero
// and returns.
#define ML_CHK_ERRV(ml_err) \
{ if (ml_err != 0) { \
std::cerr << "ML::ERROR:: " << ml_err << ", " \
<< __FILE__ << ", line " << __LINE__ << std::endl; \
return; } }
#define ML_EXIT(ml_err) \
{ if (ml_err != 0) { \
std::cerr << "ML::FATAL ERROR:: " << ml_err << ", " \
<< __FILE__ << ", line " << __LINE__ << std::endl; } \
exit(ml_err); }
#endif
|