/home/pxiang/workspace_new/CalculateGreenFunction/src/Utility/types.h

Go to the documentation of this file.
00001 /*
00002  * types.h
00003  *
00004  *  Created on: Dec 17, 2013
00005  *      Author: pxiang
00006  */
00007 
00008 #ifndef TYPES_H_
00009 #define TYPES_H_
00010 
00011 #include <math.h>
00012 #include <cmath>
00013 #define _USE_MATH_DEFINES
00014 
00015 #include<iostream>
00016 
00017 #include <complex>
00018 
00019 //#include "mkl.h"
00020 
00021 #define delta(x, y) ((x)==(y))?1:0
00022 
00023 
00024 
00025 
00026 typedef std::complex<double> dcomplex;
00027 
00028 // use eigen c++ library
00029 #define EIGEN_USE_MKL_ALL
00030 #include <Eigen/Dense>
00031 
00039 typedef Eigen::MatrixXcd CDMatrix;
00040 typedef Eigen::MatrixXd DMatrix;
00041 typedef Eigen::MatrixXi IMatrix;
00042 typedef Eigen::VectorXcd CDVector;
00043 typedef Eigen::VectorXd DVector;
00044 typedef Eigen::ArrayXd DArray;
00045 typedef Eigen::ArrayXcd CDArray;
00046 
00047 
00048 
00049 #include <list>
00050 #include <vector>
00051 
00052 
00053 typedef std::vector<double> Vector;
00054 
00055 
00056 
00057 
00058 
00059 
00060 
00061 
00062 
00063 
00064 #endif /* TYPES_H_ */

Generated on Fri Oct 31 16:58:45 2014 for CalculateGreenFunction by  doxygen 1.4.7