Simpatico  v1.10
Constants.h
1 #ifndef UTIL_CONSTANTS_H
2 #define UTIL_CONSTANTS_H
3 
4 /*
5 * Util Package - C++ Utilities for Scientific Computation
6 *
7 * Copyright 2010 - 2017, The Regents of the University of Minnesota
8 * Distributed under the terms of the GNU General Public License.
9 */
10 
11 #include <util/global.h>
12 #include <complex>
13 
14 namespace Util
15 {
16 
22  class Constants
23  {
24 
25  public:
26 
30  static void initStatic();
31 
35  static const double Pi;
36 
40  static const std::complex<double> Im;
41 
42  };
43 
44 }
45 #endif
File containing preprocessor macros for error handling.
Mathematical constants.
Definition: Constants.h:22
Utility classes for scientific computation.
Definition: accumulators.mod:1
static void initStatic()
Initialize static constants.
Definition: Constants.cpp:22
static const double Pi
Trigonometric constant Pi.
Definition: Constants.h:35
static const std::complex< double > Im
Square root of -1.
Definition: Constants.h:40