NPSpec  0.2.0
Solve for the spectral properties of nanoparticles easily
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
constants.h
Go to the documentation of this file.
1 
4 #ifndef CONSTANTS_H
5 #define CONSTANTS_H
6 
7 #include "npspec/version.h"
8 
9 /* Protect as C if C++ so that library can be called from C or Fortran */
10 #ifdef __cplusplus
11 namespace NPSpec {
12 extern "C" {
13 #endif
14 
16 const int NLAMBDA = 800;
17 
19 const int MAXLAYERS = 10;
20 
26  };
27 
29 enum ErrorCode { NoError = 0,
30  SizeWarning = -3,
39  };
40 
46  };
47 
54  };
55 
59 extern const double wavelengths[];
60 
61 #ifdef __cplusplus
62 } // extern
63 } // namespace NPSpec
64 #endif
65 
66 #endif /* CONSTANTS_H */