StarNEig Library  version v0.1-beta.1
A task-based library for solving nonsymmetric eigenvalue problems
error.h
Go to the documentation of this file.
1 
39 #ifndef STARNEIG_ERROR_H
40 #define STARNEIG_ERROR_H
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 #include <starneig/configuration.h>
47 
55 
59 typedef int starneig_error_t;
60 
64 #define STARNEIG_SUCCESS 0
65 
69 #define STARNEIG_GENERIC_ERROR 1
70 
75 #define STARNEIG_NOT_INITIALIZED 2
76 
80 #define STARNEIG_INVALID_CONFIGURATION 3
81 
85 #define STARNEIG_INVALID_ARGUMENTS 4
86 
91 #define STARNEIG_INVALID_DISTR_MATRIX 5
92 
98 #define STARNEIG_DID_NOT_CONVERGE 6
99 
104 #define STARNEIG_PARTIAL_REORDERING 7
105 
110 #define STARNEIG_CLOSE_EIGENVALUES 8
111 
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif // STARNEIG_ERROR_H
This file contains StarNEig library configuration.
int starneig_error_t
Interface function return value data type.
Definition: error.h:59