OPALX (Object Oriented Parallel Accelerator Library for Exascal)
master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
GSLErrorHandling.h
Go to the documentation of this file.
1
//
2
// Copyright (c) 2008 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
3
//
4
// All rights reserved
5
//
6
// This file is part of OPAL.
7
//
8
// OPAL is free software: you can redistribute it and/or modify
9
// it under the terms of the GNU General Public License as published by
10
// the Free Software Foundation, either version 3 of the License, or
11
// (at your option) any later version.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
15
//
16
#ifndef GSLERRORHANDLING_H
17
#define GSLERRORHANDLING_H
18
19
#include "
Utilities/OpalException.h
"
20
21
inline
void
handleGSLErrors
(
const
char
* reason,
const
char
* file,
int
/*line*/
,
int
/*gsl_errno*/
) {
22
throw
OpalException
(file, reason);
23
}
24
25
#endif
handleGSLErrors
void handleGSLErrors(const char *reason, const char *file, int, int)
Definition
GSLErrorHandling.h:21
OpalException.h
OpalException
Definition
OpalException.h:30
src
GSLErrorHandling.h
Generated on Mon Jun 1 2026 10:40:52 for OPALX (Object Oriented Parallel Accelerator Library for Exascal) by
1.9.8