MDStressLab++
typedef.h File Reference
#include <iomanip>
#include <string>
#include <iostream>
#include "Eigen/Eigen/Dense"
#include <memory>
Include dependency graph for typedef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MY_ERROR(message)
 
#define MY_WARNING(message)
 
#define MY_BANNER(announcement)
 
#define MY_HEADING(heading)
 
#define MY_LINE(message)
 
#define MY_SUBLINE(message)
 

Typedefs

typedef std::unique_ptr< double[]> array_dptr
 
typedef std::unique_ptr< int > int_ptr
 
typedef Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > MatrixXd
 
typedef Eigen::Matrix< double, 4, 4, Eigen::RowMajor > Matrix4d
 
typedef Eigen::Matrix< double, DIM, DIM, Eigen::RowMajor > Matrix3d
 
typedef Eigen::Matrix< int, DIM, DIM, Eigen::RowMajor > Matrix3i
 
typedef Eigen::Matrix< int, 1, Eigen::Dynamic, Eigen::RowMajor > VectorXi
 
typedef Eigen::Matrix< double, 1, Eigen::Dynamic, Eigen::RowMajor > VectorXd
 
typedef Eigen::Matrix< double, 1, DIM, Eigen::RowMajor > Vector3d
 
typedef Eigen::Matrix< int, 1, DIM, Eigen::RowMajor > Vector3i
 
typedef Eigen::Array< double, Eigen::Dynamic, Eigen::Dynamic > ArrayXXd
 

Enumerations

enum  StressType { Cauchy, Piola }
 
enum  ConfigType { Reference, Current }
 

Variables

const int DIM = 3
 
const double epsilon = 1e-8
 

Macro Definition Documentation

#define MY_BANNER (   announcement)
Value:
{ \
std::cout << "--------------------------------------------------------------------------------" << "\n";\
std::cout << std::setw(40+strlen(announcement)/2)<< announcement << "\n";\
std::cout << "--------------------------------------------------------------------------------" << "\n";\
}

Definition at line 30 of file typedef.h.

#define MY_ERROR (   message)
Value:
{ \
std::cout << "* Error : \"" << message << "\" : " << __LINE__ << ":" \
<< __FILE__ << std::endl; \
exit(1); \
}

Definition at line 17 of file typedef.h.

#define MY_HEADING (   heading)
Value:
{ \
std::cout << "\n"; \
std::cout << heading << "\n"; \
std::cout << std::string(strlen(heading),'-')<< "\n"; \
}

Definition at line 36 of file typedef.h.

#define MY_LINE (   message)
Value:
{ \
std::cout << message << "\n"; \
}

Definition at line 42 of file typedef.h.

#define MY_SUBLINE (   message)
Value:
{ \
std::cout << " " << message << "\n"; \
}

Definition at line 46 of file typedef.h.

#define MY_WARNING (   message)
Value:
{ \
std::cout << "* Warning : \"" << message << "\" : " << __LINE__ << ":" \
<< __FILE__ << std::endl; \
}

Definition at line 24 of file typedef.h.

Typedef Documentation

typedef std::unique_ptr<double[]> array_dptr

Definition at line 52 of file typedef.h.

typedef Eigen::Array<double,Eigen::Dynamic,Eigen::Dynamic> ArrayXXd

Definition at line 62 of file typedef.h.

typedef std::unique_ptr<int> int_ptr

Definition at line 53 of file typedef.h.

typedef Eigen::Matrix<double,DIM,DIM,Eigen::RowMajor> Matrix3d

Definition at line 56 of file typedef.h.

typedef Eigen::Matrix<int,DIM,DIM,Eigen::RowMajor> Matrix3i

Definition at line 57 of file typedef.h.

typedef Eigen::Matrix<double,4,4,Eigen::RowMajor> Matrix4d

Definition at line 55 of file typedef.h.

typedef Eigen::Matrix<double,Eigen::Dynamic,Eigen::Dynamic,Eigen::RowMajor> MatrixXd

Definition at line 54 of file typedef.h.

typedef Eigen::Matrix<double,1,DIM,Eigen::RowMajor> Vector3d

Definition at line 60 of file typedef.h.

typedef Eigen::Matrix<int,1,DIM,Eigen::RowMajor> Vector3i

Definition at line 61 of file typedef.h.

typedef Eigen::Matrix<double,1,Eigen::Dynamic,Eigen::RowMajor> VectorXd

Definition at line 59 of file typedef.h.

typedef Eigen::Matrix<int,1,Eigen::Dynamic,Eigen::RowMajor> VectorXi

Definition at line 58 of file typedef.h.

Enumeration Type Documentation

enum ConfigType
Enumerator
Reference 
Current 

Definition at line 68 of file typedef.h.

enum StressType
Enumerator
Cauchy 
Piola 

Definition at line 63 of file typedef.h.

Variable Documentation

const int DIM = 3

Definition at line 51 of file typedef.h.

const double epsilon = 1e-8

Definition at line 73 of file typedef.h.