OGS
KelvinVector.h File Reference

Detailed Description

Definition in file KelvinVector.h.

#include <Eigen/Dense>
#include "BaseLib/Error.h"
#include "KelvinVector-impl.h"
Include dependency graph for KelvinVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MathLib::KelvinVector::Invariants< KelvinVectorSize >
 

Namespaces

 MathLib
 
 MathLib::KelvinVector
 

Typedefs

template<int DisplacementDim>
using MathLib::KelvinVector::KelvinVectorType = Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), 1, Eigen::ColMajor >
 
template<int DisplacementDim>
using MathLib::KelvinVector::KelvinMatrixType = Eigen::Matrix< double, kelvin_vector_dimensions(DisplacementDim), kelvin_vector_dimensions(DisplacementDim), Eigen::RowMajor >
 

Functions

constexpr int MathLib::KelvinVector::kelvin_vector_dimensions (int const displacement_dim)
 Kelvin vector dimensions for given displacement dimension. More...
 
template<int KelvinVectorSize>
Eigen::Matrix< double, KelvinVectorSize, 1, Eigen::ColMajor, KelvinVectorSize, 1 > MathLib::KelvinVector::inverse (Eigen::Matrix< double, KelvinVectorSize, 1, Eigen::ColMajor, KelvinVectorSize, 1 > const &v)
 
template<int KelvinVectorSize>
Eigen::Matrix< double, 3, 3 > MathLib::KelvinVector::kelvinVectorToTensor (Eigen::Matrix< double, KelvinVectorSize, 1, Eigen::ColMajor, KelvinVectorSize, 1 > const &v)
 
template<int DisplacementDim>
KelvinVectorType< DisplacementDim > MathLib::KelvinVector::tensorToKelvin (Eigen::Matrix< double, 3, 3 > const &m)
 
template<int KelvinVectorSize>
Eigen::Matrix< double, KelvinVectorSize, 1, Eigen::ColMajor, KelvinVectorSize, 1 > MathLib::KelvinVector::kelvinVectorToSymmetricTensor (Eigen::Matrix< double, KelvinVectorSize, 1, Eigen::ColMajor, KelvinVectorSize, 1 > const &v)
 
template<typename Derived >
Eigen::Matrix< double, Eigen::MatrixBase< Derived >::RowsAtCompileTime, 1 > MathLib::KelvinVector::symmetricTensorToKelvinVector (Eigen::MatrixBase< Derived > const &v)
 
template<int DisplacementDim>
KelvinVectorType< DisplacementDim > MathLib::KelvinVector::symmetricTensorToKelvinVector (std::vector< double > const &values)
 
template<int DisplacementDim>
KelvinMatrixType< DisplacementDim > MathLib::KelvinVector::fourthOrderRotationMatrix (Eigen::Matrix< double, DisplacementDim, DisplacementDim, Eigen::ColMajor, DisplacementDim, DisplacementDim > const &transformation)