PSCF v1.1
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
14namespace Util
15{
16
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
Mathematical constants.
Definition: Constants.h:23
static const double Pi
Trigonometric constant Pi.
Definition: Constants.h:35
static void initStatic()
Initialize static constants.
Definition: Constants.cpp:22
static const std::complex< double > Im
Square root of -1.
Definition: Constants.h:40
File containing preprocessor macros for error handling.
Utility classes for scientific computation.
Definition: accumulators.mod:1